Gemma 4 26B A4B (Cloudflare) API

Cloudflare · serves gemma-4-26b-a4b

Pricing

Input / 1M$0.10
Output / 1M$0.30
Blended / 1M$0.4cheapest of 7
Context window262,144 tokens
Max output230,400 tokens
LicenseOpen weights · Gemma Terms of Use conditional
Knowledge cutoffJanuary 2025 · source
Intelligence index26.1 Artificial Analysis Intelligence Index · source

textvisionfunction-calling

Price verified 2026-09-05 (0 days ago) · sourcecorroborated

Sources

SourceInput / 1MOutput / 1MVerified
OpenRouter$0.10$0.302026-09-05
LiteLLM$0.10$0.302026-09-03
models.dev$0.10$0.302026-09-04

Two independent sources agree within 20%.

Call it

Served via OpenRouter, pinned to Cloudflare — the provider these prices are resolved from. Set OPENROUTER_API_KEY. Provider page.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemma-4-26b-a4b-it",
    "messages": [{"role": "user", "content": "Hello"}],
    "provider": {"only": ["Cloudflare"], "allow_fallbacks": false}
  }'
from openai import OpenAI  # pip install openai

client = OpenAI(
    base_url="https://openrouter.ai/api/v1",
    api_key="...",  # OPENROUTER_API_KEY
)
resp = client.chat.completions.create(
    model="google/gemma-4-26b-a4b-it",
    messages=[{"role": "user", "content": "Hello"}],
    extra_body={"provider": {"only": ["Cloudflare"], "allow_fallbacks": false}},
)
print(resp.choices[0].message.content)

Price unchanged since 2026-09-03 — 1 point on record.

Use this data

Raw JSON for this page: gemma-4-26b-a4b.json. Free to reuse under CC BY 4.0 with attribution to apipriceindex.com.