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 | — | 3 |
| 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 Gemini 4 CarbonCodestral 2508 vs Claude Fable 5.2Codestral 2508 vs Gemini Omni 1.2 FlashCodestral 2508 vs Gemini Omni 1.1 FlashCodestral 2508 vs Hy4Codestral 2508 vs GLM 5.3 FlashX LegalCodestral 2508 vs GPT-6.1 TerraCodestral 2508 vs GPT-6.1 Terra ProCodestral 2508 vs Kimi K3.1 ProCodestral 2508 vs MiniMax M3.1 FlashCodestral 2508 vs DeepSeek V4.1 Flash 1017Codestral 2508 vs Nemotron 3.5 Super VLCodestral 2508 vs Gemini 4 ArgonCodestral 2508 vs Claude Haiku 5.5Codestral 2508 vs Nano Banana 2.1Codestral 2508 vs Mistral Large 4Llama Guard 4 12B vs Gemini 4 CarbonLlama Guard 4 12B vs Claude Fable 5.2Llama Guard 4 12B vs Gemini Omni 1.2 FlashLlama Guard 4 12B vs Gemini Omni 1.1 FlashLlama Guard 4 12B vs Hy4Llama Guard 4 12B vs GLM 5.3 FlashX LegalLlama Guard 4 12B vs GPT-6.1 TerraLlama Guard 4 12B vs GPT-6.1 Terra Pro