InferIndex · https://inferindex.dev/compare/google/gemma-4-31b-it/vs/openai/gpt-5-nano
Gemma 4 31B costs from $0.14 per million tokens and GPT-5 Nano from $0.14 (at a 3:1 input:output mix): the cheapest price for each; prices checked on .
Each model's lowest blended price, per 1M tokens, across every provider we track.
| Model | Quality rank from public evaluations. 1 = best. | Coding quality rank from public evaluations. 1 = best. | Lowest blended price, $ per 1M tokens. Green background: the most favourable value of each column. | Input price of the cheapest offer, per 1M tokens | Output price of the cheapest offer, per 1M tokens | The provider's published policy says the text you send is not used to train models. We only show what is published; we can't check it ourselves. | For 2,000 input tokens and 500 output tokens per request, 1,000 requests a day, at the cheapest offer for that workload. | Offers | Providers | The maximum amount of text, counted in tokens, the model can take in and write in a single request. Past this limit, the request is refused or cut. |
|---|---|---|---|---|---|---|---|---|---|---|
| Not ranked in this quality board | Not ranked in this quality board | Most expensive offer · $0.81. The highest blended price among comparable offers: one price per provider (its cheapest route), standard tier, current prices only. Priority tiers and prices converted from points are not counted. | $0.10 | $0.25, most favourable value of the column | at DeepInfra | ≈$9.75at Consensusprotocol via LLM Gateway | 68 | 44, most favourable value of the column | –Unpublished | |
| Rank 79 of 86 · score 45.6/100 · Nov 28, 2026 | Not ranked in this quality board | Most expensive offer · $0.15. The highest blended price among comparable offers: one price per provider (its cheapest route), standard tier, current prices only. Priority tiers and prices converted from points are not counted. | $0.05, most favourable value of the column | $0.40 | An offer with no training on prompts at the lowest price. | $9.00, most favourable value of the columnat OpenAI via Vercel AI Gateway | 28 | 17 | 400k |
Cheaper, similar quality
vs GPT-5 NanoScore within 3 points out of 100 in the same quality board, blended price at least 10% lower.OverallRank 79 of 86 · score 45.6/100 · Nov 28, 2026
| Model | Qualityrank | Gappts | Blended$/M | Saving% | Compare |
|---|---|---|---|---|---|
| Rank 80 of 86 · score 42.9/100 · Nov 28, 2026 | −2.7 | 0.10 | 27 |
Prices as of Nov 29, 2026, 1:04 AM UTCSame rules as the API's /cheapest route. The monthly estimate uses the cheapest offer for that workload.