Free AI APIs for Developers (2026): Real Rate Limits
Every AI company offers a free tier. Most developer guides list them without mentioning the actual limits. Here’s the honest breakdown — what you get for free, when you’ll hit the wall, and what the upgrade costs. This covers raw API access; if you want the same treatment applied to editor and CLI subscriptions instead, see free AI coding tools in 2026.
If you want the short answer: start on Gemini 3.8 Flash. It’s on Google’s free tier with input listed as “Free of charge”, though the actual limits now only show up in your own AI Studio console. Use Groq’s Free plan with openai/gpt-oss-120b as the fallback, at 30 RPM, 1,000 requests a day and 200K tokens a day. Anthropic gives new users only “a small amount” of credit with no figure attached. OpenAI needs $5 paid before you can call GPT-6 Luna or GPT-4.1 mini, because neither is on its Free tier. GPT-4.1 mini is deprecated (off 14 January 2027), and GPT-6 Luna is its named replacement. Together AI doesn’t offer free trials at all.
Last verified: 7 November 2026.
What changed on 7 November: Google deprecated gemini-2.5-flash and gemini-2.5-pro on 2 November. From 1 December 2026 their requests route to gemini-3.5-flash-lite and gemini-3.8-flash and bill at those models’ rates, and Google lists breaking API changes, so update the model string before then. Every other number on the page re-checked unchanged. Full history is in the log at the bottom.
The Complete Free Tier Comparison
| Provider | Free access | Rate limit | Volume cap | Best model available | Source (checked 2026-11-07) |
|---|---|---|---|---|---|
| Google Gemini | Free tier, input “Free of charge” | No longer published | No longer published | Gemini 3.8 Flash (2.5 Flash deprecated; routes to 3.5 Flash-Lite from 1 Dec) | rate limits, changelog |
| Groq | Free plan, $0 | 30 RPM, 8K tokens/min | 1,000 req/day, 200K tokens/day | gpt-oss-120b | rate limits |
| Anthropic Claude | ”A small amount” of credit, no figure given | No published free-tier RPM | Start tier: $500/month spend cap | Claude Opus 5.5 (Anthropic’s suggested start); Fable 5.1 for hardest work | pricing |
| OpenAI | Free tier exists, but not for GPT-6 Luna or GPT-4.1 mini | 5,000 RPM at Build, after $5 paid; 2M tokens/min | No daily figure; $500/month spend cap at Build | GPT-6 Luna (GPT-4.1 mini deprecated, off 14 Jan 2027) | gpt-6-luna, gpt-4.1-mini |
| Together AI | None. No free trials | n/a | $15 minimum first purchase to use at all, $5 after that | Open models (serverless list varies; Llama 3.3 70B isn’t on serverless, its page says “Launching soon”) | billing docs |
| HuggingFace | None. Free users must buy credits | n/a | No monthly credit on a free account | Mostly CPU-scale models | pricing |
| Replicate | Select models free to run, then billing required | 6 req/min (granted credit, no card on file); 600 req/min otherwise | Pay per prediction | Stable Diffusion, Flux | rate limits |
| SpaceXSI / xAI (Grok) | Signup credit not confirmable | 150 RPS (T0, Grok 4.7) | 50M tokens/min (T0) | Grok 4.7 | rate limits |
| Mistral | Free mode, limits shown only in your console | No longer published | No longer published | Not published per tier; Small 4 / Large 4 listed (Large 3 and Medium 3.5 deprecated, retire 30 Apr 2027) | API pricing |
| Cohere | Free trial key | 20 req/min (Chat API) | 1,000 API calls/month | Command A+ | rate limits |
Tier 1: Best Free Tiers (Actually Usable)
Google Gemini API
Still the most generous free tier I’ve used. It’s also the one that got harder to write about honestly, and in September it moved out from under the code sample that used to sit here.
Correction, 26 September: don’t start a new project on Gemini 2.5 Flash. Google’s changelog entry for 18 September says “we are limiting access to the 2.5 models to users who have actively used them in the past.” At the time it was careful to add that they “are not deprecated and will continue to be served until further notice through the API.” So existing 2.5 code kept running. If you’re new, the model this page used to call the sensible default, and the gemini-2.5-flash string the old sample used, may simply not be open to you. The changelog doesn’t say what “limiting access” looks like from a new account’s side, whether that’s an error or just worse service, and I’m not going to guess. Google’s instruction for everyone else is short: “For any new projects, use our latest models: 3.5 Flash-Lite or 3.8 Flash.”
Update, 7 November: 2.5 Flash and 2.5 Pro are deprecated, and 1 December is the deadline. Google’s changelog entry for 2 November says gemini-2.5-flash “is deprecated and is no longer available to select in Google AI Studio.” It goes on: “Effective December 1, 2026, all API requests to gemini-2.5-flash will automatically route to gemini-3.5-flash-lite and be billed at Gemini 3.5 Flash-Lite rates.” gemini-2.5-pro gets the same treatment on the same day, routing to gemini-3.8-flash at Gemini 3.8 Flash rates.
Don’t read “automatically route” as “nothing to do”. Google tells you to “update your model string” before 1 December and warns that “Breaking API changes include function calling and thought_signature validation, thinking_level replacing thinking_budget, and removed sampling parameters and prefilled model turns.” If your 2.5 code uses function calling, thinking_budget or sampling parameters, test it against the new model now rather than on 1 December. The deprecations page carries the same 1 December date, and notes that shutdown dates are “the earliest possible dates on which a model might be retired.”
Google no longer publishes free-tier RPM, TPM or requests-per-day in a per-model table. The rate limits page now says your limits “depend on a variety of factors (such as your usage tier) and can be viewed in Google AI Studio,” and the link to view them requires a Google login. The “15 RPM, 1M tokens/day” figure you’ll still find quoted around the web is no longer confirmable from a primary source. Check your own console. That’s the only number that applies to your account anyway.
Gemini 3.8 Flash went GA on 2 September, and Google describes it as “our most intelligent Flash model.” It’s also the model Google’s own “Getting started” guide now uses, through a different SDK pattern from the genai.configure() / GenerativeModel() one this page used to show. Here’s the guide’s sample exactly as Google prints it, prompt included:
from google import genai
client = genai.Client()
interaction = client.interactions.create(
model="gemini-3.8-flash",
input="Explain how AI works in a few words"
)
print(interaction.output_text)
I haven’t edited a character of it. Google calls this the Interactions API, and the guide walks through the rest, so read that page before you wire it into anything.
Free limit: input is listed as “Free of charge” on the free tier. The request ceiling is console-only now. Paid tier (3.8 Flash, standard): $0.75 per 1M input and $3.75 per 1M output through 31 December 2026, then $1.50/$7.50 from 1 January 2027 Best for: Prototyping, high-volume batch processing, long-context tasks
Google’s pricing page lists that exact price, and the same 1 January jump, for 3.6 Flash too. Two generations at one price is odd enough that you should look at the rendered page yourself before budgeting a year out on it. Correction (15 August): this page once printed $1.50/$7.50 as today’s Flash price. That’s the 2027 price, twice what you’d pay right now.
If you had gemini-3.7-flash in your config, you’ve been running 3.8 since 8 October whether you noticed or not. Google’s changelog for that day says it “has been replaced by gemini-3.8-flash”, and requests to the old model string are now routed to 3.8 automatically. It was released on 13 August, so it lasted under two months as the current Flash. The deprecations page gives no shutdown date, and 3.7 Flash is gone from both the pricing and models pages. Change the string anyway, so your logs name the model that’s actually answering.
Groq — Fastest Inference
Groq runs open-source models on custom LPU hardware. Its console lists two separate plans, a Free plan at $0 and a paid, pay-per-token Developer plan. The numbers below are the Free plan’s, and that Free plan is still the one entry in this table that’s both genuinely free and genuinely usable. The Developer plan is what you upgrade to for higher limits plus Batch and Flex processing.
from groq import Groq
client = Groq(api_key="YOUR_API_KEY")
response = client.chat.completions.create(
model="openai/gpt-oss-120b",
messages=[{"role": "user", "content": "Write a Python function to validate email"}]
)
print(response.choices[0].message.content)
Free limit (Free plan, openai/gpt-oss-120b): 30 RPM, 8,000 tokens/min, 1,000 requests/day, 200,000 tokens/day
Paid tier: Developer plan, pay per token
Best for: Real-time applications, chatbots, any use case where latency matters
The daily ceilings are the ones nobody notices until they run a batch job, and then they notice hard. 200K tokens/day sounds like a lot, but at a rough 2,500 tokens per call (my own working figure, not Groq’s) that’s about eighty calls. Budget accordingly.
Correction, 21 August: llama-3.3-70b-versatile is gone. Groq shut it down on 16 August 2026, along with llama-3.1-8b-instant, the day after my 15 August check found it listed as active production, and its deprecations page names openai/gpt-oss-120b as the replacement (and openai/gpt-oss-20b for 8B Instant). The model’s own docs page still shows it with an “Enterprise” badge and no deprecation banner, but the deprecations list and the Free plan table both say it’s gone for free-plan users, and I’ve dropped the old limits this page printed for it rather than compare against numbers I can’t re-check, so re-tune any retry logic against the four above.
Correction, 26 September: groq/compound and groq/compound-mini are gone. This section used to warn that they had no tokens-per-day figure but a hard 250 requests/day; Groq announced their deprecation on 24 August and decommissioned both on 21 September, after which requests to those model IDs return errors. The same page shows qwen/qwen3.6-27b, the Preview model Groq had also offered as a Llama 3.3 70B replacement, shut down on 14 September; its successor qwen/qwen3.8-27b is still a Preview model, on the same 30 RPM / 1,000 requests a day / 8,000 tokens a minute / 200,000 tokens a day limits as gpt-oss-120b.
Tier 2: Credits That Aren’t What You Think
Anthropic Claude API
Claude is still what I reach for when the code has to be right. The free-tier story changed shape completely, though.
import anthropic
client = anthropic.Anthropic(api_key="YOUR_API_KEY")
message = client.messages.create(
model="claude-sonnet-5-5",
max_tokens=1024,
messages=[{"role": "user", "content": "Write a React hook for debounced search"}]
)
print(message.content[0].text)
The model ID matters. This page previously used claude-sonnet-4-20250514, which is now listed as retired except on Bedrock and Google Cloud — it will error against the first-party API. And the table said “Claude 3.5 Sonnet,” which no longer appears on Anthropic’s current or legacy model tables — it survives only in the deprecation history, retired 28 October 2025. The current Sonnet string is claude-sonnet-5-5 (Claude Sonnet 5.5). claude-sonnet-5 still works. Anthropic’s two pages describe it differently: the models overview now lists Claude Sonnet 5 under “Legacy models (still available)”, while the deprecations page still marks claude-sonnet-5 Active, retiring “Not sooner than June 30, 2027”. Nothing breaks if you leave it, but new Sonnet code should use the string above. Anthropic’s own suggested starting model is Claude Opus 5.5; the sample uses Sonnet 5.5 because it costs half as much ($2/$10 per MTok against Opus 5.5’s $4/$20), which matters when you’re on a small credit.
Price. Claude Sonnet 5.5 is $2 per MTok input and $10 per MTok output, the same as Sonnet 5. Sonnet 5’s $2/$10 is no longer introductory. Anthropic’s pricing page says it plainly: “The $2/$10 per million input/output token pricing for Claude Sonnet 5, announced at launch as introductory pricing through August 31, 2026, is now the standard price. The previously scheduled increase to $3/$15 per million input/output tokens on September 1, 2026 will not occur.” If you budgeted for the September jump this page previously warned about, you can unbudget it. Re-checked against that page on 7 November 2026.
Free credit: Anthropic’s pricing FAQ now says only that “new users receive a small amount of free credits to test the API.” No dollar figure. The old $5 number is still repeated everywhere, but it’s not on Anthropic’s page anymore, so I’m not printing it as fact.
Rate limits: there is no numbered free tier. Anthropic publishes usage tiers keyed to a monthly spend cap. The lowest documented one (Start) gives Sonnet 5.5 a 4,000 RPM ceiling, 2,000,000 input tokens/min and 400,000 output tokens/min against a $500/month cap. That RPM figure was 1,000 at my 24 October check. Sonnet 5 is still at 1,000 RPM on Start, with the same token limits, so if you’re choosing between the two on a new account, the 5.5 string buys you four times the request headroom at the same price. New organisations may land in an “Evaluation tier” with lower limits that Anthropic doesn’t publish.
If you want Claude for daily coding, the API isn’t the play — Claude Code is included in Claude Pro, which is $17/month billed annually or $20/month billed monthly, and that is far more cost-effective than metering an agentic session. I’ve written up whether the Claude API is free in more detail.
OpenAI API
GPT-4.1 mini has no Free-tier access. None. OpenAI’s model page starts its rate-limit table at Build, and Build requires $5 paid, not $5 given, the same threshold Tier 1 had. The ladder on OpenAI’s rate-limits page is now Free, Build, Launch and Grow, and the numbered tiers no longer appear there. Once you’ve paid, GPT-4.1 mini gets 5,000 RPM and 2,000,000 tokens/min at standard context, under a $500/month spend cap. There’s no requests-per-day figure anymore. The new table swaps that column for a batch queue limit, 20,000,000 at Build. Watch the long-context rows, though: past 128K input tokens, Build drops to 500 RPM.
It has an end date now. On 14 October OpenAI added GPT-4.1 mini, and GPT-4.1 with it, to its deprecations page: shutdown on 14 January 2027, recommended replacement gpt-6-luna. The limits and price here hold until then, but new code should plan for the switch.
The switch saves money. GPT-6 Luna’s model page lists $0.10 input, $0.01 cached input and $0.50 output per 1M tokens. That’s the standard band, up to 272K input tokens; above 272K input tokens, OpenAI’s pricing page lists $0.20 input, $0.02 cached input and $0.75 output. The standard band is a quarter of GPT-4.1 mini’s input price and under a third of its output price, with identical Build limits (5,000 RPM, 2,000,000 tokens/min). Its rate-limit table also starts at Build, though, so moving to it won’t get you off the $5.
There is a genuine no-payment Free tier at OpenAI, restricted to allowed geographies with a $100/month usage limit. Neither GPT-6 Luna nor GPT-4.1 mini is on it, which is why the sample below needs a paid key.
from openai import OpenAI
client = OpenAI(api_key="YOUR_API_KEY")
response = client.chat.completions.create(
model="gpt-6-luna",
messages=[{"role": "user", "content": "Generate a SQL schema for a blog"}]
)
print(response.choices[0].message.content)
Cost to start: $5, paid Paid tier: GPT-6 Luna at $0.10/$0.50 per 1M tokens, cached input $0.01. GPT-4.1 mini, until it shuts down, is $0.40/$1.60 on the Standard service tier, cached input $0.10 Best for: General-purpose tasks, function calling, structured outputs
GPT-4.1 mini’s $0.40/$1.60 was the single number in the big August sweep that verified as still exactly correct. Everything else moved.
One housekeeping note: OpenAI’s docs moved from platform.openai.com to developers.openai.com. Old links 301 to the new host, but if you’ve got docs URLs in a runbook, update them.
Together AI
Together is still widely listed as giving new accounts “$5 free credit.” It doesn’t. Together’s own billing docs say: “Together AI does not currently offer free trials.”
There is no credit. You have to buy credit before you can use the platform at all, and the minimum is “$15 for your organization’s first purchase and $5 after that.”
The model this page used to price there has moved, too: Together’s own Llama 3.3 70B page now says “This model is not available on Together’s Serverless API,” next to a “Launching soon” notice. Even if it comes back, Together does not belong in a free-tier article as anything other than a correction, so I’ve pulled it from the free stack below.
SpaceXSI / xAI (Grok API)
The widely-repeated claim is a $25 signup credit plus $150/month for opting into data sharing. I could not confirm either figure. I checked xAI’s console billing docs, the rate-limits page and the models page, most recently on 7 November. None of them mentions a signup credit or a data-sharing credit, and none mentions $25 in any context. The only purchase figure xAI documents is on the console billing page, which sets the top-up amount at “(minimum $5)”. This page previously said the top-up minimum was $25, and I’d guessed that was where the rumour started. That $25 isn’t on the page now, so the guess goes with it. The promo may well exist. But xAI doesn’t document it, and I’m not stating it as fact because affiliate sites copied each other.
What xAI does publish is rate limits in requests per second. The entry tier (T0) on Grok 4.7 is 150 RPS and 50M tokens/min. xAI derives that per-second figure from your per-minute budget — its docs say the per-second limit is “derived from your per-minute request budget (RPM / 48, with a minimum of 2)”, so you can’t spend a whole minute’s requests in one burst. (This page said RPM divided by 60 until 19 October; that was wrong.)
xAI now carries the SpaceXSI name in its docs and release notes. The API, the console and the domain are still xAI and x.ai, though, so that’s what this section is filed under, and it’s the name you’ll search for.
The lineup keeps moving. “Grok 3 mini” is gone, and the flagship has changed twice since August. Grok 4.6 took over between my 10 and 15 August checks; as of 26 September xAI’s models page points past it to Grok 4.7: “For everything else, including code, use Grok 4.7. It is the most capable model we’ve built.” Grok 4.7 costs the same as Grok 4.6, $2.00/$6.00 per 1M tokens under 200K context and $4.00/$12.00 at or over it. Grok 4.6 carries no deprecation notice; it has simply stopped being the one xAI recommends.
The rest of the lineup is Grok 4.6, Grok 4.5, Grok 4.3, the Grok 4.20 family, and Grok Build 0.1. Grok Build 0.1 is the cheapest at $1.00/$2.00 per 1M tokens under 200K context.
Tier 3: Specialized Free Tiers
HuggingFace Inference
Restructured, and not in your favour. The old rate-limited-but-free serverless Inference API has been folded into “Inference Providers,” and free accounts now get no monthly credit at all. The pricing table’s Free Users row reads “None”, and the page says free users can use Inference Providers “by purchasing credits, or by upgrading to PRO.” As recently as 3 October that row said $0.10 a month. PRO accounts get $2.00/month, Team and Enterprise get $2.00 per seat per month.
So there’s no free tier here anymore, not even a taste. This page previously showed a code sample hitting meta-llama/Llama-3.3-70B-Instruct through the old serverless endpoint, and I’d already removed it when the allowance was ten cents; on a free account today it won’t run until you’ve bought credits. HuggingFace’s own docs note that since July 2025 the hf-inference provider focuses mostly on CPU inference: embeddings, text ranking, text classification, smaller LLMs. Use it for what it’s now scoped to, and read the pricing page before you wire anything up.
Replicate
Pay-per-prediction pricing. Correction (15 August): this page previously said Replicate offers “trial credits” — its pricing page publishes no credit figure of any kind, and what the billing docs actually say is “You can run select models on Replicate for free, but after a bit you’ll be asked to set up billing.” So what you can count on is free runs of selected models. Replicate does grant credit to some accounts — its rate-limits page refers to accounts that “have been granted credit and don’t have a payment method on file” — but it never says how much, or who gets it.
Billing is per-second for hosted models and per-token for the LLMs it fronts.
Correction (29 August): this section used to warn you off Replicate’s Claude listing, and that warning is now wrong. Until recently the model behind it was anthropic/claude-3.7-sonnet at $3.00/$15.00 per million tokens — an old model at a markup. That listing is gone (its page 404s, and claude no longer appears anywhere on Replicate’s pricing page), and Replicate now fronts nine Anthropic models, including Claude Opus 5.5, Sonnet 5, Fable 5, Sonnet 4.6 and Opus 4.7 (Opus 5.5 showed up after my 19 October check; Sonnet 5.5 still isn’t there). Claude Sonnet 5 there is $2 per million input tokens and $10 per million output, and Opus 5.5 is $4/$20. Both are exactly what Anthropic charges first-party. The markup is gone along with the stale model, so routing Claude through Replicate to keep one billing relationship no longer costs you anything on the token price. Check Opus 4.7’s price in your own console before you rely on it.
Best for: Image generation, audio models, niche open-source models
Mistral
Mistral still has a free API tier, but it no longer publishes the numbers for it. Its help centre says “Free mode (the default) has the lowest limits, intended for evaluation and prototyping”, and points you to the Limits page of your Admin panel for the actual figures. Its API pricing page carries no RPM or tokens-per-day figure for it. So the “1 RPM, 500K tokens/day” figure still circulating for Mistral’s free tier is unconfirmable from anything Mistral publishes.
The current small model is specifically Mistral Small 4 (v26.03), a hybrid instruct/reasoning/coding model. The bigger general-purpose model to know is Mistral Large 4.
Correction, 31 October: Large 3 and Medium 3.5 are deprecated. This page previously said Large 3 was still listed with no deprecation notice. As of today that’s wrong. Mistral’s models overview now carries both Mistral Large 3 (v25.12, mistral-large-2512) and Mistral Medium 3.5 (v26.04, mistral-medium-3-5) in its deprecation table, deprecated 31 October 2026, retiring 30 April 2027, with Large 4 named as the alternative for both. Neither name appears on the pricing page anymore. If either string is in your config, that’s your deadline, and I wouldn’t leave the switch until April.
Large 4 is also cheaper than at my 24 October check. The pricing page now shows $0.70 input, $0.07 cached input and $2.10 output per 1M tokens, roughly half the $1.36/$0.14/$4.18 it showed on 24 October. There’s no sale label and no struck-through original price. Whether that’s a permanent repricing or a temporary rate, I couldn’t confirm from any second source, so budget at it for now and re-check before you commit to anything long-term. Until this update, this page quoted Large 4 at a $0.68/$2.09 sale price, so if you budgeted off that, you’re within a couple of cents.
Cohere
Two numbers get conflated constantly here, and they’re separate things: the trial-key rate limit is 20 requests/minute on the Chat API, and the volume cap is 1,000 API calls per month. A rate and a quota, not one figure.
Cohere splits its trial limits across two tables. The Chat API table lists nine models and puts every one of them at 20 req/min. The other-endpoints table has eight rows, and four of them are far tighter than the Chat number anyone quotes:
| Trial-key endpoint | Limit |
|---|---|
| Audio Transcriptions | 5 req/min |
| Embed (Images) | 5 inputs/min |
| EmbedJob | 5 req/min |
| Rerank | 10 req/min |
| Tokenize | 100 req/min |
| Embed | 2,000 inputs/min |
| Parse | 500 req/min |
| Default (anything not covered above) | 500 req/min |
Cohere doesn’t publish a token ceiling for trial keys separately from the 1,000-call cap — the page states request-rate and input-count limits only, with no tokens-per-minute or tokens-per-month figure for trial keys anywhere on it.
Command R+ is no longer where Cohere’s lineup ends. Cohere’s models doc describes Command A+ (command-a-plus-05-2026) as “the last model in the Command A family, while being Cohere’s first Mixture of Experts model”. Note that Cohere does not call it the flagship; the strongest ranking language on that page is “our most performant model to date”, and it applies that to Command A, not Command A+. It’s on a trial key — the rate-limit table’s first row is Command A+ at 20 req/min — and Cohere’s changelog says it “is now available for all Cohere users through our standard API endpoints”. Here’s the odd part: Cohere’s public pricing page doesn’t list a price for Command A+ at all. Its price table stops at Command R+ 08-2024 at $2.50/$10.00 per 1M. So Cohere ships a model it won’t quote you a rate for, which usually means enterprise sales.
The Free Stack: Running AI for $0/Month
The honest version of this stack is shorter than it was in April.
| Layer | Provider | Why |
|---|---|---|
| Primary LLM | Gemini 3.8 Flash (free tier) | Input free of charge, check your console for limits; 2.5 Flash is deprecated and routes to 3.5 Flash-Lite from 1 Dec |
| Fallback LLM (fast inference) | Groq (free tier) | 30 RPM, but watch the 1,000 req/day cap |
| Third fallback | Cohere trial key (prototyping only) | 20 req/min, 1,000 calls/month; no production or commercial use |
| Embeddings | Cohere trial key, Embed (prototyping only) | 2,000 inputs/min; same 1,000 calls/month trial cap; no production use |
| Image generation | Replicate (select models free) | Until you’re asked to set up billing |
Together AI is out of this table for the reason above. HuggingFace is out too, as of 10 October: with no free credit, hf-inference embeddings cost money from the first call. Cohere’s trial Embed endpoint takes the slot, but Cohere’s 1,000-calls-a-month trial cap names no per-endpoint exception, so assume it’s shared with your Cohere fallback and don’t lean on both. And read Cohere’s terms before you ship either: its pricing page says trial keys “are rate limited and are not permitted to be used for production or commercial purposes.” Both Cohere rows are for prototyping. For a production app, the honest $0 stack is Gemini plus Groq, and embeddings are the first thing you’ll pay for. If you want more genuinely free infrastructure around this, free developer tool credits are still holding up better than the API tiers are.
Code Example: Smart Fallback Chain
async def generate_response(prompt: str) -> str:
providers = [
("gemini", call_gemini), # free tier, limits console-only
("groq", call_groq), # 30 RPM, 1,000 req/day
("cohere", call_cohere), # trial key: prototyping only, not for production
]
for name, call_fn in providers:
try:
return await call_fn(prompt)
except RateLimitError:
logger.warning(f"{name} rate limited, falling back")
continue
raise Exception("All providers exhausted")
Production apps use this same pattern, just with paid keys. Primary provider handles most requests. Fallbacks catch the rest. Log which provider served each request, because when a vendor quietly cuts a quota you want to see it in your own metrics before you read about it.
When to Pay
The free tiers hit their limits when you need:
- Sustained throughput above roughly 30 requests a minute
- The top models: Claude Fable 5.1, GPT-6 Astra, Gemini 4 Argon (Google’s pricing page says it “is not available on the Free tier”; paid, it’s $2.00 input / $10.00 output per 1M tokens through 30 November 2026, then $4.00 / $20.00 from 1 December)
- Long-context processing across large codebases or long documents
- Production SLAs
For side projects and low-traffic apps, Gemini and Groq will genuinely carry you. For anything with real users, budget for a paid tier and stop counting requests.
Every row in the comparison table at the top has moved at least once since April, so if you’re reading a free-tier comparison that hasn’t been touched in six months, assume most of it is fiction.
Change log
I re-check this page against each vendor’s own docs, not against other people’s blog posts. Where a vendor no longer publishes a number, I say so instead of quoting the old one.
- August sweep: every single row moved. Two providers stopped publishing their free-tier numbers entirely, one killed its free trial outright, and one turned its free tier into a ten-cent credit pool.
- 15 August: the Gemini 3.6 Flash price this page was quoting was the 2027 price, double what you’d pay this year. xAI shipped a new flagship. Replicate’s “trial credits” came out, since it publishes no credit figure.
- 21 August: Groq shut down
llama-3.3-70b-versatileon 16 August, the day after my previous check confirmed it live. The Groq section is rewritten aroundopenai/gpt-oss-120b. - 29 August: Replicate dropped the retired Claude 3.7 listing this page used to warn about and now fronts current Anthropic models at first-party prices.
- 26 September: Gemini 2.5 restricted to past users, so the Gemini section now leads with 3.8 Flash. Groq’s two compound models decommissioned on 21 September. xAI now points to Grok 4.7.
- 3 October: Claude Sonnet 5.5 (
claude-sonnet-5-5) replaces Sonnet 5 in Anthropic’s current model table at the same $2/$10 (Sonnet 5 stays Active, not before 30 June 2027), so the code sample is updated. Replicate’s Anthropic roster is down to eight. The “Access restricted to past users” label this page quoted from Google’s deprecations page is no longer there; the underlying fact (2.5 limited to past users, no shutdown date) still holds. - 10 October: OpenAI’s usage tiers are now Free / Build / Launch / Grow; GPT-4.1 mini at Build (same $5-paid threshold as the old Tier 1) is 5,000 RPM and 2M tokens/min with a $500/month cap, and there’s no daily request figure anymore. HuggingFace’s free monthly credit went from $0.10 to none, so it’s out of the free stack. Together’s minimum is now $15 on the first purchase, $5 after. Gemini 3.7 Flash was deprecated on 8 October and its requests now route to 3.8 Flash. Mistral’s pricing link now points to its docs site.
- 19 October: Corrected xAI’s per-second formula, which is RPM / 48 (minimum 2), not RPM / 60 as this page said. xAI’s docs now use the SpaceXSI name in every page title I checked and in release-note prose, so the section and table row are relabelled SpaceXSI / xAI; the news-page footer still reads “SpaceXAI LLC”. Mistral added Large 4, on sale at half its original price, alongside Large 3. OpenAI deprecated GPT-4.1 mini on 14 October; it shuts down on 14 January 2027, with
gpt-6-lunaas the named replacement, which is cheaper on the same Build limits. Gemini 4 Argon went GA on 13 October and replaces Gemini 3.1 Pro Preview in the top-models list. Every other rate limit and price in the comparison table re-checked unchanged. - 24 October (checked; published 31 October): Mistral Large 4’s sale ended; it’s a flat $1.36 input, $0.14 cached input and $4.18 output per 1M tokens. Replicate’s Anthropic roster is back to nine with Claude Opus 5.5 at $4/$20, the same as first-party; Sonnet 5.5 is still missing. Gemini 4 Argon now has a published paid price, $2.00/$10.00 through 30 November and $4.00/$20.00 from 1 December. Together’s Llama 3.3 70B page now says it “is not available on Together’s Serverless API”, so the serverless price this page quoted for it is gone and the Together table row no longer names it as the best model. GPT-6 Luna’s price now carries its 272K-token band.
- 31 October: Mistral deprecated Large 3 (
mistral-large-2512) and Medium 3.5 (mistral-medium-3-5) on 31 October; both retire on 30 April 2027, with Large 4 as the named alternative, and neither appears on the pricing page anymore. This page’s line that Large 3 had no deprecation notice is corrected. Large 4 is now $0.70 input, $0.07 cached input and $2.10 output per 1M tokens, roughly half the 24 October price, with no sale label shown. Anthropic’s Start tier now gives Claude Sonnet 5.5 4,000 RPM, up from 1,000; its token limits (2,000,000 input, 400,000 output per minute) are unchanged, and Sonnet 5 stays at 1,000 RPM. Every other rate limit and price on the page re-checked unchanged. - 7 November: Google deprecated
gemini-2.5-flashandgemini-2.5-proon 2 November. From 1 December 2026 their requests route togemini-3.5-flash-liteandgemini-3.8-flashrespectively and bill at those models’ rates; Google tells you to update the model string first and lists breaking API changes. The deprecations page, which used to say “No shutdown date announced” for 2.5 Flash, now shows 1 December. Google’s Gemini docs moved from ai.google.dev to aistudio.google.com and Mistral’s models overview to docs.mistral.ai/models; links updated. Every other rate limit and price on the page re-checked unchanged.
Related: Free Developer Tool Credits | Is the Claude API Free? | Best AI Tools Developers Actually Use
Frequently Asked Questions
What are the rate limits for free AI API tiers in 2026?
Groq's Free plan gives openai/gpt-oss-120b 30 requests/minute, 8,000 tokens/minute, 1,000 requests/day and 200,000 tokens/day, and Cohere's trial key is 20 requests/minute on the Chat API with 1,000 API calls per month. Google and Mistral no longer publish their free-tier rate limits on a public docs page.
Which AI API providers offer free tiers with no daily token limits?
For a general-purpose LLM you can build on, no. The last exceptions were Groq's groq/compound and groq/compound-mini, which showed no tokens-per-day figure (they were held to 250 requests/day instead); Groq decommissioned both on 21 September 2026 and they are gone from its Free plan table. Every language-model row left on that table carries a tokens-per-day cap. Together AI, which used to be the answer here, states in its own billing docs that it does not currently offer free trials and requires a $15 minimum on your organization's first purchase ($5 after that).
How can I build a production-ready AI backend at zero cost?
Google's Gemini free tier and Groq's Free plan are the two that still cost $0 and can carry low-traffic production use, so run Gemini as primary and Groq as fallback. Start new Gemini projects on Gemini 3.8 Flash: since 18 September 2026 Google limits the 2.5 models to users who have actively used them in the past, and on 2 November it deprecated 2.5 Flash and 2.5 Pro, whose requests route to newer models from 1 December 2026. HuggingFace no longer qualifies: its pricing table now lists no monthly credit at all for free users, so Inference Providers means buying credits or upgrading to PRO.
Comments