Get started
inworld

Gemma 4 31b It

Gemma 4 31b It is a large language model by inworld. Priced at $0.13 per million input tokens and $0.38 per million output tokens, it is one of the most cost-efficient options in its class. Access Gemma 4 31b It through Inworld Router with OpenAI SDK compatibility, built-in failover, and intelligent routing across providers.

Step 1 — Create Router

curl --location 'https://api.inworld.ai/router/v1/routers' \ --header 'Authorization: Basic <your-api-key>' \ --header 'Content-Type: application/json' \ --data '{ "name": "compare-frontier-models", "defaultRoute": { "route_id": "default", "variants": [ { "variant": { "variant_id": "inworld/gemma-4-31b-it-a", "model_id": "inworld/gemma-4-31b-it" }, "weight": 33 }, { "variant": { "variant_id": "inworld/deepseek-v3.2-b", "model_id": "inworld/deepseek-v3.2" }, "weight": 33 }, { "variant": { "variant_id": "inworld/gemma-4-26b-a4b-it-c", "model_id": "inworld/gemma-4-26b-a4b-it" }, "weight": 34 } ] } }'

Step 2 — Chat Completion

curl --location 'https://api.inworld.ai/v1/chat/completions' \ --header 'Authorization: Basic <your-api-key>' \ --header 'Content-Type: application/json' \ --data '{ "model": "inworld/compare-frontier-models", "messages": [{"role": "user", "content": "Hello!"}] }'

Gemma 4 31b It pricing and providers

Access Gemma 4 31b It through inworld via Inworld Router or Realtime API. By using the AI provider(s) below you acknowledge you reviewed and agree to their terms listed in the Legal section under the AI provider's name.
CapabilitiesInput modalitiesOutput modalities
inworld$0.13$0.38

Other inworld models available through Inworld

Compare Gemma 4 31b It with other inworld models available through Inworld Router or Realtime API.
CapabilitiesInput modalitiesOutput modalitiesInference provider
Deepseek V3.2$0.26$0.38
Gemma 4 26b A4b It$0.07$0.34

Start building with Gemma 4 31b It

Access Gemma 4 31b It and every other model through Inworld Router or Realtime API. Create your free account and start routing in minutes.
Copyright © 2021-2026 Inworld AI
Gemma 4 31b It by inworld — Pricing, Specs & API Access | Inworld