Skip to content
Headcount AI Get it for ₹2,999

Blog1 Dec 20268 min read

Free LLM APIs compared: Gemini, OpenRouter, Groq, Workers AI and Z.ai

Five free LLM APIs compared: how to get each key, what the free tier allows, data use and how to chain them.

By Headcount AI teamUpdated 8 min read

FREE MODEL LANESGeminifree tier, daily limitsOpenRouterfree tier, daily limitsGroqfree tier, daily limitsWorkers AIfree tier, daily limitsZ.aifree tier, daily limitsFallbacknext lane takes over
All 10 articles5 of 10

Short answer

The free LLM APIs worth using are Google's Gemini API free tier, OpenRouter's free models, Groq, Cloudflare Workers AI and Z.ai's GLM Flash models (checked 1 Dec 2026). Each has its own daily limits and data terms, so chain two or more and let the next one take over when one runs out.

Key points

  • Five free LLM APIs still hold up for agent work in December 2026
  • Each free tier has its own daily cap, reset time and data terms
  • Chain several so the next one takes over when one runs out

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.

1,000
requests a day to gpt-oss-120b on Groq's free plan, at up to 30 a minuteGroq rate limits
50
requests a day across all OpenRouter free models, until you've bought 10 creditsOpenRouter API limits
10,000
Neurons of Workers AI a day, free on every Cloudflare account, reset at 00:00 UTCCloudflare Workers AI pricing
3 models
in Z.ai's GLM Flash range are listed as free, with no daily cap publishedZ.ai pricing

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.

ProviderWhere the key comes fromFree allowanceYour data on the free tier
Google Gemini APIGoogle AI Studio, Create API keyFlash and Flash-Lite models are free of charge; your limits show in AI StudioCan be used to improve Google's products (terms)
OpenRouteropenrouter.ai, KeysModels ending in :free, 20 requests a minute and 50 a dayDepends on the provider behind each model (settings)
Groqconsole.groq.com, API KeysSet per model; gpt-oss-120b gets 1,000 requests and 200,000 tokens a dayNot kept by default
Cloudflare Workers AINo key inside a Worker; account ID and API token for REST calls10,000 Neurons a dayNot used to train models
Z.ai GLMAPI Keys page, Standard API Key (quick start)GLM-4.7-Flash, GLM-4.5-Flash and GLM-4.6V-FlashNot 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.

How To Get Your FREE Google Gemini API Key (2025)9x · 190,835 views · Mar 2025 · 1 min · views as of 1 Dec 2026

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.

Open on XCounts as of 1 Dec 2026.

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.

How to Use AI Models API for Free | OpenRouter TutorialThe Coding Koala · 185,587 views · Nov 2025 · 5 min · views as of 1 Dec 2026

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.

Open on XCounts as of 1 Dec 2026.

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:

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.

  1. 01OrderRank lanes by quality for the job, best first
  2. 02SwitchRead an HTTP 429 or "quota exceeded" as a cue to move lanes, not a failure
  3. 03ParkSkip a used-up lane until its reset instead of retrying every minute
  4. 04TrimKeep prompts under the tightest per-minute token limit, or route long jobs elsewhere
  5. 05GuardSend customer data only to providers whose terms you accept, and log which lane answered
  6. 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.

Example fallback order for text work
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 cap

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

Watch it done

See all 30 videos

Frequently asked questions

Do I need a credit card for a Gemini API key?

No. You create the key in Google AI Studio with a Google account, and the free tier needs only an active project. Setting up billing is the step that moves you to a paid tier.

How many free requests does OpenRouter give?

20 requests a minute and 50 a day, shared across every free model. Once you've bought at least 10 credits in total, the daily allowance rises to 1,000 requests.

Which free LLM API is best for AI agents?

Use more than one. Start with Gemini's free tier and keep GLM, OpenRouter, Workers AI and Groq behind it, so your agents keep working when one tier hits its daily limit.

Is it safe to send customer data to a free LLM API?

Read each provider's data terms first. Google's free tier can use your prompts to improve its products, while Groq doesn't keep inference data by default and Cloudflare doesn't train models on Workers AI content.

Sources

Checked on 1 Dec 2026. Each source is linked where it is used.

  1. Rate LimitsGroq, Dec 2026
  2. API Rate LimitsOpenRouter, Dec 2026
  3. Workers AI pricingCloudflare, Dec 2026
  4. PricingZ.ai, Dec 2026
  5. Google AI StudioGoogle, Dec 2026
  6. Gemini Developer API pricingGoogle, Dec 2026
  7. Gemini API Additional Terms of ServiceGoogle, 23 Mar 2026
  8. OpenRouterOpenRouter, Dec 2026
  9. Provider LoggingOpenRouter, Dec 2026
  10. GroqCloud consoleGroq, Dec 2026
  11. Your Data in GroqCloudGroq, Dec 2026
  12. Data usageCloudflare, Dec 2026
  13. Quick StartZ.ai, Dec 2026
  14. Rate limitsGoogle, Dec 2026
  15. Gemini 2.5 Pro is back in the free tier of the APILogan Kilpatrick on X, 27 Jun 2025
  16. ModelsOpenRouter, Dec 2026
  17. Data CollectionOpenRouter, Dec 2026
  18. Workers limitsCloudflare, Dec 2026
  19. GitHub Models is now retiredGitHub, 30 Jul 2026
  20. Usage limitsMistral AI, Dec 2026
Headcount Cloud Mission Control with agents at work, approvals waiting and recent runs
Mission Control on your own Headcount Cloud

Headcount AI

Get the whole marketing team

  • 42 AI agents in 10 departments
  • 61 ready-made flows
  • Your own free cloud, running 24/7
  • 127 extra skills and 100+ tools
  • 7 bonuses worth ₹10,493
  • Priority support: a real person within 24 hours

₹2,999 one time, no monthly fee

Runs in Claude or ChatGPT, or free on your own Cloudflare account within free-tier limits. Every post, email and spend waits for your yes.

Explore the library