Speed
Output tokens / second
Custom pricing for production workloads
Gemma 4 26B A4B IT is an instruction-tuned Mixture-of-Experts open model from Google.
google/gemma-4-26b-a4b-ithttps://api.aimlapi.com/v1What is Gemma 4 26B A4B IT API?
Gemma 4 26B A4B IT is an instruction-tuned Mixture-of-Experts open model from Google.
Where to Use Gemma 4 26B A4B IT
Coding and code review
Generate, debug, and review code across languages, reading whole files or repos in a single prompt.
Chatbots and conversational AI for customer service, virtual assistants, or interactive applications.
Text summarization to generate concise summaries of text corpora, research papers, or reports.
Image data extraction to extract, interpret, and summarize visual data for text communications.
Audio processing and interaction for analyzing and interpreting audio inputs, enabling voice-driven interactions and transcriptions.
See how Gemma 4 26B A4B IT compares in generation speed and latency. Data retrieved Nov 4, 2026.
Output tokens / second
Compare 10 models available on AI/ML API across 5 independent benchmarks.
Expert-written questions across academic subjects.
Graduate-level science questions written to resist web search.
Reasoning across long documents of about 100k tokens.
Python coding tasks drawn from scientific research.
Following precise instructions about the shape of the answer.
| Usage | Price | Unit |
|---|---|---|
| Input | $0.15 | 1M tokens |
| Output | $0.6 | 1M tokens |
| Cached input | $0.1587 | 1M tokens |
Prices from the AI/ML API price list, checked on Nov 4, 2026.
AI/ML API input and output rates for 5 models, per million tokens.
| Model | Input | Output |
|---|---|---|
| $0.15 | $0.6 | |
| $0.75 | $3.75 | |
| $0.75 | $3.75 | |
| $1.5 | $7.5 | |
| $2 | $10 |
Give your agent the model details, code and documentation.
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"curl 'https://api.aimlapi.com/v1/chat/completions' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "google/gemma-4-26b-a4b-it",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "google/gemma-4-26b-a4b-it",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}
response = requests.post("https://api.aimlapi.com/v1/chat/completions", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "google/gemma-4-26b-a4b-it",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Gemma 4 26B A4B IT has a 262,144 tokens context window and can return up to 128,000 tokens.
Gemma 4 26B A4B IT takes image, text as input and returns text.
Use google/gemma-4-26b-a4b-it as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
Gemma 4 26B A4B IT became available on June 23, 2026.
Gemma 4 26B A4B IT costs $0.15 input and $0.6 output per 1M tokens on AI/ML API, billed as you go with no subscription.
Yes, Gemma 4 26B A4B IT can stream responses as they are generated.
Yes, Gemma 4 26B A4B IT accepts image input alongside text.
Gemma 4 26B A4B IT was built by Google.