Gemma 4 31B

Google · 256K token context · multimodal

Pricing: $0.0021 per 1M input tokens, $0.0062 per 1M output tokens

Gemma 4 31B

Pricing

$0.0021 per 1M input tokens and $0.0062 per 1M output tokens. Billing is per token: input tokens are charged at the input rate and output tokens at the output rate, from one llmka.dev balance.

Prices checked 2026-11-04

Context and limits

The context window is 256,000 tokens (256K).

The maximum output is 131,072 tokens.

When to use Gemma 4 31B

Gemma 4 31B (model ID `gemma-4-31b`) takes text, image input and returns text output.

Supported features in the catalog: function calling (tools), streamed responses over SSE, JSON-schema structured output.

Use Gemma 4 31B for text generation and chat.

FAQ

How much does Gemma 4 31B cost?

$0.0021 per 1M input tokens and $0.0062 per 1M output tokens. Billing is per token: input tokens are charged at the input rate and output tokens at the output rate, from one llmka.dev balance.

What is the context window and output limit of Gemma 4 31B?

The context window is 256,000 tokens (256K). The maximum output is 131,072 tokens.

How do I get access to Gemma 4 31B?

Create an API key in the llmka.dev dashboard and send requests to model "gemma-4-31b" at https://api.llmka.dev/v1. The endpoint is OpenAI-compatible. One key and one balance cover all models on the gateway.

Links

All models and prices · API documentation · Quick start

Available through the llmka.dev gateway: OpenAI- and Anthropic-compatible endpoints, one key, USDT top-up.