GPT-5 nano vs Gemini 3.1 Pro Preview: cost
For a typical support chatbot, GPT-5 nano is about 38.4× cheaper than Gemini 3.1 Pro Preview ($28.14 vs $1,080 per month). Price is only one factor: test both on your own prompts before switching.
| GPT-5 nano | Gemini 3.1 Pro Preview | |
|---|---|---|
| Input /1M | $0.05 | $2.00 |
| Output /1M | $0.40 | $12.00 |
| Cached input /1M | $0.005 | $0.20 |
| Batch input /1M | $0.025 | $1.00 |
| Batch output /1M | $0.20 | $6.00 |
| Context window | 400,000 | 1,048,576 |
| Max input | 272,000 | 1,048,576 |
| Max output | 128,000 | 65,536 |
Monthly cost by workload
| Scenario (per month) | GPT-5 nano | Gemini 3.1 Pro Preview |
|---|---|---|
| Customer support chatbot 5,000 req/day · 1,200 in · 400 out · cache 60% | $28.14 | $1,080 |
| RAG over documents 2,000 req/day · 8,000 in · 600 out · cache 30% | $31.92 | $1,133 |
| Coding agent 1,500 req/day · 25,000 in · 2,000 out · cache 80% | $51.75 | $1,710 |
| Deep reasoning 800 req/day · 3,000 in · 6,000 out · cache 20% | $60.55 | $1,872 |
| Batch processing 50,000 req/day · 1,500 in · 150 out · batch | $101 | $3,600 |