Gemma 4 E4B IT

GoogleMCP Tool CallReasoning
google/gemma-4-E4B-itOpen Weights

Open Gemma instruction model for efficient chat and self-hosted deployments

Benchmark Pricing$0.20 / 1M in$0.20 / 1M out$0.20 cache read
Context: 131,072 tokens•Max Output: 8,192 tokens•Released: 2026-04-02

TECHNICAL SPECIFICATIONS

Context Window131,072131.1K tokens
Max Output8,1928.2K tokens
LicenseOpen SourceSelf-hostable
Input Modalities
TextVisionAudio
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema

MODEL CONTEXT PROTOCOL (MCP) READINESS

✓ Gemma 4 E4B IT natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.

MCP Context Window Recommendations

With a context capacity of 131,072 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.

API CALL INVOCATION EXAMPLE

// Example: Calling Gemma 4 E4B IT via OpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.GOOGLE_API_KEY,
});

const response = await client.chat.completions.create({
  model: "google/gemma-4-E4B-it",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

console.log(response.choices[0].message.content);

PRICING BY PROVIDER

3 providers
Pioneergoogle/gemma-4-E4B-it
$0.20 / $0.20$0.20 cache
Atomic Chatgemma-4-E4B-it-IQ4_XS
$0.00 / $0.00
Deep Infragoogle/gemma-4-E4B-it
$0.02 / $0.10

Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.

Prompt Caching Active

This model supports prompt caching at $0.20 / 1M tokens, saving up to 0% on repetitive MCP tool definitions and system instructions.