Codestral 2508 vs Gemma 3 4B
Direktvergleiche für 411 Live-Modelle und Cloud-GPUs: Tokenpreise, Gebühren, Benchmarks und 30-Tage-Kostenkalkulation.
$0.05 vs $0.30 / 1M
$0.10 vs $0.90 / 1M
—
256K vs 131K Tokens
Capability Benchmarks & Third-Party Evaluations
Compare Artificial Analysis intelligence and engineering indexes, core capability matrices, and standardized external leaderboards.
| Kriterium | Codestral 2508 | Gemma 3 4B |
|---|---|---|
| Reasoning | — | — |
| Eingabemodalitäten | text, file | text, image |
| Tools & JSON | Tools | — |
| Prompt-Caching | $0.03/1M | $0.05/1M |
| Open-Weight | Open | Proprietary |
Compare independent Intelligence Index, Engineering/Coding scores, tokens/sec throughput, and TTFT latency for Codestral 2508 and Gemma 3 4B.
Blind pairwise human preference Elo ratings across Overall, Coding, Hard Prompts, and Instruction Following.
Measures autonomous GitHub repository issue resolution rates in sandboxed software engineering evaluations.
Monthly refreshed objective tests spanning Math, Coding, Reasoning, Data Analysis, and Language.
Evaluates practical diff editing pass rates and API cost per benchmark run across Python, C++, Go, Java, JS, and Rust.
Vollständige Vergleichsmatrix
USD ·| Kriterium | Vergleichen | ||
|---|---|---|---|
| Input / 1M | $0.30 | $0.05 | Gemma 3 4B -83% |
| Output / 1M | $0.90 | $0.10 | Gemma 3 4B -89% |
| 5m Cache Write / 1M | $0.30 | $0.05 | Gemma 3 4B -83% |
| 1h Cache Write / 1M | — | — | — |
| Cache-Lesezugriff | $0.03 | $0.05 | Codestral 2508 -40% |
| Web Search / Call | — | — | — |
| Kontext | 256K (256,000) | 131K (131,072) | Codestral 2508 2× |
| Max. Output | 205K (204,800) | 16K (16,384) | Codestral 2508 13× |
| AA Intelligenz(Artificial Analysis) | — | — | — |
| AA Engineering | — | — | — |
| Funktionen | text, file | text, image | Gleich |
| Reasoning | Nicht gelistet | Nicht gelistet | Gleich |
| Structured Outputs(JSON Schema) | Nicht gelistet | Nicht gelistet | Gleich |
| Open-Weight | Open-Weight | Proprietäre API | Codestral 2508 |
30-Tage-Produktionskostenrechner
Tägliche Anfragen, Prompt-Länge und Cache-Trefferrate anpassen.
Häufig gestellte Fragen
Is Codestral 2508 or Gemma 3 4B cheaper per API token?
Gemma 3 4B is 83% cheaper on input tokens ($0.05 vs $0.30 per 1M). For output tokens, Gemma 3 4B costs 89% less ($0.10 vs $0.90 per 1M).
How do Codestral 2508 and Gemma 3 4B prompt caching discounts compare?
Codestral 2508 offers 40% cheaper cache reads at $0.03/1M compared to $0.05/1M for Gemma 3 4B. Codestral 2508 5m write: $0.30/1M; Gemma 3 4B 5m write: $0.05/1M.
Which model has a larger context window: Codestral 2508 or Gemma 3 4B?
Codestral 2508 provides a 2× larger context window (256K vs 131K tokens). For single-turn output generation, Codestral 2508 caps at 205K tokens and Gemma 3 4B caps at 16K tokens.
How do Codestral 2508 and Gemma 3 4B compare on benchmarks and capabilities?
Gemma 3 4B adds native vision/image input support, and Codestral 2508 releases open weights for self-hosting or dedicated inference.
Verwandte Direktvergleiche
VergleicheCodestral 2508 vs Gemini 3.5 Flash Lite
In: $0.30 vs $0.30 · Out: $0.90 vs $2.50
Codestral 2508 vs DeepSeek Flash
In: $0.30 vs $0.30 · Out: $0.90 vs $1.20
Codestral 2508 vs Gemini 2.5 Flash
In: $0.30 vs $0.30 · Out: $0.90 vs $2.50
Codestral 2508 vs Gemini Exp 1206
In: $0.30 vs $0.30 · Out: $0.90 vs $2.50
Gemma 3 4B vs GPT-6.2 Astra
In: $0.05 vs $8.00 · Out: $0.10 vs $40.00
Gemma 3 4B vs GPT-6.2 Sol
In: $0.05 vs $2.00 · Out: $0.10 vs $10.00