Google: Gemma 4 31B

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

$0.12/1M input tokens
Context Window
262,144 tokens
Max Output
16,384 tokens
Input Modalities
imagetextvideo

Try Google: Gemma 4 31B in Kilo Code

Experience this model with the most popular open source coding agent. Free to start, pay only for AI usage. Use in popular IDEs like VS Code, JetBrains, command line, or cloud agents.

3M+

Downloads

500+

models supported

Free

to Start

Access 500+ models including Google: Gemma 4 31B and many more in Kilo Code

Benchmarking Google: Gemma 4 31B

Real-World Usage

Real-world usage statistics from the Kilo Code community

Weekly Token Usage

Mode Rankings (Last Week)

Where this model ranks for each built-in mode

Code

Write, modify, and refactor code

No data

Ask

Get answers and explanations

No data

Debug

Diagnose and fix software issues

No data

Orchestrator

Coordinate tasks across multiple modes

#98

Real-world metrics from the Kilo Code Leaderboard

Pricing

Cost per 1 million tokens

Input Tokens
$0.12
per 1M tokens
Output Tokens
$0.37
per 1M tokens

Example Cost

Analyzing a 10,000 line codebase (≈40k input tokens, 10k output tokens) costs approximately $0.0085

Coding Capabilities

Features and parameters relevant to coding tasks

Coding Features

Function Calling
Can call external functions/APIs
Tool Choice
Control over function selection
Structured Outputs
JSON schema validation
Reasoning Tokens
Extended thinking for complex problems

Pricing details from OpenRouter

Technical Details

Architecture and implementation specifications

Model ID
google/gemma-4-31b-it
Created
April 2, 2026
Tokenizer
Gemma
Input Modalities
image, text, video
Context Window
262,144 tokens
Max Completion Tokens
16,384 tokens
Input Price
$0.12 per 1M tokens
Output Price
$0.37 per 1M tokens
Content Moderation
Disabled

Ready to try Google: Gemma 4 31B?

Install Kilo Code and start using Google: Gemma 4 31B for your coding projects today. Choose from 500+ AI models with complete freedom.

  1. 1.

    Install Kilo Code

    Get the extension from VS Code Marketplace, JetBrains Plugin Repository, or the CLI.

  2. 2.

    Open the model selector

    Click the model name in the Kilo Code chat panel to open the selector.

  3. 3.

    Choose your model

    Search or browse to find and select your preferred model.

  4. 4.

    Start coding

    Use Code, Ask, Debug, or Plan mode — the model is ready immediately.