ZMIME
Comparison · 3 models · Updated Nov 30, 2026

Granite 4.2 8B vs MAI Code 2 Flash vs Restyler 1

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

  1. IBM

    Granite 4.2 8B

    Released Aug 25, 2026

    78/100
    • ECI—
    • Price$0.06 / $0.15
    • Context131K
  2. Microsoft

    MAI Code 2 Flash

    Released Nov 17, 2026Latest

    85/100
    • ECI—
    • Price$0.05 / $0.25
    • Context1.05M
  3. Meragpt

    Restyler 1

    Released Sep 2, 2026

    71/100
    • ECI—
    • Price$0.04 / $0.16
    • Context4K
  4. IBM

    Granite 4.2 8B

    Released Aug 25, 2026

    32/100
    • ECI—
    • Price$0.06 / $0.15
    • Context131K
  5. Microsoft

    MAI Code 2 Flash

    Released Nov 17, 2026Latest

    65/100
    • ECI—
    • Price$0.05 / $0.25
    • Context1.05M
  6. Meragpt

    Restyler 1

    Released Sep 2, 2026

    0/100
    • ECI—
    • Price$0.04 / $0.16
    • Context4K
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, Granite 4.2 8B 78/100, Restyler 1 71/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.There is not enough shared capability evidence to name an overall winner. The scores (MAI Code 2 Flash 65/100, Granite 4.2 8B 32/100, Restyler 1 0/100) compare the available specifications only. The score weighs context window 100%. 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 priceRestyler 1Restyler 1 $0.07 · Granite 4.2 8B $0.083 · MAI Code 2 Flash $0.10 per 1M tokens (3:1 blend)
  • Longest contextMAI Code 2 FlashMAI Code 2 Flash 1,050,000 · Granite 4.2 8B 131,072 · Restyler 1 4,096 tokens
  • Widest inputsMAI Code 2 FlashGranite 4.2 8B: Text · MAI Code 2 Flash: Text, Images · Restyler 1: Text
  • Self-hostingGranite 4.2 8BPublishes downloadable weights
How the score is built
MeasureWeightGranite 4.2 8BMAI Code 2 FlashRestyler 1
Price71%9793100
Context window29%32650
Specs & price only100%78/10085/10071/100

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

How the score is built
MeasureWeightGranite 4.2 8BMAI Code 2 FlashRestyler 1
Context window100%32650
Specs only100%32/10065/1000/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. Unavailable specifications are marked “Not published”. Publisher results include their evaluation settings and source.

Granite 4.2 8B vs MAI Code 2 Flash vs Restyler 1 specifications side by side
SpecificationGranite 4.2 8BIBMMAI Code 2 FlashMicrosoftRestyler 1Meragpt
TaskNot publishedCodingNot published
Published capabilitiesReasoning model for deliberate analysis, multi-step problem solving, and tool useSmaller mixture-of-experts coding model for quick edits, explanations and iteration.meraGPT model that rewrites machine-written prose so it reads as if a person wrote it, keeping its structure
Model sizeNot published12B active parametersNot published
AccessNot publishedGitHub Copilot and limited-access Microsoft Foundry previewNot published
Billing termsNot publishedPromotional GitHub Copilot token rates until May 17, 2027.Not published
SourcesNot publishedPublisher documentation · Additional documentation · Pricing documentationNot published
Capability
Capabilities Index (ECI)Not publishedNot publishedNot published
ECI rankNot publishedNot publishedNot published
ECI confidence intervalNot publishedNot publishedNot published
ECI evaluation dateNot publishedNot publishedNot published
Documented capabilitiesReasoning model for deliberate analysis, multi-step problem solving, and tool useSmaller mixture-of-experts coding model for quick edits, explanations and iteration.meraGPT model that rewrites machine-written prose so it reads as if a person wrote it, keeping its structure
Model parametersNot published12B active parametersNot published
Output modalitiesTextTextText
Price per million tokens
Input$0.06$0.05$0.04 (best)
Output$0.15 (best)$0.25$0.16
Cached inputNot published$0.005Not published
Blended (3:1)$0.083$0.10$0.07 (best)
Long-context rateSame rateSame rateSame rate
Price sourceMedian of 9 providersOfficial GitHub Copilot APIMedian of 1 providers
Limits
Context window131,072 tokens1,050,000 tokens (best)4,096 tokens
Max inputNot published922,000 tokensNot published
Max output117,964 tokens128,000 tokens (best)2,048 tokens
Inputs and features
TextYesYesYes
ImagesNoYesNo
PDFsNoNoNo
AudioNoNoNo
VideoNoNoNo
ReasoningYesYesNo
Tool callingYesYesNo
Structured outputNot publishedNot publishedNot published
File attachmentsNoYesNo
Temperature controlYesNoNo
Reasoning controlalwaysalwaysNot published
Availability
WeightsOpenProprietaryProprietary
API model IDNot publishedNot publishedNot published
API providers9 (best)Not published1
ReleasedAug 25, 2026Nov 17, 2026Sep 2, 2026
Knowledge cutoffNot publishedNot publishedNot published
Publisher documentationModel weightsPublisher documentation · Additional documentation · Pricing documentationNot published
Source metadata updatedAug 25, 2026Nov 17, 2026Sep 2, 2026
Data sourcesmodels.dev · Epoch AImodels.dev · Epoch AImodels.dev · Epoch AI
Catalog checkedNov 30, 2026Nov 30, 2026Nov 30, 2026
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.

  • Granite 4.2 8B$0.90
  • MAI Code 2 Flash$1.00
  • Restyler 1$0.72
