per 1M tokens
Gemma 4 31B
novita/google/gemma-4-31b-it
Gemma 4 31B is engineered to tackle the most demanding enterprise workloads and complex reasoning tasks. With an expansive 256K-token context window, the 31B model can effortlessly ingest entire codebases, and massive sets of images in a single prompt. It boasts state-of-the-art vision-language capabilities, allowing developers to freely interleave text and images. It excels at parsing UI screens, comprehending complex charts, and executing multilingual OCR or handwriting recognition. Combined with native structured Function Calling, robust code generation, and out-of-the-box fluency in 35+ languages, Gemma 4 31B is the ultimate foundation for building sophisticated, autonomous AI agents and heavy-duty multimodal analysis pipelines.
Price
per 1M tokens
Providers
Each row is one seller. Prices are the published rate from that source. A dash means that source did not publish the amount. Sorted by a 3:1 blend of input and output.
No provider prices yet.
Monthly bill
Token models use the token counts. Image, video, and audio models use units times the flat rate.
$0.54 at list price for this workload
Every rate
| Unit | Input | Output | Flat | Confidence |
|---|---|---|---|---|
| token | $0.14/1M | $0.4/1M | Not published— | official |
Price history
input or flat output
Daily snapshots
| UTC date | Unit | Input | Output | Flat |
|---|---|---|---|---|
| 2026-10-08 | token | $0.14 | $0.4 | Not published— |
| 2026-10-09 | token | $0.14 | $0.4 | Not published— |
| 2026-10-10 | token | $0.14 | $0.4 | Not published— |
| 2026-10-11 | token | $0.14 | $0.4 | Not published— |
| 2026-10-12 | token | $0.14 | $0.4 | Not published— |
| 2026-10-13 | token | $0.14 | $0.4 | Not published— |
| 2026-10-14 | token | $0.14 | $0.4 | Not published— |
| 2026-10-15 | token | $0.14 | $0.4 | Not published— |
| 2026-10-16 | token | $0.14 | $0.4 | Not published— |
| 2026-10-17 | token | $0.14 | $0.4 | Not published— |
| 2026-10-18 | token | $0.14 | $0.4 | Not published— |
| 2026-10-19 | token | $0.14 | $0.4 | Not published— |
| 2026-10-20 | token | $0.14 | $0.4 | Not published— |
| 2026-10-21 | token | $0.14 | $0.4 | Not published— |
| 2026-10-22 | token | $0.14 | $0.4 | Not published— |
| 2026-10-23 | token | $0.14 | $0.4 | Not published— |
| 2026-10-24 | token | $0.14 | $0.4 | Not published— |
| 2026-10-25 | token | $0.14 | $0.4 | Not published— |
| 2026-10-26 | token | $0.14 | $0.4 | Not published— |
| 2026-10-27 | token | $0.14 | $0.4 | Not published— |
| 2026-10-28 | token | $0.14 | $0.4 | Not published— |
| 2026-10-29 | token | $0.14 | $0.4 | Not published— |
| 2026-10-30 | token | $0.14 | $0.4 | Not published— |
Alternatives
- DeepSeek V4 Flash$0.14/1M · Compare
- google.gemma-4-31b$0.14/1M · Compare
- google/gemma-4-31B-it$0.14/1M · Compare
- Hermes 2 Pro Llama 3 8B$0.14/1M · Compare
- Hy3$0.14/1M · Compare
- MiMo V2.5$0.14/1M · Compare
Call this model
OpenRouter id novita/google/gemma-4-31b-it. InferenceList does not send the request.
curl
curl https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"novita/google/gemma-4-31b-it","messages":[{"role":"user","content":"Hello"}]}'
JavaScript
await fetch("https://openrouter.ai/api/v1/chat/completions", {
method: "POST",
headers: {
Authorization: "Bearer " + process.env.OPENROUTER_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "novita/google/gemma-4-31b-it",
messages: [{ role: "user", content: "Hello" }],
}),
});
Python
import os, json, urllib.request
req = urllib.request.Request(
"https://openrouter.ai/api/v1/chat/completions",
data=json.dumps({"model": "novita/google/gemma-4-31b-it", "messages": [{"role": "user", "content": "Hello"}]}).encode(),
headers={"Authorization": "Bearer " + os.environ["OPENROUTER_API_KEY"], "Content-Type": "application/json"},
)
print(urllib.request.urlopen(req).read().decode())