Gemma 4 31B
$1.735
estimated usage cost
1,000 requests × (1,000 uncached input × $0.99 + 500 output × $1.49) / 1,000,000 = $1.735
base rates; no context pricing tiers are published.
the model directory
compare api pricing, context windows, and capabilities side by side.
use the same workload to understand the cost before choosing a model.
prices are published impossibl api usage rates in usd. compare the billing units and context tiers alongside each price. unpublished capabilities are marked explicitly.
| specification | Gemma 4 31B google/gemma-4-31b | Kimi K3 moonshotai/kimi-k3 |
|---|---|---|
| creator | Moonshot AI | |
| model type | Text generation | Text generation |
| input modalities | text, image | text, image |
| output modalities | text | text |
| base input price | $0.99 / 1m tokens | $3.00 / 1m tokens |
| base output price | $1.49 / 1m tokens | $15.00 / 1m tokens |
| cached input price | not published | $0.30 / 1m tokens |
| context window | 128k tokens | 1.05m tokens |
| tool calling | not published | not published |
| context pricing tiers | none published | none published |
| endpoints |
|
|
| retirement | not announced | not announced |
estimate text token usage across the same workload. all amounts are in usd.
$1.735
estimated usage cost
1,000 requests × (1,000 uncached input × $0.99 + 500 output × $1.49) / 1,000,000 = $1.735
base rates; no context pricing tiers are published.
$10.50
estimated usage cost
1,000 requests × (1,000 uncached input × $3.00 + 500 output × $15.00) / 1,000,000 = $10.50
base rates; no context pricing tiers are published.
estimates use published impossibl api usage rates. configured billing adjustments, funding fees, taxes, and custom workspace rates are excluded and may change the final amount.
image and audio usage, cache creation, and additional tool charges are excluded. reasoning tokens count as billable output, even when they are not visible in the response.
Gemma 4 31B and Kimi K3 are available through the Impossibl API. They share the /v1/chat/completions endpoint. Set the model identifier to select the model for a supported request.
Gemma 4 31B is created by Google. It has a 128,000-token context window. Base API pricing (USD): $0.99 per million input tokens; $1.49 per million output tokens.
Kimi K3 is created by Moonshot AI. It has a 1,048,576-token context window. Base API pricing (USD): $3.00 per million input tokens; $15.00 per million output tokens.