Skip to content
Language: English (United States)

Gemma 4 31B (free)

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

Context Window
262K
In
Freeper million tokens
Out
Freeper million tokens

Google

Model IDgoogle/gemma-4-31b-it:free

Specifications

Context Window
262K
Modalities
text
Price
Free in · Free out, per million tokens
Model ID
google/gemma-4-31b-it:free

Quick start

google/gemma-4-31b-it:free

Free in · Free out, per million tokens

TypeScript
import OpenAI from 'openai'
 
const client = new OpenAI({
  apiKey: process.env.HANZO_API_KEY,
  baseURL: 'https://api.hanzo.ai/v1'
})
 
const response = await client.chat.completions.create({
  model: 'google/gemma-4-31b-it:free',
  messages: [{ role: 'user', content: 'Hello!' }]
})
 
console.log(response.choices[0].message.content)
Get an API key →
8K33K66K131K262K1M$1.00$10.00Free

$0Bill a month

The same bill for this mix.

Gemma 4 31B (free)$0262K
Gemma 4 26B A4B (free)$0262K

Use Gemma 4 31B (free) via Hanzo AI

One API key. Every major model. OpenAI-compatible. Start free.