Best cost/speed trade-off
wandb/bf16$0.1967 / 1M tokens
12.85 s estimated response
Start typing to search.
google/gemma-4-31b-it
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...
At a glance
Based on 1,000 input and 500 output tokens using the latest published median speed data.
Best cost/speed trade-off
wandb/bf16$0.1967 / 1M tokens
12.85 s estimated response
Cheapest
wandb/bf16$0.1967 / 1M tokens
$0.000295 for the sample request
Fastest
modelrun/fp43.92 s estimated response
$0.33 / 1M tokens
Visual comparison
Compare published endpoint pricing and estimated response time visually.
USD per 1 million tokens for input and output. Lower is better.
Weights & Biases has the lowest estimated cost for 1,000 input and 500 output tokens at $0.000295.
Based on 1,000 input and 500 output tokens. Cost is shown in USD per 1 million tokens. Lower and further left is better; the single best cost/speed trade-off appears at full opacity.
14 providers have complete pricing and speed data. Weights & Biases is closest to the ideal combination of lowest cost and fastest response.
Server-rendered comparison
Prompt and completion prices are effective USD per token as published by OpenRouter. Missing speed data never removes an endpoint.
| Provider / route | Current pricing ↗ | Speed measurements | Endpoint details |
|---|---|---|---|
| Provider / route | Current pricing
| Speed measurements
| Endpoint details
15 parametersfrequency_penalty, include_reasoning, logprobs, max_tokens, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_k, top_logprobs, top_p |
| Provider / route Venice venice/bf16 | Current pricing
| Speed measurements
| Endpoint details
15 parametersfrequency_penalty, include_reasoning, logprobs, max_tokens, presence_penalty, reasoning, response_format, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p |
| Provider / route Chutes chutes/fp4 | Current pricing
| Speed measurements
| Endpoint details
15 parametersfrequency_penalty, include_reasoning, max_tokens, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_p |
| Provider / route DeepInfra deepinfra/turbo | Current pricing
| Speed measurements
| Endpoint details
15 parametersfrequency_penalty, include_reasoning, logit_bias, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_k, top_p |
| Provider / route DeepInfra deepinfra/fp8 | Current pricing
| Speed measurements
| Endpoint details
17 parametersfrequency_penalty, include_reasoning, logit_bias, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_p |
| Provider / route SiliconFlow siliconflow/fp8 | Current pricing
| Speed measurements
| Endpoint details
11 parametersfrequency_penalty, include_reasoning, max_tokens, reasoning, response_format, structured_outputs, temperature, tool_choice, tools, top_k, top_p |
| Provider / route NovitaAI novita/bf16 | Current pricing
| Speed measurements
| Endpoint details
17 parametersfrequency_penalty, include_reasoning, logprobs, max_tokens, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p |
| Provider / route Parasail parasail/fp8 | Current pricing
| Speed measurements
| Endpoint details
18 parametersfrequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p |
| Provider / route Phala phala | Current pricing
| Speed measurements
| Endpoint details
14 parametersfrequency_penalty, include_reasoning, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_k, top_p |
| Provider / route | Current pricing
| Speed measurements
| Endpoint details
14 parametersfrequency_penalty, include_reasoning, max_tokens, presence_penalty, reasoning, repetition_penalty, response_format, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_p |
| Provider / route Together together | Current pricing
| Speed measurements
| Endpoint details
13 parametersfrequency_penalty, include_reasoning, logit_bias, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, stop, temperature, top_k, top_p |
| Provider / route SambaNova sambanova | Current pricing
| Speed measurements
| Endpoint details
9 parametersinclude_reasoning, max_tokens, reasoning, stop, temperature, tool_choice, tools, top_k, top_p |
| Provider / route Together together | Current pricing
| Speed measurements
| Endpoint details
16 parametersfrequency_penalty, include_reasoning, logit_bias, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_p |
| Provider / route Cerebras cerebras/fp16 | Current pricing
| Speed measurements
| Endpoint details
11 parametersinclude_reasoning, max_tokens, reasoning, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p |
Endpoint data fetched .
Gemma 4 31B deployment guide
Gemma 4 31B is indexed here as a text model by Google, with 14 provider endpoints from Weights & Biases, Venice, Chutes, DeepInfra, SiliconFlow, and others. The comparison preserves each exact OpenRouter routing tag so pricing and performance observations can be connected to the route an application would actually request.
The model publishes a 262.1K-token context window. It accepts image, text, video input and returns text output. 19 distinct supported parameters appear across the listed routes. Confirm limits on the specific endpoint rather than assuming every host exposes the same configuration.
Weights & Biases currently has the lowest estimated cost for the standard 1,000-input/500-output-token sample at $0.000295. Input-heavy and output-heavy applications can produce a different result, so review both per-million-token prices in the endpoint table.
ModelRun currently has the shortest estimated 500-token response at 3.92 seconds. Weights & Biases is the single endpoint closest to the current ideal cost/speed combination. Recent observations can change, so validate finalists with your own prompts.