A detailed comparison of Codestral by Mistral AI and GPT-4 Turbo by OpenAI
| Feature | Codestral | GPT-4 Turbo |
|---|---|---|
| Provider | Mistral AI | OpenAI |
| Input Price | $0.30/1M-97% | $10/1M |
| Output Price | $0.90/1M-97% | $30/1M |
| Context Window | 256K+100% | 128K |
| Max Output | 4K | 4K |
| Input Modalities | text | text, image |
| Reasoning | ||
| Tool Calling | ||
| Structured Output | ||
| File Attachments | ||
| Temperature Control | ||
| Open Weights |
Codestral and GPT-4 Turbo are both powerful AI models. Codestral is 97% cheaper for input tokens. Codestral offers a larger context window (256K vs 128K).