Enter opens the highlighted result. Esc closes.

GPT-5.1-Codex vs Mistral Small 3.1 24B

Mistral Small 3.1 24B costs 18.0x less per output token than GPT-5.1-Codex ($0.555 vs $10.00 per million). Updated October 21, 2026; no benchmark has tested both models yet.

GPT-5.1-CodexOpenAI
Coding
15.3
Overall
No data
Output $/M
$10.00
Mistral Small 3.1 24BMistral AI
Coding
No data
Overall
No data
Output $/M
$0.555
vs $10.00 vs $0.555 per 1M output tokens. Mistral Small 3.1 24B is 18.0x cheaper.

GPT-5.1-Codex or Mistral Small 3.1 24B: which to pick

Only GPT-5.1-Codex has a coding score, 15.3 on the Vibe Coding Index; Mistral Small 3.1 24B has none, so the two cannot be ranked on coding.

Pick Mistral Small 3.1 24B for output tokens 18.0x cheaper ($0.555 vs $10.00 per million).

No benchmark has tested both yet. GPT-5.1-Codex has results on SWE-bench Verified, LMArena WebDev and LiveCodeBench (Vals AI); Mistral Small 3.1 24B on LMArena Text: coding, LMArena Text: software and IT and LMArena Text: hard prompts. Compare them on price and context instead.

Which one for your work

Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.

At a glance

Coding index
GPT-5.1-Codex 15.3 from 2 benchmarks, Mistral Small 3.1 24B not benchmarked.
Widest category
None yet: no category has been tested on both models.
Widest single gap
None yet: no benchmark has tested both models.
Output price
GPT-5.1-Codex $10.00 against Mistral Small 3.1 24B $0.555 per million output tokens, 18.0x apart.
Context window
GPT-5.1-Codex takes 400K tokens, Mistral Small 3.1 24B 128K.

Benchmark by benchmark

Every board either model has a result on, a category to a fold; bars are each result on a 0 to 100 scale. Only one model is measured on each, so no row names a leader.

