gpt-oss-20b is 7.5× cheaper per million tokens (blended). Codestral 2508 has the larger context window (256,000 vs 131,072 tokens, 2.0×). gpt-oss-20b is open-weights; the other is not.

Codestral 2508 vs gpt-oss-20b

Live catalog fields. Best-in-row is highlighted.

Codestral 2508

Mistral · mistralai__codestral-2508

gpt-oss-20bopen

OpenAI · openai__gpt-oss-20b

Identity

Fieldmistralai__codestral-2508openai__gpt-oss-20b
ProviderMistralOpenAI
Slugmistralai__codestral-2508openai__gpt-oss-20b
Statuslivelive
Open weightsNoYes
License——
HuggingFace—openai/gpt-oss-20b

Quality

Fieldmistralai__codestral-2508openai__gpt-oss-20b
Quality index (0–100)——

Cost

Fieldmistralai__codestral-2508openai__gpt-oss-20b
Input $ / 1M tokens$0.30$0.03
Cached input $ / 1M$0.03$0.03
Output $ / 1M tokens$0.90$0.13

Context

Fieldmistralai__codestral-2508openai__gpt-oss-20b
Max context tokens256,000131,072
Max output tokens204,800117,964

Modalities

Fieldmistralai__codestral-2508openai__gpt-oss-20b
Inputtext, filetext
Outputtexttext