Compact Gemma 4 instruction model for open, self-hosted chat and reasoningGemma 4 12B IT by google is offered by 3 providers on this page. No official API price is listed for it; the prices below come from third-party channels. The lowest paid channel is Kitani at $0.045 / $0.23 per 1M. That channel is a third-party gateway, so confirm its availability and rate limits before depending on it. Prices vary about 2.2× across the providers that host it.
The context window is 262,144 tokens at the reference host, but hosts report different limits, from 8,192 to 262,144, so the usable window depends on the provider you pick. It supports reasoning, tool use, and structured output. Accepted input modalities are Text and Image. The weights are open, so it can also be self-hosted or served through a gateway of your choice. Providers report the capability flags inconsistently, so verify a specific feature against the host you plan to use.
| Provider | Tier | Input | Output | Cache read | Cache write | Context | Output limit | Status |
|---|---|---|---|---|---|---|---|---|
| Kitani | Gateway | $0.045 | $0.23 | $0.023 | — | 8,192 ⚠ | 4,096 | |
| NanoGPT | Gateway | $0.05 | $0.25 | $0.025 | — | 131,072 ⚠ | 32,768 | |
| SiliconFlow google/gemma-4-12B-it | Cloud | $0.10 | $0.30 | — | — | 262,144 | 262,144 |
Sorted by blended price (input×0.75 + output×0.25) asc. The official channel always shows regardless of rank. Whether a gateway's low price is actually usable can't be verified.