About this model
Open 31B multimodal reasoning model for coding, long context, and agentic workflows. Gemma 4 31B is Google's flagship dense open-weights model in the Gemma 4 family.
Pricing
| Rate | RODI | USD (ref.) | Unit |
|---|---|---|---|
| Text tokens | |||
| In | 77.3 | ~ 0.102 | per 1M tokens (RODI/M, USD/M) |
| Out | 225.0 | ~ 0.297 | per 1M tokens (RODI/M, USD/M) |
| Prompt caching | |||
| Cached | 9.1 | ~ 0.0120 | per 1M tokens (RODI/M, USD/M) |
RODI prices include RodiumAi markup and upstream fees. USD figures are wholesale reference rates.
Providers & pricing
| Provider | Input | Output | Cached | Free tier | Status |
|---|---|---|---|---|---|
Runware Default All rates (3)
| 77.3 | 225 | 9.1 | - | No data |
Capabilities
Streaming
Tool calling
Vision
JSON mode
Reasoning
API usage
Use the canonical slug with client.chat() or chat.completions.create().
Examples
…Example response
…RodiumAi SDK
Official Python, JavaScript, and Laravel SDKs: flat API aligned with this model slug.
…Use cases
- Read receipts, invoices, ID cards and forms, then return structured JSON.
- Describe photos for accessibility or catalogue listings.
- Check product photos against a checklist (damage, label, packaging).
- Understand screenshots, charts and diagrams in support tickets.
- Compare two images in a single request by sending several
image_urlparts.
Notes
- Endpoint:
POST https://api.rodiumai.io/v1/chat/completions, withcontentas a list oftextandimage_urlparts. image_url.urlaccepts anhttps://URL or a base64 data URL (data:image/png;base64,...). A data URL with a missing or non-image MIME type is rejected with a 400 before reaching the model.- Images are billed as input tokens. Large images cost more, so resize photos to what the task needs.
- Put the question in a
textpart of the same message as the image.