Model Comparison

Codestral-22B vs GPT OSS 20B

Comparing Codestral-22B and GPT OSS 20B across benchmarks, pricing, and capabilities.

Performance Benchmarks

Comparative analysis across standard metrics

No common benchmarks found

Codestral-22B and GPT OSS 20B don't have any common benchmark datasets to compare. They may have been evaluated on different testing suites.

Arena Performance

Human preference votes

Model Size

Parameter count comparison

1.3B diff

Codestral-22B has 1.3B more parameters than GPT OSS 20B, making it 6.2% larger.

Mistral AI
Codestral-22B
22.2Bparameters
OpenAI
GPT OSS 20B
20.9Bparameters
22.2B
Codestral-22B
20.9B
GPT OSS 20B

Context Window

Maximum input and output token capacity

Only GPT OSS 20B specifies input context (131,072 tokens). Only GPT OSS 20B specifies output context (32,768 tokens).

Mistral AI
Codestral-22B
Input- tokens
Output- tokens
OpenAI
GPT OSS 20B
Input131,072 tokens
Output32,768 tokens
Sat May 30 2026 • llm-stats.com

License

Usage and distribution terms

Codestral-22B is licensed under MNPL-0.1, while GPT OSS 20B uses Apache 2.0.

License differences may affect how you can use these models in commercial or open-source projects.

Codestral-22B

MNPL-0.1

Open weights

GPT OSS 20B

Apache 2.0

Open weights

Release Timeline

When each model was launched

Codestral-22B was released on 2024-05-29, while GPT OSS 20B was released on 2025-08-05.

GPT OSS 20B is 14 months newer than Codestral-22B.

Codestral-22B

May 29, 2024

2.0 years ago

GPT OSS 20B

Aug 5, 2025

9 months 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

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

No standout differentiators in the data we have for this pair.

Larger context window (131,072 tokens)

Detailed Comparison

AI Model Comparison Table
Feature
Mistral AI
Codestral-22B
OpenAI
GPT OSS 20B

FAQ

Common questions about Codestral-22B vs GPT OSS 20B.

Which is better, Codestral-22B or GPT OSS 20B?

Codestral-22B (Mistral AI) and GPT OSS 20B (OpenAI) each have strengths in different areas. Compare their benchmark scores, pricing, context windows, and capabilities above to determine which fits your needs.

How does Codestral-22B compare to GPT OSS 20B in benchmarks?

Codestral-22B scores HumanEvalFIM-Average: 91.6%, HumanEval: 81.1%, MBPP: 78.2%, Spider: 63.5%, HumanEval-Average: 61.5%. GPT OSS 20B scores MMLU: 85.3%, CodeForces: 74.3%, GPQA: 71.5%, TAU-bench Retail: 54.8%, HealthBench: 42.5%.

What are the context window sizes for Codestral-22B and GPT OSS 20B?

Codestral-22B supports an unknown number of tokens and GPT OSS 20B supports 131K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between Codestral-22B and GPT OSS 20B?

Key differences include licensing (MNPL-0.1 vs Apache 2.0). See the full comparison above for benchmark-by-benchmark results.

Who makes Codestral-22B and GPT OSS 20B?

Codestral-22B is developed by Mistral AI and GPT OSS 20B is developed by OpenAI.