256K
text, image
text
Supported
About this model
Gemma 4 31B is a state-of-the-art, open-weights multimodal dense model from Google DeepMind. It features a 256K token context window, excels at reasoning, coding, and agentic workflows, and supports interleaved text and image inputs.
Input modalities
text
Accepted as model input
image
Accepted as model input
Providers
Available routing options for this model through OneInfer.
Input tokens
$0.140 / 1M tokens
Output tokens
$0.400 / 1M tokens
Routing
OneInfer optimized
Pricing
Current OneInfer pricing for this model.
| Usage | Price |
|---|---|
| Input tokens | $0.140 / 1M tokens |
| Output tokens | $0.400 / 1M tokens |
Performance & Benchmarks
Independent evaluations and live cluster operational metrics
We haven’t measured this model yet. Published academic results are under Academic Evaluations.
API Guide
- 1
Generate your access token
Use your API key to generate the JWT access token required by the Models API.
- 2
Add the JWT token
Copy the generated JWT token and replace
JWT_TOKENin the example below. - 3
Check your credits
If your balance is too low, before calling the model.
- 4
Run the API example
Choose your preferred language, copy the example, and send your first model request.
curl https://api.oneinfer.ai/v1/ula/chat/completions \ -H "Authorization: Bearer $JWT_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "model": "google/gemma-4-31B-it", "messages": [ { "role": "user", "content": "Hello!" } ] }'
Community Model Reviews & Ratings
Verified visitor & developer evaluations on Google: Gemma 4 31B's real-world intelligence, code accuracy, and speed
No community reviews yet
Be the first to share developer feedback on Google: Gemma 4 31B's latency, code accuracy, and reliability in production.