You have an idea for an agent. Maybe it sorts support emails, maybe it drafts cold emails from a lead list. Before paying per token, you want to watch it work on real data for a week or two.
That's what free LLM APIs are for. A free LLM API is a provider's free tier: you call a language model with an API key and pay nothing, inside per-minute and daily limits the provider sets and can change whenever it likes.
The catch sits in that last clause. Four of the five providers below publish their numbers, and this is what they said on 1 Dec 2026. Google shows yours inside AI Studio instead.
Which free LLM APIs can you use right now?
Gemini, OpenRouter, Groq, Workers AI and Z.ai's GLM Flash models all have free tiers that hold up for real agent work. Where they differ is the key, the size of the allowance and what happens to your prompts.
| Provider | Where the key comes from | Free allowance | Your data on the free tier |
|---|---|---|---|
| Google Gemini API | Google AI Studio, Create API key | Flash and Flash-Lite models are free of charge; your limits show in AI Studio | Can be used to improve Google's products (terms) |
| OpenRouter | openrouter.ai, Keys | Models ending in :free, 20 requests a minute and 50 a day | Depends on the provider behind each model (settings) |
| Groq | console.groq.com, API Keys | Set per model; gpt-oss-120b gets 1,000 requests and 200,000 tokens a day | Not kept by default |
| Cloudflare Workers AI | No key inside a Worker; account ID and API token for REST calls | 10,000 Neurons a day | Not used to train models |
| Z.ai GLM | API Keys page, Standard API Key (quick start) | GLM-4.7-Flash, GLM-4.5-Flash and GLM-4.6V-Flash | Not stated on the pricing page |
Check the linked page before you build on any of these numbers. Google took one model off its free tier for about six weeks in 2025, so they do move.
How do you get a free Gemini API key?
Open Google AI Studio, sign in with a Google account and click Create API key. Pick a project or let it create one, then copy the key.
Leave billing alone. The free tier only needs an active project, and Google's rate limits page says moving to a paid tier starts with setting up billing in AI Studio.
- Your limits depend on the model and your tier. You see them in AI Studio, not in a public table.
- Daily quotas reset at midnight Pacific time. In India that's 13:30 in winter and 12:30 while the US is on daylight saving.
- Free-tier prompts can be used to improve Google's products and read by human reviewers. The terms put it plainly: "Do not submit sensitive, confidential, or personal information to the Unpaid Services."
Jan from 9x does the same clicks on video in about 90 seconds and pauses on what the free plan includes. The video is from March 2025, so the model names on screen are older than today's list.
Free tiers change, sometimes overnight
Providers don't owe anyone a free tier, and they adjust them with little warning. In May 2025, Google's Logan Kilpatrick posted that Gemini 2.5 Pro was leaving the API free tier for a while because demand was so high.
Logan Kilpatrick@OfficialLoganKThere continues to be huge demand for Gemini 2.5 Pro!!
We are going to temporarily pause the Gemini 2.5 Pro free tier access in the API in order to ensure devs building can keep scaling up. You can still access the model for free in http://ai.studio!
It came back on 27 Jun 2025, about six weeks later. Any app that called only that model on a free key had nothing to fall back on in between.
So plan for the day a lane disappears. A second and third provider cost you nothing and turn an outage into a slowdown.
How do OpenRouter's free models work?
One OpenRouter key reaches many models from many providers, and some of them have a free variant whose id ends in :free. All free variants share one allowance: 20 requests a minute and 50 a day, or 1,000 a day once you've bought at least 10 credits in total.
- The free list changes as providers come and go. Search "free" on the models page instead of hard-coding a single model id.
- OpenRouter doesn't store your prompts unless you opt in. The provider behind a free model might, so switch off providers that may train on your data. Free and paid models have separate switches.
The Coding Koala's five-minute tutorial gets a key, filters the model list down to the free ones and makes a first call from Python. It's the quickest way to see the :free ids in practice.
Is the Groq API free?
Yes, on its Free plan, with limits set per model. For gpt-oss-120b that's 30 requests a minute, 1,000 a day, 8,000 tokens a minute and 200,000 tokens a day, and the limits apply to your whole organization rather than each person in it.
Groq is quick. Its weak spot is that 8,000 tokens a minute, because one prompt carrying a long document can eat most of a minute's allowance. Give it short jobs, like sorting a reply or writing a subject line.
On data, Groq says it doesn't keep inference data by default. It may log requests for up to 30 days to fix reliability problems or look into abuse.
What do Workers AI and Z.ai add?
Every Cloudflare account gets 10,000 Neurons of Workers AI a day at no charge, on the free and paid plans alike. Neurons are Cloudflare's unit of model work, so text, images and transcripts all draw from one pool. It resets at 00:00 UTC, which is 05:30 in India.
On the free plan, calls fail with an error once the pool is empty. Two things still make it handy for agents: code that runs on Workers needs no separate key, and Cloudflare says it doesn't train models on Workers AI content.
The same free plan allows 100,000 Workers requests a day, plenty for a small agent server.
Z.ai, the company behind the GLM models, lists GLM-4.7-Flash, GLM-4.5-Flash and the vision model GLM-4.6V-Flash as free. Its launch post for 4.7-Flash in January 2026 gave the limit in brackets: one request at a time.
Z.ai@Zai_orgIntroducing GLM-4.7-Flash: Your local coding and agentic assistant.
Setting a new standard for the 30B class, GLM-4.7-Flash balances high performance with efficiency, making it the perfect lightweight deployment option. Beyond coding, it is also recommended for creative writing, translation, long-context tasks, and roleplay.
Weights: http://huggingface.co/zai-org/GLM-4.7-Flash
API: http://docs.z.ai/guides/overview/pricing
- GLM-4.7-Flash: Free (1 concurrency)
- GLM-4.7-FlashX: High-Speed and Affordable
Treat GLM as a steady backup that takes one call after another, not a lane for parallel work. And keep customer data off it until you've read Z.ai's terms yourself.
Which free APIs should you cross off?
Two providers that used to sit on lists like this one don't work for a free agent any more:
- GitHub Models was retired on 30 Jul 2026.
- Mistral's Free mode has no API usage. Calls from a free key fail with HTTP 402 until you turn on pay-as-you-go or move to a plan that includes the API.
How do you chain free APIs so one takes over?
Put the free APIs in an ordered list and send each request to the first one with room left. When one answers with a rate-limit or quota error, park it until its reset and give the same request to the next.
- 01OrderRank lanes by quality for the job, best first
- 02SwitchRead an HTTP 429 or "quota exceeded" as a cue to move lanes, not a failure
- 03ParkSkip a used-up lane until its reset instead of retrying every minute
- 04TrimKeep prompts under the tightest per-minute token limit, or route long jobs elsewhere
- 05GuardSend customer data only to providers whose terms you accept, and log which lane answered
- 06BackstopIf a job must finish, put a paid model last, behind a daily spend cap
Written down for text work, our order looks like this. Groq sits near the end because of its per-minute token limit.
1. Gemini free key resets at midnight Pacific
2. Z.ai GLM-4.7-Flash one request at a time
3. OpenRouter :free models 20 a minute, 50 a day
4. Workers AI 10,000 Neurons a day, resets 00:00 UTC
5. Groq gpt-oss-120b short prompts only
6. Paid model (optional) only under your daily spend capHow does Headcount Cloud use 10 free AI lanes?
Headcount Cloud is the 24/7 agent farm that comes with Headcount AI. It runs on your own free Cloudflare account and chains 10 free lanes in the way described above: when one runs out, the next takes over and the dashboard tells you. Four of the 10 need no key.
- 5 text lanes: Gemini, Z.ai GLM, OpenRouter free models, Workers AI and Groq.
- 5 media lanes: FLUX images, Aura voice and Whisper transcripts on Workers AI, LTX and Wan video, and Gemini video understanding.
By our estimate, a free Gemini key covers about 500 agent steps a day and Workers AI about 100, shared with images and voice. Paid models run only under the spend cap you set.
The free AI keys and spend caps guide walks through each key, and the Headcount Cloud setup guide deploys the farm in about 20 minutes, once. Headcount AI costs ₹2,999, one time. If you'd rather stay inside a chat app, see how far Claude's free plan goes.










