Text Embedding 3 (Small) is 97% cheaper than Codestral 22B on blended 3:1 token pricing. Text Embedding 3 (Small) costs $0.02/1M in and $0.00/1M out, while Codestral 22B costs $0.30/1M in and $0.90/1M out.
Text Embedding 3 (Small) vs Codestral 22B
Compare verified input/output token rates, prompt caching discounts, latency tiers, and context limits between OpenAI and Mistral AI.
| Metric / Feature | Text Embedding 3 (Small) (OpenAI) | Codestral 22B (Mistral AI) |
|---|---|---|
| Input Price ($ / 1M Tokens) | $0.02 | $0.30 |
| Output Price ($ / 1M Tokens) | $0.00 | $0.90 |
| Prompt Caching Input Rate | Not Available | Not Available |
| Blended 3:1 Rate (Production) | $0.015 / 1M | $0.450 / 1M |
| Max Context Window | 8k | 128k |
| Multimodal Vision | ❌ Text Only | ❌ Text Only |
| MMLU Benchmark | N/A | 81.1% |
| Throughput & Latency | Ultra-Fast | Ultra-Fast (~80 t/s) |
| Best For | Vector search, semantic clustering, RAG index creation | Fill-in-the-middle code completion, automated unit tests, IDE integration |
When to Choose Text Embedding 3 (Small)
Choose Text Embedding 3 (Small) if your workload requires vector search, semantic clustering, rag index creation. Ideal for teams needing OpenAI's infrastructure and ecosystem tooling.
When to Choose Codestral 22B
Choose Codestral 22B if your primary objective is fill-in-the-middle code completion, automated unit tests, ide integration. Ideal for scaling high-throughput pipelines with Mistral AI.
Want to compare Text Embedding 3 (Small) against another model?
Select another target model to view immediate pricing & latency trade-offs.