Skip to content
Google

Gemma 4 31b It

Popular
inworld/models/gemma-4-31b-it

Gemma 4 31b It is a reasoning model by Google with function calling, structured output — designed for complex, multi-step problem solving where accuracy matters more than speed. It features an extended 262K token context window, suitable for processing long documents and complex conversations. 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 LLM Inference with OpenAI SDK compatibility, built-in failover, and intelligent routing across providers.

Input
$0.13
Output
$0.38
Cache read
$0.065
Context
262.1K
Max output
—
TextImage→Text
Function CallingReasoningStructured output
Run on your server. Set INWORLD_API_KEY to your API key. Python requires pip install openai; JavaScript requires Node.js 18+; save it as example.mjs.
curl --fail-with-body https://api.inworld.ai/v1/chat/completions \
  -H "Authorization: Basic $INWORLD_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "inworld/models/gemma-4-31b-it",
    "messages": [{"role": "user", "content": "Hello"}],
    "stream": true
  }'
Model Gemma 4 31b ItOpenAI SDK compatible

Pricing and providers

Access Gemma 4 31b It through Inworld LLM Inference or speech to speech via Inworld. By using the providers below you agree to their terms, listed under each provider's name in the Legal section.

Modalities
InworldThis pageinworld/models/gemma-4-31b-it
$0.13$0.38$0.065—262.1K—
TextImage→Text
Prices in USD per 1M tokens.

Start building with Gemma 4 31b It

Access Gemma 4 31b It and every other model through LLM Inference or speech to speech. Create a free account and start in minutes.