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, Inferbase, JamAI Base, KiosAPI, Logfare, NVIDIA NIM, OpenRouter, Requesty, Routeway, SEA-LION, Septor Labs, SimpleLLM — reachable through one OpenAI-compatible key, with automatic failover when a provider hits its rate limit.
Free Gemma models (52)
| Model | Provider | Context | Free limits | Capabilities |
|---|---|---|---|---|
| free-gemma-4-E4B | SimpleLLM | 131K | Shared hourly/daily free-model quota | — |
| gemma-4-31b-aura-large-v1.1 | ElectronHub | 262K | $0.25/week shared free credits | — |
| gemma-2-27b-it | ElectronHub | 8K | $0.25/week shared free credits | — |
| google-gemma-3-27b-it | Inferbase | 8K | 5,000 requests/month; 100 requests and $0.50 usage/day shared | — |
| google-gemma-4-26b-a4b-it | Inferbase | 8K | 5,000 requests/month; 100 requests and $0.50 usage/day shared | — |
| google-gemma-3-12b-it | Inferbase | 8K | 5,000 requests/month; 100 requests and $0.50 usage/day shared | — |
| google-gemma-3-4b-it | Inferbase | 8K | 5,000 requests/month; 100 requests and $0.50 usage/day shared | — |
| gemma-3-27b-it | ElectronHub | 32K | $0.25/week shared free credits | — |
| google/gemma-4-26b | KiosAPI | — | 50 requests/day shared free allowance, no top-up. Shared account allowance, not a separate grant per model. | — |
| aisingapore/sea-lion-27b | KiosAPI | — | 50 requests/day shared free allowance, no top-up. Shared account allowance, not a separate grant per model. | — |
| gemma-4-31b-gutenberg | ElectronHub | 262K | 5 rpm | tools, vision |
| gemma-4-31b-novelist | ElectronHub | 262K | 5 rpm | tools, vision |
| gemma-4-31b-cognitive-unshackled | ElectronHub | 262K | 5 rpm | tools, vision |
| gemma-4-31b-claude-opus-distill-v2 | ElectronHub | 262K | 5 rpm | tools, vision |
| gemma-4-31b-pantheon-reasoning-1.1 | ElectronHub | 262K | 5 rpm | tools, vision |
| gemma-4-31b-isometry-rp | ElectronHub | 262K | 5 rpm | tools, vision |
| gemma-4-31b-animus-v14.1 | ElectronHub | 262K | 5 rpm | tools, vision |
| gemma-4-31b-artemis-31b-v1.2 | ElectronHub | 262K | 5 rpm | tools, vision |
How to use Gemma for free
- Install FreeLLMAPI — the open-source router (GitHub). It runs locally and keeps your keys on your machine.
- Add a free key for AI Horde (or any listed provider) on the Keys page — no credit card required.
- 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)
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, Inferbase, JamAI Base, KiosAPI, Logfare, NVIDIA NIM, OpenRouter, Requesty, Routeway, SEA-LION, Septor Labs, SimpleLLM). 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.