04 — Questions

Which should you choose?

Which is better: Granite 4.2 8B, MAI Code 2 Flash or Restyler 1?

There is not enough shared capability evidence to name an overall winner. The scores (MAI Code 2 Flash 85/100, Granite 4.2 8B 78/100, Restyler 1 71/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.There is not enough shared capability evidence to name an overall winner. The scores (MAI Code 2 Flash 65/100, Granite 4.2 8B 32/100, Restyler 1 0/100) compare the available specifications only. The score weighs context window 100%. None of the shared benchmarks cover every model here yet, so capability is left out of this verdict.

Which is cheaper, Granite 4.2 8B, MAI Code 2 Flash or Restyler 1?

Restyler 1 is cheaper at $0.04 input / $0.16 output per million tokens (median across 1 API provider). Granite 4.2 8B costs $0.06 input / $0.15 output per million tokens (median across 9 API providers); MAI Code 2 Flash costs $0.05 input / $0.25 output per million tokens (official GitHub Copilot API price). At a typical mix of three input tokens to one output token, that is $0.07 per million tokens for Restyler 1 versus $0.083 for Granite 4.2 8B (1.2× as much) and $0.10 for MAI Code 2 Flash (1.4× as much).

Which scores higher on benchmarks?

There is no independent benchmark that covers all three models yet. Granite 4.2 8B has not been scored yet, MAI Code 2 Flash has not been scored yet and Restyler 1 has not been scored yet.

Which is better for coding?

There are no published SWE-bench Verified results for Granite 4.2 8B, MAI Code 2 Flash and Restyler 1 yet, so there is no like-for-like coding score. Test both on a sample of your own tasks. Note that Restyler 1 has no confirmed tool-calling support in this comparison.

Which has the bigger context window?

MAI Code 2 Flash has the largest context window at 1,050,000 tokens, against 131,072 for Granite 4.2 8B and 4,096 for Restyler 1. Maximum output per response: Granite 4.2 8B up to 117,964, MAI Code 2 Flash up to 128,000, Restyler 1 up to 2,048 tokens.

Which can read images, PDFs, audio or video?

Granite 4.2 8B accepts text; MAI Code 2 Flash accepts text and images; Restyler 1 accepts text. MAI Code 2 Flash handles the widest range of inputs.

Are any of these open source?

Granite 4.2 8B publishes its weights and can be self-hosted; MAI Code 2 Flash and Restyler 1 is proprietary.

Which is newer?

MAI Code 2 Flash is the newest, released Nov 17, 2026. Restyler 1 came out Sep 2, 2026; Granite 4.2 8B came out Aug 25, 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 30, 2026.This rating uses context window (100%, 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 30, 2026.