Provider

Free Gemma API

Google's open Gemma models, free across 16 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, 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)

ModelProviderContextFree limitsCapabilities
free-gemma-4-E4BSimpleLLM131KShared hourly/daily free-model quota—
gemma-4-31b-aura-large-v1.1ElectronHub262K$0.25/week shared free credits—
gemma-2-27b-itElectronHub8K$0.25/week shared free credits—
google-gemma-3-27b-itInferbase8K5,000 requests/month; 100 requests and $0.50 usage/day shared—
google-gemma-4-26b-a4b-itInferbase8K5,000 requests/month; 100 requests and $0.50 usage/day shared—
google-gemma-3-12b-itInferbase8K5,000 requests/month; 100 requests and $0.50 usage/day shared—
google-gemma-3-4b-itInferbase8K5,000 requests/month; 100 requests and $0.50 usage/day shared—
gemma-3-27b-itElectronHub32K$0.25/week shared free credits—
google/gemma-4-26bKiosAPI—50 requests/day shared free allowance, no top-up. Shared account allowance, not a separate grant per model.—
aisingapore/sea-lion-27bKiosAPI—50 requests/day shared free allowance, no top-up. Shared account allowance, not a separate grant per model.—
gemma-4-31b-gutenbergElectronHub262K5 rpmtools, vision
gemma-4-31b-novelistElectronHub262K5 rpmtools, vision
gemma-4-31b-cognitive-unshackledElectronHub262K5 rpmtools, vision
gemma-4-31b-claude-opus-distill-v2ElectronHub262K5 rpmtools, vision
gemma-4-31b-pantheon-reasoning-1.1ElectronHub262K5 rpmtools, vision
gemma-4-31b-isometry-rpElectronHub262K5 rpmtools, vision
gemma-4-31b-animus-v14.1ElectronHub262K5 rpmtools, vision
gemma-4-31b-artemis-31b-v1.2ElectronHub262K5 rpmtools, vision

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

← Browse all 1,300+ 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 13 providers, behind one key.