CodingDirectional onlySix of these boards feed the Vibe Coding Index11 boards measured
Coding benchmarks for GPT-5.1-Codex and Mistral Small 3.1 24B
BenchmarkGPT-5.1-CodexMistral Small 3.1 24BLeader
SWE-bench Verified66.0%Not measuredOnly GPT-5.1-Codex measured
LMArena WebDev1337Not measuredOnly GPT-5.1-Codex measured
LiveCodeBench (Vals AI)85.5%Not measuredOnly GPT-5.1-Codex measured
Vibe Code Bench (Vals AI)13.1%Not measuredOnly GPT-5.1-Codex measured
LiveCodeBench (Artificial Analysis run)84.9%Not measuredOnly GPT-5.1-Codex measured
Terminal-Bench Hard (Artificial Analysis run)34.8%Not measuredOnly GPT-5.1-Codex measured
Terminal-Bench57.8%Not measuredOnly GPT-5.1-Codex measured
ALE-Bench1244.9Not measuredOnly GPT-5.1-Codex measured
LMArena Text: codingNot measured1309Only Mistral Small 3.1 24B measured
LMArena Text: software and ITNot measured1301Only Mistral Small 3.1 24B measured
LMArena WebDev: HTML1346Not measuredOnly GPT-5.1-Codex measured
Neither model has a result on the other 28 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index1 board measured
Intelligence benchmarks for GPT-5.1-Codex and Mistral Small 3.1 24B
BenchmarkGPT-5.1-CodexMistral Small 3.1 24BLeader
AA Intelligence Index23.7Not measuredOnly GPT-5.1-Codex measured
Neither model has a result on the other 1 board here
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index4 boards measured
Agentic work benchmarks for GPT-5.1-Codex and Mistral Small 3.1 24B
BenchmarkGPT-5.1-CodexMistral Small 3.1 24BLeader
Design Arena: agents building web apps1018Not measuredOnly GPT-5.1-Codex measured
Design Arena: agents building full-stack apps1086Not measuredOnly GPT-5.1-Codex measured
Design Arena: agents building mobile apps1191Not measuredOnly GPT-5.1-Codex measured
τ²-Bench Telecom83.0%Not measuredOnly GPT-5.1-Codex measured
Neither model has a result on the other 37 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index7 boards measured
Reasoning benchmarks for GPT-5.1-Codex and Mistral Small 3.1 24B
BenchmarkGPT-5.1-CodexMistral Small 3.1 24BLeader
GPQA Diamond (Artificial Analysis run)86.0%Not measuredOnly GPT-5.1-Codex measured
Humanity's Last Exam (Artificial Analysis run)25.7%Not measuredOnly GPT-5.1-Codex measured
LMArena Text: hard promptsNot measured1278Only Mistral Small 3.1 24B measured
LMArena Text: expertNot measured1257Only Mistral Small 3.1 24B measured
LMArena Text: hard prompts in EnglishNot measured1290Only Mistral Small 3.1 24B measured
LMArena Vision: diagramsNot measured1119Only Mistral Small 3.1 24B measured
LMArena Vision: homeworkNot measured1158Only Mistral Small 3.1 24B measured
Neither model has a result on the other 15 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index4 boards measured
Math benchmarks for GPT-5.1-Codex and Mistral Small 3.1 24B
BenchmarkGPT-5.1-CodexMistral Small 3.1 24BLeader
AA Math Index95.7Not measuredOnly GPT-5.1-Codex measured
AIME 2025 (Artificial Analysis run)95.7%Not measuredOnly GPT-5.1-Codex measured
LMArena Text: mathNot measured1261Only Mistral Small 3.1 24B measured
LMArena Text: mathematical workNot measured1271Only Mistral Small 3.1 24B measured
Neither model has a result on the other 9 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index5 boards measured
Knowledge benchmarks for GPT-5.1-Codex and Mistral Small 3.1 24B
BenchmarkGPT-5.1-CodexMistral Small 3.1 24BLeader
MMLU Pro (Artificial Analysis run)86.0%Not measuredOnly GPT-5.1-Codex measured
LMArena Text: scienceNot measured1265Only Mistral Small 3.1 24B measured
LMArena Text: medicine and healthcareNot measured1267Only Mistral Small 3.1 24B measured
LMArena Text: legal and governmentNot measured1271Only Mistral Small 3.1 24B measured
LMArena Text: business and financeNot measured1257Only Mistral Small 3.1 24B measured
Neither model has a result on the other 13 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index5 boards measured
Web design benchmarks for GPT-5.1-Codex and Mistral Small 3.1 24B
BenchmarkGPT-5.1-CodexMistral Small 3.1 24BLeader
Design Arena: websites1162Not measuredOnly GPT-5.1-Codex measured
Design Arena: UI components1237Not measuredOnly GPT-5.1-Codex measured
Design Arena: game dev1138Not measuredOnly GPT-5.1-Codex measured
Design Arena: data viz1213Not measuredOnly GPT-5.1-Codex measured
Design Arena: all code categories1152Not measuredOnly GPT-5.1-Codex measured
Neither model has a result on the other 4 boards here
GeneralDirectional onlyPublic boards, shown as published, kept out of the index27 boards measured
General benchmarks for GPT-5.1-Codex and Mistral Small 3.1 24B
BenchmarkGPT-5.1-CodexMistral Small 3.1 24BLeader
IFBench70.0%Not measuredOnly GPT-5.1-Codex measured
Long context reasoning (AA-LCR)69.3%Not measuredOnly GPT-5.1-Codex measured
LMArena TextNot measured1277Only Mistral Small 3.1 24B measured
LMArena Text: instruction followingNot measured1263Only Mistral Small 3.1 24B measured
LMArena Text: creative writingNot measured1252Only Mistral Small 3.1 24B measured
LMArena VisionNot measured1136Only Mistral Small 3.1 24B measured
LMArena Text: EnglishNot measured1295Only Mistral Small 3.1 24B measured
LMArena Text: non-EnglishNot measured1255Only Mistral Small 3.1 24B measured
LMArena Text: ChineseNot measured1253Only Mistral Small 3.1 24B measured
LMArena Text: GermanNot measured1266Only Mistral Small 3.1 24B measured
LMArena Text: JapaneseNot measured1208Only Mistral Small 3.1 24B measured
LMArena Text: KoreanNot measured1207Only Mistral Small 3.1 24B measured
LMArena Text: FrenchNot measured1273Only Mistral Small 3.1 24B measured
LMArena Text: SpanishNot measured1284Only Mistral Small 3.1 24B measured
LMArena Text: RussianNot measured1263Only Mistral Small 3.1 24B measured
LMArena Text: PolishNot measured1242Only Mistral Small 3.1 24B measured
LMArena Text: multi-turnNot measured1270Only Mistral Small 3.1 24B measured
LMArena Text: longer queriesNot measured1299Only Mistral Small 3.1 24B measured
LMArena Text: writing and languageNot measured1268Only Mistral Small 3.1 24B measured
LMArena Text: entertainment and mediaNot measured1250Only Mistral Small 3.1 24B measured
LMArena Vision: EnglishNot measured1157Only Mistral Small 3.1 24B measured
LMArena Vision: ChineseNot measured1155Only Mistral Small 3.1 24B measured
LMArena Vision: reading textNot measured1132Only Mistral Small 3.1 24B measured
LMArena Vision: humorNot measured1142Only Mistral Small 3.1 24B measured
LMArena Vision: captioningNot measured1153Only Mistral Small 3.1 24B measured
LMArena Vision: recognizing thingsNot measured1155Only Mistral Small 3.1 24B measured
LMArena Vision: creative writingNot measured1123Only Mistral Small 3.1 24B measured
Neither model has a result on the other 19 boards here

