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.
- OpenRouter: 20 RPM, 50 RPD on
:freemodels, 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.
| Provider | Free allowance | Models | The catch |
|---|---|---|---|
| OpenRouter | 20 req/min, 50 req/day; 1,000/day after ever buying 10 credits | Any model with a :free suffix | The free roster changes constantly, and free variants are often heavily rate limited upstream |
| Google Gemini | Free of charge on the Flash and Flash-Lite families | Gemini 3.7 / 3.6 / 3.5 Flash, 3.5 and 3.1 Flash-Lite, 2.5 Flash and Flash-Lite | Google’s pricing table marks free-tier content as used to improve its products. Pro models are not free at all |
| Groq | 30 req/min, 1,000 req/day, 8K tokens/min, 200K tokens/day | gpt-oss-120b, gpt-oss-20b, qwen3.6-27b | Open-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/day | gpt-oss-120b, gemma-4-31b | 5 requests a minute is genuinely restrictive. Developer tier from $10 lifts limits about tenfold |
| Mistral | Free "Experiment" mode with a monthly included allowance | The Mistral family | Mistral no longer publishes the numeric limits; you read them in the admin console |
| Cloudflare Workers AI | 10,000 Neurons per day | The Workers AI catalogue | Neurons, not tokens. The per-model conversion varies, so budget by testing |
| Ollama (local) | Unlimited | Whatever fits in your RAM or VRAM | Hardware. 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.
| Limit | Value |
|---|---|
| Requests per minute, free models | 20 |
| Requests per day, no credits ever purchased | 50 |
| Requests per day, after purchasing credits | 1,000 |
| Credit purchase threshold | 10 |
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.
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.
| Groq free plan | Cerebras free trial | |
|---|---|---|
| Requests / min | 30 | 5 |
| Requests / day | 1,000 (250 on compound models) | Not published |
| Tokens / min | 8K (70K on compound) | 30K |
| Tokens / day | 200K | 1M |
| Models | gpt-oss-120b, gpt-oss-20b, qwen3.6-27b | gpt-oss-120b, gemma-4-31b |
| Signup credit | None | $5 |
| Paid entry | Developer plan | From $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.
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.
- OpenRouter API rate limits 20 RPM, 50 RPD, 1,000 RPD after 10 credits
- Gemini API pricing free-of-charge Flash models; content used to improve products on free tier
- Gemini API rate limits numeric free-tier limits no longer published, points to AI Studio
- Groq rate limits 30 RPM, 1K RPD, 8K TPM, 200K TPD
- Cerebras rate limits free trial 5 RPM, 30K TPM, 1M TPD
- Cerebras pricing $5 signup credit, Developer tier from $10
- Cloudflare Workers AI pricing 10,000 Neurons/day free, $0.011 per 1,000 Neurons
- GitHub Models retirement notice retired 30 July 2026