GPT-4.1 nano vs Gemini 3.1 Pro
A direct API-pricing comparison between GPT-4.1 nano and Gemini 3.1 Pro. Below: every cost dimension side by side, then the bottom line for a typical workload.
Bottom line
For a typical 5K-in / 1K-out request, GPT-4.1 nano is the cheaper choice at $0.0009 per call — 24.4× less than Gemini 3.1 Pro at $0.022.
| GPT-4.1 nanoOpenAI | Gemini 3.1 ProGoogle | |
|---|---|---|
| Input / 1M tokens | $0.100 | $2.00 |
| Output / 1M tokens | $0.400 | $12.00 |
| Cached input / 1M | — | — |
| Context window | 1M | 1M |
| Provider | OpenAI |
Green = cheaper on that line. Prices are estimates from public pricing pages; verify against OpenAI and Google before relying on them.
Which is cheaper, GPT-4.1 nano or Gemini 3.1 Pro?
On output tokens — usually the dominant cost — GPT-4.1 nano charges $0.400 per million versus $12.00 for Gemini 3.1 Pro. The right pick depends on your input/output ratio and how much you can serve from cache. Use the calculator to model your exact traffic.