Today › AI API prices › Google Gemini
gemma-4-31b-it API pricing (Google Gemini)
Input / 1M tokens$0
Output / 1M tokens$0
Context window262Kmax output 33K
Rank within Google Gemini1 / 45
Among all modelscheaper than 98%of 725 models
Cost for typical workloads
| Workload | This model | Median of all models |
|---|---|---|
| 10,000 chats (2,000 in / 500 out tokens) | $0 | $20.50 |
| 100 long summaries (50,000 in / 1,000 out) | $0 | $2.97 |
| 1,000 articles (500 in / 2,000 out) | $0 | $2.50 |
Similarly priced models from other providers
| Model | Provider | Input | Output | Context |
|---|---|---|---|---|
| command-a-plus-05-2026 | Cohere | $0 | $0 | 128K |
| labs-leanstral-1-5 | Mistral AI | $0 | $0 | 262K |
| labs-leanstral-1-5-1 | Mistral AI | $0 | $0 | 262K |
| Prism-ML/Ternary-Bonsai-27B | Together AI | $0 | $0 | 262K |
| glm-4.5-flash | Z.ai | $0 | $0 | 128K |
| glm-4.7-flash | Z.ai | $0 | $0 | 200K |
Price history
| Date | Input | Output |
|---|---|---|
| 2026-10-03 | $0 | $0 |
Only dates with a change are listed (17 snapshots from 2026-10-03 to 2026-11-10).
Prices come from the open-source LiteLLM price table (MIT), fetched daily, and may differ from the official pricing pages; always check the provider before you buy. US dollars.
About this page
gemma-4-31b-it on Google Gemini costs $0 per million input tokens and $0 per million output tokens; it ranks 1 of 45 Google Gemini models by price, with a 262K context window.