What each workload costs

Three fixed token mixes at each model's listed price, so per-token rates become a bill.

Chat turn

1K input + 500 output tokens

GPT-5.1-Codex$0.0063Fits in one request
Mistral Small 3.1 24B$0.0006Fits in one request

Mistral Small 3.1 24B costs less

Repository review

50K input + 3K output tokens

GPT-5.1-Codex$0.092Fits in one request
Mistral Small 3.1 24B$0.019Fits in one request

Mistral Small 3.1 24B costs less

Agent loop

200K input + 10K output tokens

GPT-5.1-Codex$0.350Fits in one request
Mistral Small 3.1 24B$0.076Exceeds the context window

Mistral Small 3.1 24B costs less

Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.

Specification differences

The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.

Specifications of GPT-5.1-Codex and Mistral Small 3.1 24B
SpecificationOpenAI GPT-5.1-CodexMistral Small 3.1 24B
MakerOpenAIMistral AI
WeightsNo public weights listedOpen weights
ReleasedNovember 13, 2025March 17, 2025
Context window400K128K
Input $/Mtok$1.25$0.351
Output $/Mtok$10.00$0.555
Coding index15.3Not benchmarked
Independent measurements behind it20
Cost per solved task$0.892Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-5.1-Codex better than Mistral Small 3.1 24B for coding?

Only GPT-5.1-Codex has a coding score, 15.3 on the Vibe Coding Index; Mistral Small 3.1 24B has none, so the two cannot be ranked on coding. Pick Mistral Small 3.1 24B for output tokens 18.0x cheaper ($0.555 vs $10.00 per million).

Which is cheaper, GPT-5.1-Codex or Mistral Small 3.1 24B?

GPT-5.1-Codex costs $1.25 per million input tokens and $10.00 per million output tokens; Mistral Small 3.1 24B costs $0.351 and $0.555. Cost per solved task is known for GPT-5.1-Codex only.

Which has the bigger context window, GPT-5.1-Codex or Mistral Small 3.1 24B?

GPT-5.1-Codex, with 400K tokens against 128K.

Has any benchmark tested both GPT-5.1-Codex and Mistral Small 3.1 24B?

No benchmark has tested both yet. GPT-5.1-Codex has results on SWE-bench Verified, LMArena WebDev and LiveCodeBench (Vals AI); Mistral Small 3.1 24B on LMArena Text: coding, LMArena Text: software and IT and LMArena Text: hard prompts. Compare them on price and context instead. Data as of October 21, 2026.

Compare next