Gemma 4 31B
google/gemma-4-31b-it
Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output.
Key facts
- Input price
- $0.20 / 1M tokens
- Output price
- $0.40 / 1M tokens
- Context window
- 262K tokens
- Max output
- 16K tokens
- Accepts
- Text, Images, Video
- Returns
- Text
Example: 1,000 requests with 1,000 input and 500 output tokens each would cost about $0.40 (1M input tokens × $0.20 + 0.5M output tokens × $0.40). Estimate your own usage.
Prices are the provider’s own per-token rates with zero markup, from our price list as of Oct 18, 2026. If a call has extra provider charges (images, audio, web search, cached prompts), you pay the reported cost.
Call it from your code
curl https://api.tokenctr.com/v1/chat/completions \
-H "Authorization: Bearer $TOKENCENTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "google/gemma-4-31b-it", "messages": [{"role": "user", "content": "Hello!"}]}'Works with any OpenAI-compatible SDK: set the base URL to https://api.tokenctr.com/v1. Quickstart
Benchmarks
Artificial Analysis
- Intelligence index
- 14.7
- Coding index
- 43.4
- Agentic index
- 4.2
Source: Artificial Analysis indexes and Design Arena results as published in OpenRouter’s model data, fetched Oct 15, 2026. Higher is better. Not measured by TokenCenter. See all rankings.