Google Gemini logo

Gemma 4 31B IT Free API on Google Gemini

Free API Verified
★★★★★★★★★★ 3.5 Benchmark-backed score

Largest Gemma 4 instruction model for open, self-hosted chat and reasoning

Free APIOpenAI compatibleReasoningTool callingJSON modeVisionReasoning
API Details

Copy-ready connection details

Use these values in your client or SDK.
Base URL
https://generativelanguage.googleapis.com/v1beta
Model ID
gemma-4-31b-it
API format Google Gemini native generateContent + OpenAI Chat Completions
Technical Details

Gemma 4 31B IT specifications

Provider and model catalog
Context window 262K
Max output 33K
Status Online
Family gemma
Released Apr 2, 2026
Last updated Apr 2, 2026
Free listing since Apr 2, 2026
Input text, image
Output text
Capabilities reasoning, tool calling, structured output, file attachments, temperature control
Open weights Yes
AI Recommendation

Should you use Gemma 4 31B IT?

Gemma 4 31B IT is listed for chat workloads and supports a 262K context window.

Use it when Google Gemini's free tier is enough for evaluation, demos, or light production traffic.

Best for
  • Chat
Strengths & Weaknesses

Strengths

  • Long context window
  • Reasoning mode listed
  • Tool calling support
  • Structured JSON output

Watch outs

  • Free-tier rate limits apply
Benchmark Overview

Benchmark signals for Gemma 4 31B IT

Measured data
Intelligence General reasoning and instruction following
19/100
Coding Programming and code generation
43.4/100
Agentic Tool use and multi-step tasks
4.2/100
Speed Observed generation speed
35 tok/s
Context Maximum listed context window
262K
Pricing

Gemma 4 31B IT pricing per 1M tokens

Free tier listed
Input $0 per 1M tokens
Output $0 per 1M tokens
Access Available Google Gemini
Rate limit Varies by model and account provider policy
Availability

Gemma 4 31B IT availability by provider

2 alternatives

We found 3 provider listings for gemma-4-31b-it. Check model ID, quota, pricing, and API format before switching providers.

Provider Model listing Access Context API Limits
Google Gemini Gemma 4 31B IT Free tier 262K Native Varies by model and account
OpenRouter Google: Gemma 4 31B (free) Free tier 262K OpenAI-style 200 req/day (free tier)
NVIDIA NIM Gemma 4 31B IT Free tier 262K Native Varies
View Google Gemini setup guide →
Typical Use Cases

Gemma 4 31B IT use cases

Chat

Gemma 4 31B IT is tagged for chat in this catalog and works with OpenAI-compatible client libraries.

FAQ

Gemma 4 31B IT free API FAQ

Is Gemma 4 31B IT free to use?

Gemma 4 31B IT is listed with free API access on Google Gemini, subject to the provider's quota and account policy.

What is the Gemma 4 31B IT model ID?

The model ID shown in this catalog is gemma-4-31b-it.

What are the Gemma 4 31B IT free tier rate limits on Google Gemini?

The listed free tier limit is Varies by model and account. Limits can change per account tier, so confirm against the provider dashboard.

What context window does Gemma 4 31B IT support?

The listed context window is 262K tokens with up to 33K output tokens.

More about Gemma 4 31B IT

Free Gemma 4 31B IT API.

For API keys, setup steps, and provider-level limits, see the Google Gemini provider page.