Gemma 4 26B A4B IT API

Gemma 4 26B A4B IT is an instruction-tuned Mixture-of-Experts open model from Google.

Modalities
Image, TextText
In / Out price
$0.15/$0.6per 1M
Context window
256K tokens
Released
Jun 23, 2026

Gemma 4 26B A4B IT overview

The pelican test: one prompt, every text model, unedited SVG output from Nov 3, 2026.

SVG of a pelican riding a bicycle, written by Gemma 4 26B A4B IT through AI/ML API

Gemma 4 26B A4B IT specs

Model ID
google/gemma-4-26b-a4b-it
Developer
Google
Context window
262,144 tokens
Max output
128,000 tokens
Input
Image, Text
Output
Text
API
OpenAI-compatible, base URL https://api.aimlapi.com/v1

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

Use cases

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.

Capabilities

  • Reasoning
  • Streaming
  • Structured outputs

Gemma 4 26B A4B IT benchmarks by Artificial Analysis

See how Gemma 4 26B A4B IT compares in generation speed and latency. Data retrieved Nov 4, 2026.

Speed

Output tokens / second

Benchmark results

Compare 10 models available on AI/ML API across 5 independent benchmarks.

Humanity's Last Exam

Expert-written questions across academic subjects.

Gemma 4 26B A4B IT API pricing

Gemma 4 26B A4B IT pricing in US dollars
UsagePriceUnit
Input$0.151M tokens
Output$0.61M tokens
Cached input$0.15871M tokens

Prices from the AI/ML API price list, checked on Nov 4, 2026.

Gemma 4 26B A4B IT vs other models: token prices

AI/ML API input and output rates for 5 models, per million tokens.

AI/ML API model prices in USD per million tokens
ModelInputOutput
Gemma 4 26B A4B IT$0.15$0.6
Gemini 3.8 Flash$0.75$3.75
Gemini 3.7 Flash$0.75$3.75
Gemini 3.6 Flash$1.5$7.5
Gemini 4 Argon$2$10

How to use the Gemma 4 26B A4B IT API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

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."
    }
  ]
}'

Related articles

All posts

Gemma 4 26B A4B IT FAQ

What is the context window of Gemma 4 26B A4B IT?

Gemma 4 26B A4B IT has a 262,144 tokens context window and can return up to 128,000 tokens.

What inputs and outputs does Gemma 4 26B A4B IT support?

Gemma 4 26B A4B IT takes image, text as input and returns text.

What is the model ID for Gemma 4 26B A4B IT?

Use google/gemma-4-26b-a4b-it as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.

When was Gemma 4 26B A4B IT released?

Gemma 4 26B A4B IT became available on June 23, 2026.

How much does Gemma 4 26B A4B IT cost?

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.

Does Gemma 4 26B A4B IT support streaming?

Yes, Gemma 4 26B A4B IT can stream responses as they are generated.

Can Gemma 4 26B A4B IT read images?

Yes, Gemma 4 26B A4B IT accepts image input alongside text.

Who created Gemma 4 26B A4B IT?

Gemma 4 26B A4B IT was built by Google.

Start building with Gemma 4 26B A4B IT

Gemma 4 26B A4B IT API

google/gemma-4-26b-a4b-it

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

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."
    }
  ]
}'