LLM prices per 1M tokens

264 models · 161 price changes

Gemma 4 31B

Google · Open weights · 262K context · released Apr 2, 2026 · checked 12h ago

Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output.

Ways to buy 19

Way to buyIn / out per 1M
CoreWeave
fp4 · cached $0.1
$0.1 / $0.34Cheapest
Venice
fp4 · cached $0.09
$0.12 / $0.36+12% vs cheapest
Chutes
fp4 · cached $0.012
$0.12 / $0.37+14% vs cheapest
DeepInfra
fp8-flex, fp8
$0.16 / $0.32+25% vs cheapest
Crusoe
bf16 · cached $0.14
$0.14 / $0.4+28% vs cheapest
DekaLLM
Default region · cached $0.05
$0.14 / $0.4+28% vs cheapest
Friendli
Default region
$0.14 / $0.4+28% vs cheapest
Novita AI
bf16
$0.14 / $0.4+28% vs cheapest
NextBit
fp4 · cached $0.06
$0.15 / $0.4+33% vs cheapest
Parasail
fp8 · cached $0.06
$0.15 / $0.4+33% vs cheapest
DeepInfra
turbo, fp4 · cached $0.075
$0.135 / $0.51+43% vs cheapest
DeepInfra
fp8
$0.2 / $0.4+56% vs cheapest
Modal
Default region · cached $0.1
$0.34 / $0.1+75% vs cheapest
DeepInfra
fp8-priority, fp8
$0.3 / $0.6+134% vs cheapest
PrimeIntellect
fp4 · cached $0.2
$0.4 / $0.67+192% vs cheapest
Io Net
Default region · cached $0.19
$0.38 / $1.15+258% vs cheapest
SambaNova
Default region
$0.38 / $1.15+258% vs cheapest
ModelRun
fp4 · cached $0.2
$0.75 / $1+408% vs cheapest
SiliconFlow
fp8 · cached $0.25
$0.75 / $1+408% vs cheapest

USD per 1M tokens. Regions are separate routes.

Through a gateway

Your own numbers

100M input and 20M output tokens a month: $16.80 direct.

A dash: not on that gateway's own model list. No published token fee: Martian Gateway, Portkey, TrueFoundry AI Gateway.

Related models

In / out per 1M
Gemini Omni 1.2 Flash
Google · 131K
$1.5 / $9Gemini Omni 1.2 Flash is Google's native multimodal video generation and editing model, the successor to Gemini Omni 1.1 Flash.
Gemini Omni 1.1 Flash
Google · 131K
$1.5 / $9Gemini Omni 1.1 Flash is Google's native multimodal video generation and editing model, the generally available successor to Gemini Omni Flash Preview.
Gemini 4 Argon
Google · 1MCheapest: $2 on Google Gemini API (flex)
$2 / $10Gemini 4 Argon is Google's flagship reasoning model, built for complex software engineering, deep mathematical and scientific problem solving, and autonomous multi-step agents.
Nano Banana 2.1
Google · 66K
$1.5 / $7.5Nano Banana 2.1 (Gemini Nano Banana 2.1) is Google's image generation and editing model on the Flash tier, succeeding Nano Banana 2 and Nano Banana Pro.
DeepSeek V4.1 Flash 1017
DeepSeek · 1MCheapest: $0.081 on Particle AI (us-flex)
$0.15 / $0.6DeepSeek V4.1 Flash 1017 is the October 17, 2026 snapshot of DeepSeek V4.1 Flash, served by DeepSeek under the deepseek-flash API model name.
DeepSeek V4.1 Flash
DeepSeek · 1M
$0.045 / $0.3DeepSeek V4.1 Flash is a sparse mixture-of-experts model from DeepSeek, and the first built on the company's Causal Encoder-Decoder (CED) architecture.
Claude Haiku 5.5
Anthropic · 1M
$0.1 / $0.5Claude Haiku 5.5 is Anthropic's small, fast model for high-volume, cost-sensitive work such as summarization, subagents, and browser use.
Embed 5 Pro
Cohere · 128K
$0.12 / FreeEmbed 5 Pro is the higher-accuracy tier of Cohere's Embed 5 family of multimodal embedding models (about 2.4B parameters).

About Gemma 4 31B

Takes image, text, video in and returns text. First listed Sep 23, 2026. Up to 16K output tokens. Blended price $0.16 per 1M tokens at 3 input to 1 output. Model id gemma-4-31b-it.

Price history

No list-price history: this model is sold by hosts rather than its lab.

Questions

How much does Gemma 4 31B cost?

$0.1 per million input tokens and $0.34 per million output tokens, with cached input at $0.1.

What is the context window of Gemma 4 31B?

262K tokens, with up to 16K tokens of output.

Where is Gemma 4 31B cheapest?

Of 19 routes tracked, CoreWeave is cheapest at $0.1 input and $0.34 output per million tokens.

Has Gemma 4 31B's price changed?

Yes. The output price went from $0.182 to $0.204, first seen Nov 6, 2026.