Provider

Free Gemma API

Google's open Gemma models, free across 12 providers, Google AI Studio itself included.

FreeLLMAPI is a free, open-source LLM API that routes across every provider with a real free tier. The Gemma models below are served free by AI Horde, CLōD, Cloudflare Workers AI, ElectronHub, Google AI Studio, Logfare, NVIDIA NIM, Ollama Cloud, OpenRouter, Requesty, SEA-LION, Septor Labs — reachable through one OpenAI-compatible key, with automatic failover when a provider hits its rate limit.

Free Gemma models (26)

ModelProviderContextFree limitsCapabilities
gemma-4-31b-itGoogle AI Studio33K15 rpm, 1000 rpdvision
google/gemma-4-31b-itNVIDIA NIM262K40 rpm—
google/gemma-4-31b-it:freeOpenRouter262K20 rpm, 50 rpd—
gemma4:31bOllama Cloud131K~20-30M—
google/gemma-4-31b-itRequesty262K200 rpdtools, vision
gemma-4-31b-itElectronHub262K$0.25/week shared recurring credittools, vision
gemma-4-31b-it-freeSeptor Labs128Kfree · shared daily allowance—
Gemma 4 31B ITCLōD—free · shared daily allowance—
gemma-4-26b-a4b-itGoogle AI Studio33K15 rpm, 1000 rpdvision
@cf/google/gemma-4-26b-a4b-itCloudflare Workers AI262K~10-20M—
google/gemma-4-26b-a4b-it:freeOpenRouter262K20 rpm, 50 rpd—
koboldcpp/gemma-4-31B-it-hereticAI Horde4KKudos queue (no token cap)—
gemma-4-26b-a4b-itElectronHub262K$0.25/week shared recurring credittools, vision
gemma-4-26bLogfare—free · fair use · traffic logged—
google/diffusiongemma-26b-a4b-itNVIDIA NIM262K40 rpmvision
koboldcpp/Gemma-4-E4B-Uncensored-HauhauCS-AggressiveAI Horde4KKudos queue (no token cap)—
koboldcpp/Gemma-4-E4B-it-Ultra-Uncensored-HereticAI Horde4KKudos queue (no token cap)—
koboldcpp/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-Q4_K_MAI Horde—Kudos queue (no token cap)—

How to use Gemma for free

  1. Install FreeLLMAPI — the open-source router (GitHub). It runs locally and keeps your keys on your machine.
  2. Add a free key for AI Horde (or any listed provider) on the Keys page — no credit card required.
  3. Point your OpenAI client at the local endpoint and pick a model:
from openai import OpenAI

# FreeLLMAPI runs locally; grab your unified key + endpoint on the Keys page.
client = OpenAI(base_url="http://localhost:3001/v1", api_key="freellmapi-...")

resp = client.chat.completions.create(
    model="gemma-4-31b-it",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)
Use every one of these through one key. FreeLLMAPI is an open-source, self-hosted router that puts all these free tiers behind a single OpenAI-compatible endpoint and fails over when one is rate-limited. Browse the catalog or go live.

Frequently asked questions

Is the Gemma API really free?

Yes — these Gemma models run on genuine provider free tiers (served free by AI Horde, CLōD, Cloudflare Workers AI, ElectronHub, Google AI Studio, Logfare, NVIDIA NIM, Ollama Cloud, OpenRouter, Requesty, SEA-LION, Septor Labs). Inference costs nothing; you only add a free provider key.

Do I need a credit card?

No. The providers here offer free tiers that work without a card. You add the free key once and FreeLLMAPI routes to it.

How do I call Gemma through FreeLLMAPI?

Install the open-source router, add the provider's free key on the Keys page, then point any OpenAI SDK at your local endpoint — see the code sample above.

← Browse all 600+ free models · Best free LLM APIs 2026

Keep reading

All posts →
Provider

Free Gemini API

Google AI Studio's permanent free tier — Gemini and Gemma, no credit card.

Provider

Free DeepSeek API

DeepSeek V3, R1 and V4 served free across multiple providers.

Provider

Free Llama API

Meta's Llama models free across 12 providers, behind one key.