Home  /  Comparisons  /  Codestral 22B vs Text Embedding 3 (Small)
⚡ Quick Comparison Verdict

Text Embedding 3 (Small) is 97% cheaper than Codestral 22B on blended 3:1 token pricing. Codestral 22B costs $0.30/1M in and $0.90/1M out, while Text Embedding 3 (Small) costs $0.02/1M in and $0.00/1M out.

Head-to-Head Token Economics

Codestral 22B vs Text Embedding 3 (Small)

Compare verified input/output token rates, prompt caching discounts, latency tiers, and context limits between Mistral AI and OpenAI.

Metric / Feature Codestral 22B (Mistral AI) Text Embedding 3 (Small) (OpenAI)
Input Price ($ / 1M Tokens) $0.30 $0.02
Output Price ($ / 1M Tokens) $0.90 $0.00
Prompt Caching Input Rate Not Available Not Available
Blended 3:1 Rate (Production) $0.450 / 1M $0.015 / 1M
Max Context Window 128k 8k
Multimodal Vision ❌ Text Only ❌ Text Only
MMLU Benchmark 81.1% N/A
Throughput & Latency Ultra-Fast (~80 t/s) Ultra-Fast
Best For Fill-in-the-middle code completion, automated unit tests, IDE integration Vector search, semantic clustering, RAG index creation

When to Choose Codestral 22B

Choose Codestral 22B if your workload requires fill-in-the-middle code completion, automated unit tests, ide integration. Ideal for teams needing Mistral AI's infrastructure and ecosystem tooling.

View Full Codestral 22B Specs →

When to Choose Text Embedding 3 (Small)

Choose Text Embedding 3 (Small) if your primary objective is vector search, semantic clustering, rag index creation. Ideal for scaling high-throughput pipelines with OpenAI.

View Full Text Embedding 3 (Small) Specs →

Want to compare Codestral 22B against another model?

Select another target model to view immediate pricing & latency trade-offs.