Gemma 4 free API

Google Gemma 4 on OpenRouter :free (26B A4B IT). For the larger free Instruct route see Gemma 4 31B. Smaller variants run locally via Ollama.

Free providers

ProviderRPMDailyModel IDChecked
openrouter-free 20 50 google/gemma-4-26b-a4b-it:free 2026-10-10

Example (openrouter-free)

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:free",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

FAQ

Is Gemma 4 free via API?
Yes — free hosted routes are listed on this page from openrouter-free. Limits change; check the table and the provider pages for the latest RPM and daily caps.
Which free provider should I use for Gemma 4?
Use openrouter-free for the free route on this page.
What are the free rate limits for Gemma 4?
Published free-tier figures on this page include 20 RPM and 50 requests/day. Confirm on the linked provider page before production use.
Can I run Gemma 4 locally instead of using a free API?
Yes. Pull it with Ollama using tag gemma2 and point your editor at http://localhost:11434/v1.
How do I stack multiple free API keys?
See our free API stack guide to combine Groq, OpenRouter, and Gemini keys, then compare limits on the free API comparison table.

Limits checked against official docs on 2026-10-10. Rates change without notice. Not affiliated with providers unless noted. Verify before production use.

Model card · All providers · Stack free API keys