Free LLM API: every genuinely free option, with the catch for each

Several providers will run frontier-class models for you at no charge. The limits are real, the catches differ sharply, and one of them is that your prompts train the vendor’s models. Here is each option with its numbers, checked in August 2026.

By the Continuum team. We build a workbench that runs Claude Code, Codex, and their peers, so the model rates quoted here are the ones our own cost analytics ship with.

The short version

The genuinely free options in August 2026: OpenRouter free models at 20 requests a minute and 50 a day (1,000 a day once you have ever bought $10 of credit), Google Gemini’s Flash tier free of charge but with prompts used to improve Google products, Groq at 30 requests a minute and 1,000 a day on gpt-oss-120b, Cerebras with $5 of credit and 1M tokens a day, Mistral’s free Experiment mode, Cloudflare Workers AI at 10,000 Neurons a day, and running the weights yourself with Ollama for zero marginal cost.

What you need to know
  • OpenRouter: 20 RPM, 50 RPD on :free models, rising to 1,000 RPD once you have ever purchased 10 credits.
  • Gemini: Flash and Flash-Lite are free of charge, but Google’s own pricing table marks free-tier content as used to improve its products. Paid tier says no.
  • Groq: 30 RPM and 1,000 RPD on gpt-oss-120b, with a 200K tokens-per-day ceiling that binds before the request count does.
  • Local via Ollama is the only option with no rate limit and no data question. It costs hardware instead.
  • These tiers churn. GitHub Models was retired on 30 July 2026. Do not build anything load-bearing on a free tier.

The comparison, with real numbers

Every figure below was read from the provider’s own documentation in August 2026. Where a vendor has stopped publishing numbers, this table says so rather than repeating a figure from a blog post.

Free tiers.checked aug 2026
ProviderFree allowanceModelsThe catch
OpenRouter20 req/min, 50 req/day; 1,000/day after ever buying 10 creditsAny model with a :free suffixThe free roster changes constantly, and free variants are often heavily rate limited upstream
Google GeminiFree of charge on the Flash and Flash-Lite familiesGemini 3.7 / 3.6 / 3.5 Flash, 3.5 and 3.1 Flash-Lite, 2.5 Flash and Flash-LiteGoogle’s pricing table marks free-tier content as used to improve its products. Pro models are not free at all
Groq30 req/min, 1,000 req/day, 8K tokens/min, 200K tokens/daygpt-oss-120b, gpt-oss-20b, qwen3.6-27bOpen-weight models only. The daily token cap is the real ceiling, not the request count
Cerebras$5 of credit on signup; 5 req/min, 30K tokens/min, 1M tokens/daygpt-oss-120b, gemma-4-31b5 requests a minute is genuinely restrictive. Developer tier from $10 lifts limits about tenfold
MistralFree "Experiment" mode with a monthly included allowanceThe Mistral familyMistral no longer publishes the numeric limits; you read them in the admin console
Cloudflare Workers AI10,000 Neurons per dayThe Workers AI catalogueNeurons, not tokens. The per-model conversion varies, so budget by testing
Ollama (local)UnlimitedWhatever fits in your RAM or VRAMHardware. gpt-oss:120b wants an 80GB-class GPU or a very large unified-memory Mac

OpenRouter free models

OpenRouter aggregates hundreds of models behind one OpenAI-compatible endpoint, and a subset carry a :free suffix. The rate limits on those are documented precisely, which is more than most of this list manages.

From OpenRouter’s API limits documentation.
LimitValue
Requests per minute, free models20
Requests per day, no credits ever purchased50
Requests per day, after purchasing credits1,000
Credit purchase threshold10

The threshold is worth reading carefully: it is a lifetime condition, not a balance. Once you have ever bought 10 credits, your free-model daily cap is 1,000 requests, and it stays there even after you have spent that balance. Ten dollars is the cheapest twentyfold increase in this entire guide.

Calling a free model. Substitute a model that is currently on the free roster.
curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "<vendor>/<model>:free",
    "messages": [{"role": "user", "content": "Explain a git worktree in two sentences."}]
  }'

Google Gemini: free, with a real condition

Gemini has the most generous free offering here by capability. The entire Flash and Flash-Lite line is listed as "free of charge" for standard input and output: Gemini 3.7 Flash, 3.6 Flash, 3.5 Flash, 3.5 Flash-Lite, 3.1 Flash-Lite, and 2.5 Flash and Flash-Lite. (Gemini 2.0 Flash was shut down on 1 June 2026.) The Pro models are not included.

The second thing to know is that Google stopped publishing free-tier RPM and RPD figures in its rate-limits documentation. That page now says limits "can be viewed in Google AI Studio" and points at the dashboard. Any specific requests-per-minute number you find for the Gemini free tier in a blog post is therefore unverifiable against a primary source, including numbers that were correct when written. Check your own account.

Groq and Cerebras: fast, open-weight, small caps

Both sell inference speed on custom silicon, and both let you try it free with open-weight models. They are the best options in this guide when latency is what you are testing.

