Model specifications
- Context
- 262,144 tokens
- Maximum output
- 16,384 tokens
- Architecture
- text+image+video->text
- Tokenizer
- Gemma
- Knowledge cutoff
- Not provided
- Moderated
- No
Complete pricing
Synchronized OpenRouter rates. Token prices are shown per one million tokens.
- Input
- $0.09 per 1M tokens
- Output
- $0.34 per 1M tokens
- Cache read
- $0.05 per 1M tokens
Model configuration
Default parameters
temperature- 1
top_p- 0.95
top_k- 64
Reasoning
- Reasoning required
- No
- Default parameters
- No
Quick start
Set OPENROUTER_API_KEY locally. Python requires requests; JavaScript runs in Node.js. Keep the key on the server.
curl --fail-with-body https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"google/gemma-4-31b-it","messages":[{"role":"user","content":"Hello!"}]}'Input → Output
No
Supported API parameters
frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_ppresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p15 providers
Checked: September 7, 2026
Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.
DeepInfra
fp4- Context
- 262K
- Maximum output
- 16K
- Input
- $0.09
- Output
- $0.34
- Cache read
- $0.05
- Cache write
- Not provided
CoreWeave
fp4- Context
- 262K
- Maximum output
- 236K
- Input
- $0.1
- Output
- $0.34
- Cache read
- $0.1
- Cache write
- Not provided
Venice
bf16- Context
- 256K
- Maximum output
- 8K
- Input
- $0.12
- Output
- $0.36
- Cache read
- $0.09
- Cache write
- Not provided
Chutes
fp4- Context
- 131K
- Maximum output
- 66K
- Input
- $0.12
- Output
- $0.37
- Cache read
- $0.012
- Cache write
- Not provided
DeepInfra
fp8- Context
- 262K
- Maximum output
- 16K
- Input
- $0.13
- Output
- $0.38
- Cache read
- Not provided
- Cache write
- Not provided
SiliconFlow
fp8- Context
- 262K
- Maximum output
- 236K
- Input
- $0.13
- Output
- $0.4
- Cache read
- Not provided
- Cache write
- Not provided
Crusoe
Not provided- Context
- 262K
- Maximum output
- 262K
- Input
- $0.14
- Output
- $0.4
- Cache read
- $0.14
- Cache write
- Not provided
Friendli
Not provided- Context
- 262K
- Maximum output
- 8K
- Input
- $0.14
- Output
- $0.4
- Cache read
- Not provided
- Cache write
- Not provided
Novita
bf16- Context
- 262K
- Maximum output
- 131K
- Input
- $0.14
- Output
- $0.4
- Cache read
- Not provided
- Cache write
- Not provided
Parasail
fp8- Context
- 262K
- Maximum output
- 236K
- Input
- $0.15
- Output
- $0.4
- Cache read
- $0.06
- Cache write
- Not provided
DeepInfra
fp8- Context
- 131K
- Maximum output
- 8K
- Input
- $0.27
- Output
- $0.76
- Cache read
- Not provided
- Cache write
- Not provided
SambaNova
Not provided- Context
- 131K
- Maximum output
- 118K
- Input
- $0.38
- Output
- $1.15
- Cache read
- Not provided
- Cache write
- Not provided
Together
Not provided- Context
- 262K
- Maximum output
- 236K
- Input
- $0.39
- Output
- $0.97
- Cache read
- Not provided
- Cache write
- Not provided
ModelRun
fp4- Context
- 262K
- Maximum output
- 236K
- Input
- $0.75
- Output
- $1
- Cache read
- $0.75
- Cache write
- Not provided
Cerebras
fp16- Context
- 131K
- Maximum output
- 41K
- Input
- $0.99
- Output
- $1.49
- Cache read
- $0.99
- Cache write
- Not provided