gemini-3.1-flash-image-preview vs claude-sonnet-4-5
claude-sonnet-4-5 is cheaper on output tokens, while claude-sonnet-4-5 offers a larger context window. Choose gemini-3.1-flash-image-preview or claude-sonnet-4-5 based on the trade-off between cost, context, and the benchmarks that matter for your use case.
| Spec | gemini-3.1-flash-image-preview | claude-sonnet-4-5 |
|---|---|---|
| Provider | 302.AI | 302.AI |
| Input / 1M tokens | $0.50 | $3.00 |
| Output / 1M tokens | $60.00 | $15.00 |
| Context window | 131K | 200K |
| Parameters | — | — |
| Open weights | No | No |
| Released | Feb 2026 | Sep 2025 |
FAQ
Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.