Free-tier limits from each vendor’s rate-limit documentation.
Groq free planCerebras free trial
Requests / min305
Requests / day1,000 (250 on compound models)Not published
Tokens / min8K (70K on compound)30K
Tokens / day200K1M
Modelsgpt-oss-120b, gpt-oss-20b, qwen3.6-27bgpt-oss-120b, gemma-4-31b
Signup creditNone$5
Paid entryDeveloper planFrom $10, roughly 10x the limits

The Groq numbers hide a trap worth doing the arithmetic on: 1,000 requests a day sounds generous, but the 200,000 tokens a day ceiling means an average of 200 tokens per request before you hit the wall. For a chat toy that is fine. For a coding agent, where a single turn routinely carries tens of thousands of tokens of context, the daily budget is closer to a handful of turns.

Local models: the zero-cost floor

Running the weights on your own machine is the only entry here with no rate limit, no daily cap, no key, and no question about who reads your prompts. Ollama exposes an OpenAI-compatible endpoint on localhost, so most tooling points at it with one environment variable.

A local OpenAI-compatible endpoint in two commands.
ollama pull gpt-oss:20b
ollama serve

# then point any OpenAI-compatible client at it
export OPENAI_BASE_URL=http://localhost:11434/v1
export OPENAI_API_KEY=ollama

The cost moved rather than disappeared. gpt-oss-20b and its 20B-class peers run acceptably on a 16GB machine. The 120B-class models, gpt-oss-120b included, want an 80GB-class GPU or a large unified-memory Mac, and on CPU alone they will run but slowly enough that you will stop using them. Weigh that against a paid API before buying hardware: for most individuals the hardware costs more than years of the API would.

Credits, and the churn problem

Beyond permanent free tiers there are one-off credit pools, which are worth taking and dangerous to plan around.

  • Signup credits. Cerebras gives $5. Most inference vendors give something similar for a new account. Fine for evaluation, gone in a week of real use.
  • Startup programmes. Most major labs and clouds run one, typically gated on an incorporated company and sometimes on an investor introduction. The amounts are large enough to matter and the applications take weeks.
  • Student and education access. Several vendors discount or waive fees with a verified .edu address. Terms change every academic year.
  • Cloudflare Workers AI. 10,000 Neurons a day free, then $0.011 per 1,000 Neurons. Neurons are a normalised compute unit rather than tokens, so the effective free allowance depends heavily on which model you pick.

For the tier above free, where you are paying but want the cheapest workable rate, see the cheapest LLM APIs and inference providers compared.

Questions people ask

What is the best free LLM API?

For capability, Google Gemini: the whole Flash and Flash-Lite line is free of charge, with the condition that free-tier content is used to improve Google products. For speed, Groq at 30 requests a minute and 200K tokens a day. For breadth of models, OpenRouter free variants at 20 requests a minute and 50 a day. For privacy and no limits at all, run a model locally with Ollama.

Is the Gemini API free?

The Flash and Flash-Lite models are free of charge on the free tier, and the Pro models are not. The condition is stated in Google’s own pricing table: on the free tier, content is used to improve Google products, while on paid tiers it is not. Google no longer publishes the free-tier request-per-minute figures in its docs and points you to the AI Studio dashboard instead.

How many free requests does OpenRouter give?

20 requests per minute on any model with a :free suffix, and 50 requests per day. Once you have purchased at least 10 credits at any point in your account history, the daily cap rises to 1,000 requests per day and stays there. The per-minute limit does not change.

Can I use a free LLM API for a coding agent?

For experimenting, yes. For real work, the token ceilings bite before the request counts do: Groq’s free plan allows 200K tokens a day, which is only a few agent turns once you count file context. Local models via Ollama are the only option with no cap, and OpenRouter after a one-off 10 credit purchase is the cheapest way to raise a real limit.

Are free LLM APIs safe for private code?

Check the data policy per provider, because they differ. Google states that free-tier content is used to improve its products while paid-tier content is not, which rules the free tier out for proprietary or client code. Running a model locally with Ollama is the only option here where the question does not arise at all.

Is GitHub Models still free?

No. GitHub Models was retired on 30 July 2026 and its documentation now directs users to Azure AI Foundry and GitHub Copilot instead. It is a good example of why a free tier should never sit on a production path.

Sources

Every figure above was read from these pages on August 2026. Vendors reprice without notice; if you find a stale number, tell us.

  1. OpenRouter API rate limits 20 RPM, 50 RPD, 1,000 RPD after 10 credits
  2. Gemini API pricing free-of-charge Flash models; content used to improve products on free tier
  3. Gemini API rate limits numeric free-tier limits no longer published, points to AI Studio
  4. Groq rate limits 30 RPM, 1K RPD, 8K TPM, 200K TPD
  5. Cerebras rate limits free trial 5 RPM, 30K TPM, 1M TPD
  6. Cerebras pricing $5 signup credit, Developer tier from $10
  7. Cloudflare Workers AI pricing 10,000 Neurons/day free, $0.011 per 1,000 Neurons
  8. GitHub Models retirement notice retired 30 July 2026
Try it

Run every agent
from one place.

Continuum drives Claude Code, Codex, and peers under your own subscriptions, with live quota gauges and spend by repo. The app is free. Mac is stable; Windows and Linux desktop are beta.

free app · your subscriptions · local-first