Skip to main content
API Pricing

Google: Gemma 4 31B (free) API Pricing

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...

Input / 1M tokens
Free
Output / 1M tokens
Free
Cost per request (1K in / 500 out)
Free
~$0.00 per 1M tokens mixed

Specifications

Context Window 262K tokens
Max Output Tokens 32,768
Vision Support Yes
Function Calling No
Streaming Yes
Modality multimodal
Release Date 2026-04-02
Price history will appear here after the first price change is detected.

More from Google

Input / 1M tokens
$0.30
Output / 1M tokens
$2.50
Context: 1.0M Vision Streaming
Input / 1M tokens
$0.10
Output / 1M tokens
$0.40
Context: 1.0M Vision Streaming
Input / 1M tokens
$0.10
Output / 1M tokens
$0.40
Context: 1.0M Vision Streaming
Input / 1M tokens
$1.25
Output / 1M tokens
$10.00
Context: 1.0M Vision Streaming
Input / 1M tokens
$1.25
Output / 1M tokens
$10.00
Context: 1.0M Vision Streaming

Similar Models from Other Providers

Input / 1M tokens
Variable
Output / 1M tokens
Variable
Context: 2.0M Vision Streaming
Input / 1M tokens
Free
Output / 1M tokens
Free
Context: 262K Vision Streaming
Input / 1M tokens
Free
Output / 1M tokens
Free
Context: 256K Vision Streaming
Input / 1M tokens
Free
Output / 1M tokens
Free
Context: 128K Vision Streaming
Input / 1M tokens
Free
Output / 1M tokens
Free
Context: 128K Vision Streaming