ZMIME
Comparison · 3 models · Updated Nov 19, 2026

MAI Code 2 Flash vs Laguna S 2.1 vs Hy4 flash

No independent capability benchmark covers every model here yet. The score uses price and context window.

Price in rating: Included · Exclude price

  1. Microsoft

    MAI Code 2 Flash

    Released Nov 17, 2026New

    85/100
    • ECI—
    • Price$0.05 / $0.25
    • Context1.05M
  2. Poolside

    Laguna S 2.1

    Released Jul 21, 2026

    83/100
    • ECI—
    • Price$0.09 / $0.18
    • Context1.05M
  3. Tencent

    Hy4 flash

    Released Nov 16, 2026New

    82/100
    • ECI—
    • Price$0.07 / $0.281
    • Context1.05M
01 — Verdict

Capability evidence is incomplete

There is not enough shared capability evidence to name an overall winner. The scores (MAI Code 2 Flash 85/100, Laguna S 2.1 83/100, Hy4 flash 82/100) compare the available specifications and price. The score weighs price 71%, context window 29%. None of the shared benchmarks cover every model here yet, so capability is left out of this verdict.

  • CapabilityNot enough dataNo independent benchmark covers every model here yet
  • Lowest priceMAI Code 2 FlashMAI Code 2 Flash $0.10 · Laguna S 2.1 $0.113 · Hy4 flash $0.123 per 1M tokens (3:1 blend)
  • Longest contextAbout the sameMAI Code 2 Flash 1,050,000 · Laguna S 2.1 1,048,576 · Hy4 flash 1,048,576 tokens
  • Widest inputsMAI Code 2 Flash and Hy4 flashMAI Code 2 Flash: Text, Images · Laguna S 2.1: Text · Hy4 flash: Text, Images
  • Self-hostingLaguna S 2.1Publishes downloadable weights
How the score is built
MeasureWeightMAI Code 2 FlashLaguna S 2.1Hy4 flash
Price71%939189
Context window29%656565
Specs & price only100%85/10083/10082/100

Left out because at least one model lacks the data: capability and inputs & features. The remaining weights were rescaled.

02 — Side by side

Every spec in one table

Highlighted cells lead their row. Dashes mean the data is not published.

MAI Code 2 Flash vs Laguna S 2.1 vs Hy4 flash specifications side by side
SpecificationMAI Code 2 FlashMicrosoftLaguna S 2.1PoolsideHy4 flashTencent
TaskCoding——
Published capabilitiesSmaller mixture-of-experts coding model for quick edits, explanations and iteration.Agentic coding model from Poolside in the XS size class for local deploymentTencent's lower-cost Hy4 tier for everyday agent and productivity tasks, with image understanding and a 1M-token context window.
Model size12B active parameters——
AccessGitHub Copilot and limited-access Microsoft Foundry preview——
Billing termsPromotional GitHub Copilot token rates until May 17, 2027.——
SourcesPublisher documentation · Additional documentation · Pricing documentation——
Capability
Capabilities Index (ECI)———
ECI rank———
Price per million tokens
Input$0.05 (best)$0.09$0.07
Output$0.25$0.18 (best)$0.281
Cached input$0.005——
Blended (3:1)$0.10 (best)$0.113$0.123
Long-context rateSame rateSame rateSame rate
Price sourceOfficial GitHub Copilot APIMedian of 1 providersMedian of 10 providers
Limits
Context window1,050,000 tokens (best)1,048,576 tokens1,048,576 tokens
Max output128,000 tokens (best)32,768 tokens65,536 tokens
Inputs and features
TextYesYesYes
ImagesYesNoYes
PDFsNoNoNo
AudioNoNoNo
VideoNoNoNo
ReasoningYesYesYes
Tool callingYesYesYes
Structured output—NoNo
Availability
WeightsProprietaryOpenProprietary
API model ID—poolside/laguna-s-2.1—
API providers—411 (best)
ReleasedNov 17, 2026Jul 21, 2026Nov 16, 2026
Knowledge cutoff———
03 — Cost

What would a month cost?

Enter your expected volume in millions of tokens. List prices only; caching and batch discounts would lower these.

  • MAI Code 2 Flash$1.00
  • Laguna S 2.1$1.26
  • Hy4 flash$1.26
04 — Questions

Which should you choose?

Which is better: MAI Code 2 Flash, Laguna S 2.1 or Hy4 flash?

There is not enough shared capability evidence to name an overall winner. The scores (MAI Code 2 Flash 85/100, Laguna S 2.1 83/100, Hy4 flash 82/100) compare the available specifications and price. The score weighs price 71%, context window 29%. None of the shared benchmarks cover every model here yet, so capability is left out of this verdict.

Which is cheaper, MAI Code 2 Flash, Laguna S 2.1 or Hy4 flash?

MAI Code 2 Flash is cheaper at $0.05 input / $0.25 output per million tokens (official GitHub Copilot API price). Laguna S 2.1 costs $0.09 input / $0.18 output per million tokens (median across 1 API provider; free on Poolside); Hy4 flash costs $0.07 input / $0.281 output per million tokens (median across 10 API providers). At a typical mix of three input tokens to one output token, that is $0.10 per million tokens for MAI Code 2 Flash versus $0.113 for Laguna S 2.1 (1.1× as much) and $0.123 for Hy4 flash (1.2× as much).

Which scores higher on benchmarks?

There is no independent benchmark that covers all three models yet. MAI Code 2 Flash has not been scored yet, Laguna S 2.1 has not been scored yet and Hy4 flash has not been scored yet.

Which is better for coding?

There are no published SWE-bench Verified results for MAI Code 2 Flash, Laguna S 2.1 and Hy4 flash yet, so there is no like-for-like coding score. Test both on a sample of your own tasks. All three support tool calling for agent workflows.

Which has the bigger context window?

Their context windows are effectively the same size: MAI Code 2 Flash 1,050,000, Laguna S 2.1 1,048,576 and Hy4 flash 1,048,576 tokens. Maximum output per response: MAI Code 2 Flash up to 128,000, Laguna S 2.1 up to 32,768, Hy4 flash up to 65,536 tokens.

Which can read images, PDFs, audio or video?

MAI Code 2 Flash accepts text and images; Laguna S 2.1 accepts text; Hy4 flash accepts text and images. MAI Code 2 Flash handles the widest range of inputs.

Are any of these open source?

Laguna S 2.1 publishes its weights and can be self-hosted; MAI Code 2 Flash and Hy4 flash is proprietary.

Which is newer?

MAI Code 2 Flash is the newest, released Nov 17, 2026. Hy4 flash came out Nov 16, 2026; Laguna S 2.1 came out Jul 21, 2026.

How do you decide the winner?

This rating uses price (71%, blended price per million tokens (3 input : 1 output), log scale); context window (29%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Nov 19, 2026.