Side-by-side technical and economic comparison between Anthropic's Claude Haiku 4.5 and Google's Gemini 3.1 Pro Preview.
| Metric | Claude Haiku 4.5 | Gemini 3.1 Pro Preview | Advantage |
|---|---|---|---|
| Provider Organization | Anthropic | — | |
| Standard Input / 1M | $1.00 | $2.00 | Claude Haiku 4.5 (50% lower) |
| Cached Input / 1M | $0.10 | $0.20 | Claude Haiku 4.5 lower |
| Output / 1M | $5.00 | $12.00 | Claude Haiku 4.5 lower |
| Context Window | 200k | 1.05M | Gemini 3.1 Pro Preview (1.05M) |
| Max Generation Tokens | 8.2k | 16.4k | Gemini 3.1 Pro Preview |
| Tokenizer Family | Anthropic Claude BPE (~65k vocabulary) | Google Gemini SentencePiece (256k vocabulary) | — |
Opt for Claude Haiku 4.5 when your engineering requirements prioritize Anthropic's ecosystem, specific tokenizer efficiencies (Calibrated Claude Tokenizer (±3%)), or when your expected prompt-to-completion ratios favor its $1/M input rate.
Opt for Gemini 3.1 Pro Preview when looking for Google's tooling integration, specific context window depth (1.05M tokens), or when output generation volume favors its $12/M rate.