Codestral 2508 vs Llama Guard 4 12B
Price, context window & benchmark comparison
VS
Compare different models
Verdict: Llama Guard 4 12B is 2.5× cheaper than Codestral 2508 on a typical 3:1 input/output mix. Codestral 2508 has the larger context window (256K vs 164K).
| Codestral 2508 | Llama Guard 4 12B | |
|---|---|---|
| Input price / 1M | $0.30 | $0.18 |
| Output price / 1M | $0.90 | $0.18 |
| Blended price (3:1) | $0.45 | $0.18 |
| Cached input / 1M | $0.03 | — |
| Context window | 256K | 164K |
| Max output | 205K | 16K |
| Intelligence index | — | — |
| Coding index | — | — |
| Providers | — | 1 |
| Best provider uptime (30m) | — | 100.0% |
| Vision input | No | Yes |
| Reasoning | No | No |
| Tool calling | Yes | No |
| Released | 2025-08-01 | 2025-04-30 |
| Retirement | — | — |
Cost calculator
FAQ
Which is cheaper, Codestral 2508 or Llama Guard 4 12B?
Llama Guard 4 12B is 2.5× cheaper than Codestral 2508 on a typical 3:1 input/output mix.
Codestral 2508 vs Llama Guard 4 12B: which has a bigger context window?
Codestral 2508: 256,000 tokens. Llama Guard 4 12B: 163,840 tokens.
How much would 1 million requests cost?
At 2,000 input + 500 output tokens per request: Codestral 2508 ≈ $1,050, Llama Guard 4 12B ≈ $450.00.
More comparisons
Codestral 2508 vs GLM 5.3 PrimeCodestral 2508 vs Qwen3.8 Max PrimeCodestral 2508 vs Command A+Codestral 2508 vs GPT-6 Luna ProCodestral 2508 vs GPT-6 LunaCodestral 2508 vs GPT-6 Sol ProCodestral 2508 vs GPT-6 SolCodestral 2508 vs Claude Opus 5.5Codestral 2508 vs MiMo-V2.6-Pro-UltraSpeedCodestral 2508 vs MiMo-V2.6-FlashCodestral 2508 vs Grok 4.7Codestral 2508 vs Qwen3.8 Omni FlashCodestral 2508 vs GLM 5.3 FlashXCodestral 2508 vs DeepSeek V4.1 FlashCodestral 2508 vs GPT-6 AstraCodestral 2508 vs GPT-6 Astra ProLlama Guard 4 12B vs GLM 5.3 PrimeLlama Guard 4 12B vs Qwen3.8 Max PrimeLlama Guard 4 12B vs Command A+Llama Guard 4 12B vs GPT-6 Luna ProLlama Guard 4 12B vs GPT-6 LunaLlama Guard 4 12B vs GPT-6 Sol ProLlama Guard 4 12B vs GPT-6 SolLlama Guard 4 12B vs Claude Opus 5.5