Curated dataset78 models

MAI Code 2 vs Sarvam 105B

Microsoft vs Sarvam AIDataset revised

Answer

The two are billed in different units (MAI Code 2: per 1M tokens, Sarvam 105B: per 1M tokens), so no per-token price comparison is offered. MAI Code 2 allows 128,000 output tokens in one response, 31x larger than the ceiling of Sarvam 105B at 4,096 tokens. MAI Code 2 accepts Vision input; Sarvam 105B does not. Only Sarvam 105B publishes weights, so only that one can be self-hosted or audited.

Where they differ

6 axes with a real gap. The size of each gap is printed under the axis, because a five cent difference and a three times larger ceiling are not the same kind of fact.

AxisMAI Code 2Sarvam 105B
Context window8.2x more on MAI Code 21,050,000 tokens128,000 tokens
Max output31x larger output ceiling on MAI Code 2128,000 tokens4,096 tokens
Billing unitdifferent units, not comparableper 1M tokensper 1M tokens
Weightsself-hostable: Sarvam 105B onlyClosedOpen
InputsVision input on MAI Code 2Text, Vision, CodeText, Code
ReleasedMAI Code 2 is newer by 37 weeks2026-11-172026-03-06

Specification

FieldMAI Code 2Sarvam 105B
Context window1,050,000 tokens128,000 tokens
Max output128,000 tokens4,096 tokens
Billing unitper 1M tokensper 1M tokens
WeightsClosed (API only)Open
LicenceMicrosoft Foundry / Enterprise AI Services Code of ConductApache 2.0
Released2026-11-172026-03-06
InputsText, Vision, CodeText, Code

Benchmarks both laboratories published

Shown side by side only when both records name the same test and the same version.

No benchmark is reported by both laboratories at the same test and version, so no row is shown.

Where MAI Code 2 leads

  • Larger context: 1,050,000 tokens vs 128,000 tokens on Sarvam 105B.
  • Longer single response: 128,000 output tokens vs 4,096 tokens on Sarvam 105B.

Where Sarvam 105B leads

  • Open weights under Apache 2.0: self-hostable and auditable, unlike MAI Code 2.

Common questions

Is MAI Code 2 cheaper than Sarvam 105B?

The two models are not billed in the same unit (MAI Code 2: per 1M tokens; Sarvam 105B: per 1M tokens), so a per-token comparison would be misleading.

Which has the larger context window, MAI Code 2 or Sarvam 105B?

MAI Code 2 accepts 1,050,000 tokens; Sarvam 105B accepts 128,000 tokens.

Is MAI Code 2 or Sarvam 105B open weights?

Sarvam 105B publishes open weights under Apache 2.0. MAI Code 2 is closed (Microsoft Foundry / Enterprise AI Services Code of Conduct).

When were MAI Code 2 and Sarvam 105B released?

MAI Code 2 was released on 2026-11-17 and Sarvam 105B on 2026-03-06. MAI Code 2 is the more recent release.

Do MAI Code 2 and Sarvam 105B report the same benchmarks?

No. The two records do not publish a score for the same benchmark. Comparing different evaluations would produce a ranking the evidence cannot support.

Related comparisons

Every figure above comes from the primary source on each model page (3 for MAI Code 2, 3 for Sarvam 105B). Prices are official list prices per 1M tokens and change without notice. Methodology