Free AI API Key: 13 Providers Sorted by Card or No Card
Which free AI API key still works? I read 14 providers' pages on 29 November 2026 and sorted 13 into free tiers, card-gated credit, no free tier and retired.
Free AI API keys fall into four groups, and the first split is whether the provider wants a card before your first call.
I read each provider’s own pricing, limits or billing page from India on 29 November 2026. My view after reading them: a single “free tier” column, the way list pages print it, mixes four different deals, and the card question tells you which deal you are signing up for before you write any code. “Card” here is shorthand for any payment method, since Groq’s billing FAQ, for one, also accepts “US bank account, or SEPA debit account”. Free tiers change often, so check the linked page before you build on a number.
The four groups, as of 29 November 2026:
- Free allowance that renews, nothing to pay to start: Google Gemini API, Groq, OpenRouter’s
:freemodels, Cloudflare Workers AI, Cohere trial keys. - One-time credit behind a payment method: Cerebras ($5, expires 30 days after activation).
- No standing free API tier: OpenAI, Anthropic (Claude), xAI (Grok), Mistral, Hugging Face free accounts, Kimi.
- Retired: GitHub Models (30 July 2026).
Free AI API Key Providers Compared, Checked 29 November 2026
Text in quotation marks is the provider’s own wording; the source links sit with each group’s table. Where this site already has a guide to one provider’s key, the last column links it; those guides hold the steps and the full limit tables.
| Provider | Group | The free part (quoted where in quotation marks) | When you start paying | Full guide |
|---|---|---|---|---|
| Google Gemini API | 1 | ”Free input & output tokens”, “Limited access to certain models” | When you link a billing account for the Paid Tier | Gemini key steps, free models and the phone check |
| Groq | 1 | A Free tier with per-model limits | When you upgrade to the Developer tier with “a valid payment method” | Groq’s free plan limits by model |
| OpenRouter | 1 | Models “with an ID ending in :free”; the openrouter/free router is priced at “zero” | Paid models draw on credits; buying 10 credits raises the free daily cap | - |
| Cloudflare Workers AI | 1 | ”a total of 10,000 Neurons per day at no charge” | Above 10,000 Neurons a day, on the Workers Paid plan | - |
| Cohere | 1 | Trial keys: “API calls made from a Trial API key are free” | Production keys, “pay-as-you-go” | - |
| NVIDIA (build.nvidia.com) | Not sorted here (homepage only) | “Free inference with leading models” on build.nvidia.com; key types and credits not checked here | Not covered in this post | the two NVIDIA key types |
| Cerebras | 2 | ”a one-time $5 promotional credit” | After the credit, PayGo credits | - |
| OpenAI | 3 | None for a new API account (prepaid billing); eligible ChatGPT Pro and Business plans include monthly API credits | Once any free credits run out, from purchased credits | OpenAI’s prepaid API billing and credits |
| Anthropic (Claude) | 3 | New users get free test credits of an unstated amount (pricing page); some paid Claude plans include monthly API credits | After those credits, from Console credits | where a Claude API key comes from |
| xAI (Grok) | 3 | ”API usage is billed per token rather than free”; the Playground is free | From the first call | Grok API key costs and prepaid credits |
| Mistral | 3 | Free mode “doesn’t include API access” | Keys need “billing activation and pay-as-you-go” | - |
| Hugging Face Inference Providers | 3 | Free users: “None” monthly credits | Buy credits, or PRO with $2.00 of monthly credits | - |
| Kimi API Platform | 3 | None; a recharge is required before API use | Before the first call | - |
| GitHub Models | 4 | Retired on July 30, 2026 | Not available | - |
Group 1: Free Allowances That Renew
These five give you a key and a usage allowance before any purchase. Each one caps that allowance differently, and the reset time matters if you are in India.
| Provider | Free limit, per the provider’s page | Daily reset, India time (my arithmetic) | The catch |
|---|---|---|---|
| Gemini API | Per project, across RPM, TPM and RPD; your limits “can be viewed in Google AI Studio” | Midnight Pacific, which is 1:30 pm IST while Pacific time is on standard time | Free tier “Content used to improve our products”; some projects need a phone check |
| Groq | Per model, listed on Groq’s rate-limits page | Not stated on the page | Over a limit, the API “returns a 429 Too Many Requests” |
OpenRouter :free | 20 requests a minute; 50 a day under 10 credits bought, 1,000 a day at 10 or more | Per UTC day, so 5:30 am IST | A negative credit balance may cause errors, “including for free models” |
| Cloudflare Workers AI | 10,000 Neurons a day | ”00:00 UTC”, so 5:30 am IST | Nine listed models “require a paid billing method” |
| Cohere trial | ”limited to 1,000 API calls a month”; Command A+ at 20 requests a minute | Monthly, not daily | Trial keys “are not permitted to be used for production or commercial purposes” |
Sources, all read on 29 November 2026: Google’s pricing page, rate-limit page and verification page; Groq’s rate-limits page and billing FAQ; OpenRouter’s limits page and free router page; Cloudflare’s Workers AI pricing; Cohere’s rate-limit docs and pricing FAQ.
What each row means in practice:
- OpenRouter:
openrouter/freeis “a router that selects free models at random”, and its page counted 20 models in the router on 29 November 2026. OpenRouter says its API is OpenAI-compatible, with “most SDKs” working “by just swapping the base URL”. - Cloudflare: the paid-only list includes
@cf/moonshotai/kimi-k2.6, two GLM 5.3 models and three DeepSeek V4-family models, which you reach “with either the Workers Paid plan or prepaid AI Gateway credits”. Above the free allocation, “further operations will fail with an error”. - Cohere: Cohere creates a Trial API key automatically when an account is created. Cohere’s pricing FAQ says every account “begins as a personal account and only has access to Trial API keys”, and a production key comes through a “Go to Production workflow” on the Billing and Usage page.
If what you want is a free model inside a coding agent rather than a raw key, OpenCode’s free models and the providers each agent accepts is the closer read.
Group 2: A One-Time Credit Behind a Payment Method
Cerebras gives new accounts credit, not a standing free tier. Its pricing page says: “Add a valid payment method to receive a one-time $5 promotional credit. The credit expires 30 days after activation. You will not be charged or automatically enrolled in paid usage.”
Its rate-limits page answers the question directly. “Is there a permanently free tier? No. The Free Trial is time- and credit-bounded: $5 in credits that expire 30 days after they’re granted.”
| Cerebras Free Trial | What the page says |
|---|---|
| To start | ”If you skip adding a payment method at sign-up, Playground and API access remain inactive until you do.” |
gpt-oss-120b limits | 5 requests a minute, 30K uncached tokens a minute, 1M tokens an hour, 1M tokens a day |
| When the credit ends | ”API and Playground access stop on the Free Trial tier until you purchase credits. Your API keys, projects, and settings remain intact.” |
| Renewal | Cerebras “doesn’t currently offer a no-cost tier that renews automatically” |
If you need a key that still works next quarter without a purchase, Group 1 is where to look.
Group 3: No Standing Free API Tier
None of the six Group 3 providers has a standing free API tier, whatever signing up costs. xAI’s page, for one, says to “Create a free account at console.x.ai” and create a key, then bills every token the key sends.
| Provider | The line that settles it | Read on 29 November 2026 at |
|---|---|---|
| OpenAI | ”New API accounts use prepaid billing.” | OpenAI’s prepaid billing article |
| Anthropic | ”New users receive free credits to test the API”, with no amount or expiry given | Anthropic’s API pricing page |
| Anthropic | API usage “is never charged to your Claude plan”; Max, Ultra and Team get monthly API credits, while “Free, Pro, and Enterprise plans aren’t eligible” | Anthropic’s monthly API credits article |
| xAI | ”API usage is billed per token rather than free, but the Playground comes with every Console account” | x.ai/api |
| Mistral | ”Free mode includes a monthly usage budget for trying Vibe and Studio. It doesn’t include API access.” | Mistral’s usage and limits page |
| Hugging Face | ”Free users can use Inference Providers by purchasing credits, or by upgrading to PRO” | Hugging Face’s Inference Providers pricing |
Two things in this group are free and easy to mistake for a free key: xAI’s Playground, which runs in the browser inside the Console, and Mistral’s free mode, which covers Vibe and Studio. Neither gives you API calls.
Kimi, the sixth provider in this group, needs a recharge before its key answers a call, and the Kimi API key breakdown lists what each recharge step unlocks.
Group 4: GitHub Models Is Gone
GitHub’s docs page now reads: “As of July 30, 2026, GitHub Models has been fully retired. The playground, model catalog, inference API, and bring your own key (BYOK) are no longer available to any customer.”
GitHub points new projects elsewhere: “Azure AI Foundry offers a broad model catalog”, and GitHub Copilot “gives you access to a range of models”. A tutorial that still sends you to a GitHub token for model calls predates the retirement.
What Older Free API Lists Still Say
The list repo OuterSpacee/free-ai-apis carried an “updated October 2026” badge and the line “No credit card required.” at the top when I read it on 29 November 2026. Of the LLM rows I checked against the providers’ own pages, two no longer match:
| Provider | The list says | The provider’s page says (29 November 2026) |
|---|---|---|
| Cerebras | ”Free tier: 1M tokens/day per model, 5 req/min” | A one-time $5 credit after adding a payment method, expiring after 30 days; “Is there a permanently free tier? No.” |
| Mistral AI | ”Daily free token quota” | Free mode “doesn’t include API access”; keys need “billing activation and pay-as-you-go” |
Its Gemini, Groq, OpenRouter and Cohere rows matched the pages I read. Both stale rows put a card-gated or paid provider in a column headed “Free Tier”, which is the difference the four groups are built to show.
Is There a Free AI API Key With No Limit?
No: every Group 1 and Group 2 provider caps requests, tokens or credits, and making more keys does not raise the cap. OpenRouter’s limits page says “Making additional accounts or API keys will not affect your rate limits”.
A key from an “unlimited” list or generator belongs to someone else and spends their quota, and OpenAI’s key safety article says “The sharing of API keys is against the Terms of Use”.
The route with no provider quota is a model on your own machine. Ollama’s API docs list a local server at http://localhost:11434/api and say “Cloud requests need an API key. Local requests do not.” The ceiling then is what your computer can run.
Which Free Key Fits What You Are Building
| If you need | Start with | Why, from the provider’s page |
|---|---|---|
| A free key with no purchase first | Gemini, Groq, OpenRouter :free, Cloudflare Workers AI or Cohere | Group 1: no purchase needed before the first free request |
| A student with no card | Any Group 1 provider | Group 1 allowances need no purchase; OpenAI’s student offer and research grants are covered in the OpenAI guide in the comparison table |
| One key for many models through an OpenAI-style client | OpenRouter :free | OpenAI-compatible; 50 free requests a day until you have bought 10 credits |
| AI inside a Cloudflare Worker | Workers AI | 10,000 Neurons a day on the free allocation |
| Free calls for a product you will charge for | Not Cohere’s trial key | Trial keys are “not permitted to be used for production or commercial purposes” |
| Prompts you do not want used to improve the provider’s products | A paid tier | Gemini’s free tier lists “Content used to improve our products”; its paid tier says “Content not used” |
| A 30-day trial, and you have a payment method to add | Cerebras | $5 credit, 30 days, “You will not be charged or automatically enrolled in paid usage” |
A Free AI API Key Is a Prototype Budget
Every free AI API key on this page is a budget for trying things: a daily cap, a monthly cap or a 30-day credit. Sorting providers by card or no card tells you which of the four deals you are in before you write a line of code. Pick a Group 1 provider for the prototype, and read its limits page before the first request.
Frequently Asked Questions
Is there a free AI API key with no limit?
Not from a hosted provider. Gemini, Groq, OpenRouter, Cloudflare Workers AI and Cohere all cap free use per minute, per day or per month, and OpenRouter's docs say extra accounts or keys do not change its rate limits. Ollama's docs say local requests need no API key, so a model on your own computer is the route with no provider quota.
Which free AI API keys need no payment to start?
As of 29 November 2026, the docs of Gemini, Groq, Cloudflare Workers AI and Cohere tie a payment method or billing account to going past the free allowance, and OpenRouter gives its free-model quota to accounts that have bought less than 10 credits. Cerebras is different: it grants a one-time $5 credit only after you add a valid payment method, and the credit expires 30 days after activation.
Is there a free Claude API key?
Not a standing free tier. Anthropic's API pricing page says 'New users receive free credits to test the API' but gives no amount or expiry; after that, requests spend Console credits, and usage is never charged to a Claude plan. Max, Ultra and Team plans include monthly API credits; Free, Pro and Enterprise are not eligible.
Is the OpenRouter free API really free?
For models whose ID ends in :free, and for the openrouter/free router that its page prices at zero, yes. Accounts that have bought less than 10 credits get 20 requests a minute and 50 a day on free models; at least 10 credits raises the daily cap to 1,000.
What happened to GitHub Models?
GitHub retired it. Its docs say that as of July 30, 2026 the playground, model catalog, inference API and bring your own key are no longer available to any customer, and they point new projects to Azure AI Foundry or GitHub Copilot.