The AI arena is free today

Open Superagent

Claude Sonnet 4 vs MAI-Code-1.1-Flash

Claude Sonnet 4 and MAI-Code-1.1-Flash are closely matched at 24.3 and 28.3 on the LLM Stats Score. MAI-Code-1.1-Flash is 13.3x cheaper per token.

Anthropic · Microsoft · Updated for 2026

Which is better?

Claude Sonnet 4 and MAI-Code-1.1-Flash are closely matched on the overall LLM Stats Score at 24.3 and 28.3.

In the 1 individual benchmarks reported for both models, Claude Sonnet 4 wins 1; this is a narrower head-to-head signal than the composite indexes.

On price, MAI-Code-1.1-Flash is roughly 13.3x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

MAI-Code-1.1-Flash also accepts a larger context window (256,000 input tokens), making it the stronger choice for long documents and large codebases.

Based on current LLM Stats indexes, shared benchmarks, pricing, and model metadata for 2026.

Choose Claude Sonnet 4

  • you value its reported benchmark strengths — it wins 1 of 1 exact shared results

Choose MAI-Code-1.1-Flash

  • cost matters — it's about 13.3x cheaper per token
  • you process long inputs — it offers a 256,000 token context window
  • you want the most recent training data — it shipped Aug 2026

At a glance

The differences that matter most.

Core performance indexes
24.3
#157
28.3
#126
24.4
#149
28.0
#122
17.0
#116
19.1
#102
5.9
#135
10.4
#107
Cost, coverage & limits
Benchmark wins
1 of 1
0 of 1
Input price
$3.00 / M
$0.20 / M
Output price
$15.00 / M
$1.20 / M
Context window
200,000
256,000

Individual benchmarks

8 reported for Claude Sonnet 4 · 2 for MAI-Code-1.1-Flash

1 shared

Claude Sonnet 4 outperforms in 1 benchmarks (SWE-Bench Verified), while MAI-Code-1.1-Flash is better at 0 benchmarks.

Claude Sonnet 4 significantly outperforms across most benchmarks.

Fri Sep 04 2026 • llm-stats.com

Human preference

Blind head-to-head votes and playground preference scores

Pricing Analysis

Price comparison per million tokens

MAI-Code-1.1-Flash costs less

For input processing, Claude Sonnet 4 ($3.00/1M tokens) is 15.0x more expensive than MAI-Code-1.1-Flash ($0.20/1M tokens).

For output processing, Claude Sonnet 4 ($15.00/1M tokens) is 12.5x more expensive than MAI-Code-1.1-Flash ($1.20/1M tokens).

In conclusion, Claude Sonnet 4 is more expensive than MAI-Code-1.1-Flash.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Fri Sep 04 2026 • llm-stats.com
Anthropic
Claude Sonnet 4
Input tokens$3.00
Output tokens$15.00
Best providerAnthropic
Microsoft
MAI-Code-1.1-Flash
Input tokens$0.20
Output tokens$1.20
Best providerUnknown Organization
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

MAI-Code-1.1-Flash accepts 256,000 input tokens compared to Claude Sonnet 4's 200,000 tokens. Only Claude Sonnet 4 specifies output context (64,000 tokens).

Anthropic
Claude Sonnet 4
Input200,000 tokens
Output64,000 tokens
Microsoft
MAI-Code-1.1-Flash
Input256,000 tokens
Output- tokens
Fri Sep 04 2026 • llm-stats.com

Input capabilities

Documented input modalities across available providers

Both Claude Sonnet 4 and MAI-Code-1.1-Flash support multimodal inputs.

They are both capable of processing various types of data, offering versatility in application.

Claude Sonnet 4

Text
Images
Audio
Video

MAI-Code-1.1-Flash

Text
Images
Audio
Video

License

Usage and distribution terms

Both models are licensed under proprietary licenses.

Both models have usage restrictions defined by their respective organizations.

Claude Sonnet 4

Proprietary

Closed source

MAI-Code-1.1-Flash

Proprietary

Closed source

Release Timeline

When each model was launched

Claude Sonnet 4 was released on 2025-05-22, while MAI-Code-1.1-Flash was released on 2026-08-11.

MAI-Code-1.1-Flash is 15 months newer than Claude Sonnet 4.

Claude Sonnet 4

May 22, 2025

1.3 years ago

MAI-Code-1.1-Flash

Aug 11, 2026

3 weeks ago

1.2yr newer

Knowledge Cutoff

When training data ends

Neither model specifies a knowledge cutoff date.

Unable to compare the recency of their training data.

No cutoff dates available

Provider Availability

Claude Sonnet 4 is available from Anthropic, Bedrock, Google. MAI-Code-1.1-Flash is available from GitHub Copilot.

Claude Sonnet 4

anthropic logo
Anthropic
Input Price:Input: $3.00/1MOutput Price:Output: $15.00/1M
bedrock logo
AWS Bedrock
Input Price:Input: $3.00/1MOutput Price:Output: $15.00/1M
google logo
Google
Input Price:Input: $3.00/1MOutput Price:Output: $15.00/1M

MAI-Code-1.1-Flash

github-copilot logo
Unknown Organization
Input Price:Input: $0.20/1MOutput Price:Output: $1.20/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Judge for yourself.

Run your own prompts against Claude Sonnet 4 and MAI-Code-1.1-Flash side-by-side, then vote on the output you prefer.

Claude Sonnet 4
✓ Preferred
MAI-Code-1.1-Flash
Open in Playground

FAQ

Common questions about Claude Sonnet 4 vs MAI-Code-1.1-Flash.

Which is better, Claude Sonnet 4 or MAI-Code-1.1-Flash?

Claude Sonnet 4 and MAI-Code-1.1-Flash are closely matched on the LLM Stats Score at 24.3 and 28.3. Claude Sonnet 4 is made by Anthropic and MAI-Code-1.1-Flash is made by Microsoft. The best choice depends on your use case — compare their capability indexes, individual benchmarks, pricing, and limits above.

How does Claude Sonnet 4 compare to MAI-Code-1.1-Flash in benchmarks?

Claude Sonnet 4 scores MMMLU: 86.5%, TAU-bench Retail: 80.5%, GPQA: 75.4%, MMMU: 74.4%, SWE-Bench Verified: 72.7%. MAI-Code-1.1-Flash scores SWE-Bench Verified: 72.6%, Terminal-Bench 2.1: 62.9%.

Is Claude Sonnet 4 cheaper than MAI-Code-1.1-Flash?

MAI-Code-1.1-Flash is 15.0x cheaper for input tokens. Claude Sonnet 4 costs $3.00/M input and $15.00/M output via anthropic. MAI-Code-1.1-Flash costs $0.20/M input and $1.20/M output via github-copilot.

What are the context window sizes for Claude Sonnet 4 and MAI-Code-1.1-Flash?

Claude Sonnet 4 supports 200K tokens and MAI-Code-1.1-Flash supports 256K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between Claude Sonnet 4 and MAI-Code-1.1-Flash?

Key differences include LLM Stats Score (24.3 vs 28.3), context window (200K vs 256K), input pricing ($3.00 vs $0.20/M). See the full comparison above for benchmark-by-benchmark results.

Who makes Claude Sonnet 4 and MAI-Code-1.1-Flash?

Claude Sonnet 4 is developed by Anthropic and MAI-Code-1.1-Flash is developed by Microsoft.