Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Features a 256K token context window, configurable thinking/reasoning mode, native function calling, and multilingual support across 140+ languages. Strong on coding, reasoning, and document understanding tasks. Apache 2.0 license.
$0.0365market price $0.073
$0.006market price $0.012
$0.05market price $0.10
Throughput is how fast the model writes (tokens per second, higher is better). Time to first token is how long before the answer starts (lower is better).
Share of requests served without a server error. Client errors (4xx) do not count.
Works with the OpenAI SDK pointed at our base URL. Every parameter is in the API reference.
Tokens processed per day on NagaAI.
Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Features a 256K token context window, configurable thinking/reasoning mode, native function calling, and multilingual support across 140+ languages.
On NagaAI, Gemma 4 31B costs $0.0365 per 1M input tokens and $0.05 per 1M output tokens. You pay only for what you use, with no subscription.
Gemma 4 31B reads up to 262.1k tokens in one request, counting the prompt and the answer together.
Yes. Gemma 4 31B can call your functions as tools and can answer in a JSON schema you give it.
It takes text and images as input and returns text.
Create an API key, copy the model ID from the top of this page and send requests with the OpenAI or Anthropic SDK pointed at NagaAI. The API section on this page has a ready example.