Free AI API keys: what is actually free in 2026
Updated · 4 min read
Most BYOK apps are free or cheap to buy, but you still need a key that works. Here is every free AI (LLM) API worth using in October 2026, what the limits are, and the catch with each.
The short list
| Option | What is free | Main limit | The catch |
|---|---|---|---|
| Google Gemini free tier | Gemini Flash and Flash-Lite models, Gemini 2.5 Pro | Requests per minute and per day, per project | Free-tier content is used to improve Google's products |
| Groq free plan | gpt-oss-120b and 20b, Qwen3.8 27B, Whisper | 1,000 requests and 200,000 tokens a day per model | Open models only; Llama is now Enterprise-only |
OpenRouter :free models |
A rotating set of open models | 20 per minute; 50 per day (1,000 after buying $10 of credits) | No GPT, Claude or Gemini; availability varies |
| Local models (Ollama, LM Studio) | Everything, offline | Your computer's memory and speed | Smaller models than the cloud frontier |
| OpenAI data-sharing tokens | Up to 2.5M tokens a day on small GPT models (more on higher tiers) | Only some organizations qualify; needs a positive balance | Shared traffic is used to train OpenAI's models |
Google Gemini: the best free cloud option
Create a key in Google AI Studio (step-by-step in our free Gemini API key guide). On 2026-10-29 Google offered a free tier for Gemini 3.8 Flash, 3.6 Flash, 3.5 Flash-Lite, 3.1 Flash-Lite, 3 Flash Preview, 2.5 Pro, 2.5 Flash and 2.5 Flash-Lite, plus Gemma 4. The new flagship, Gemini 4 Argon, and Gemini 3.1 Pro Preview are paid only. Limits are counted per Google Cloud project and AI Studio shows your exact numbers.
The catch is data: Google says content sent on the free tier is used to improve its products for most models. Fine for experiments and public text, not for private documents.
Groq: free and very fast
Groq (with a q, not xAI's Grok) runs open models on its own chips and answers at hundreds of tokens per second. Its free plan needs no payment method. On 2026-10-29 it covered OpenAI's gpt-oss-120b and gpt-oss-20b and Qwen3.8 27B (30 requests per minute, 1,000 requests and 200,000 tokens per day each), plus Whisper speech-to-text. That is roughly 80 chat turns a day per model. Llama models moved to Groq's Enterprise plan, so switch apps that default to Llama to gpt-oss.
OpenRouter free models
Any model on OpenRouter whose ID ends in :free costs nothing; our list of OpenRouter free models is refreshed daily from OpenRouter's API. You can make 20 requests per minute and 50 per day; buy $10 of credits once and the daily limit rises to 1,000, while the free models stay free. The openrouter/free router picks an available free model for you. One OpenRouter key works in every app that supports OpenRouter, which is a lot of them.
The catch: the free selection is open models only (Gemma, Nemotron and others), it changes often, and free endpoints can be slower or busier.
Local models: free and private
Ollama and LM Studio run open models on your own computer. Apps connect to a local server (Ollama listens on http://localhost:11434, with an OpenAI-compatible endpoint at /v1), so there is no key, no per-token cost and nothing leaves your machine. You need enough memory for the model you pick. See local LLM apps.
OpenAI, Claude and Grok: no free tier
- OpenAI has no free API tier, but some organizations qualify for complimentary daily tokens on API traffic they share with OpenAI: 250,000 tokens a day on large models and 2.5 million on small ones after buying $5 of credit, and four times that from $100. Your shared prompts are used to train OpenAI's models, so keep it to non-private work. Details: is there a free OpenAI API key?
- Claude has no free API tier. Claude Max includes monthly API credits ($100 on Max 5x, $200 on Max 20x) and Team plans up to $500 a month; Pro and Free include none. More: is there a free Claude API key?
- Grok (xAI) is paid only: prepaid credits, with a field for promo codes. See the Grok API key guide.
Keys posted online as "free OpenAI/Claude/Grok API keys" are leaked or stolen. They get revoked without warning, break the providers' terms and send your prompts to someone else's account.
Trial credits and developer programs
- Cerebras gives new accounts $5 of free credits after you add a verified payment method. They expire after 30 days.
- NVIDIA's API catalog (build.nvidia.com) gives members of its free Developer Program access to hosted open models, but NVIDIA's FAQ limits that to prototyping, research and testing; serving real users needs a paid licence. Its docs don't list fixed free limits.
- Cloudflare Workers AI includes 10,000 "Neurons" a day for free, enough for light use. It is aimed at developers building on Cloudflare; few BYOK apps support it directly.
No longer free
- GitHub Models was fully retired on July 30, 2026, including its free playground and API.
- Mistral's free plan now covers its chat app (Vibe), not API access, according to its pricing page.
- Hugging Face Inference Providers no longer include monthly credits for free accounts; PRO accounts get $2 a month.
When paying a little is better
Free tiers are fine for trying apps. For daily use, a few dollars on a cheap model is often the better deal: with OpenAI's gpt-6-luna, Claude Haiku 5.5 or DeepSeek Flash, a typical chat turn costs about a tenth of a cent or less, so $5 lasts thousands of messages, without free-tier limits or data terms.
Apps that work with free keys or local models





VisitMergeJudge
Free AI reviews on public repos; bring your own key for private repos · Web, Self-hosted · Open source
AI pull request reviewer offered as a hosted GitHub App or an open-source GitHub Action, running on your own Anthropic, OpenAI or OpenAI-compatible key, local Ollama, or rules only.
Works with:AnthropicOpenAIOllama
Questions
Is there a free OpenAI API key?
No free tier, and keys shared online are leaked or stolen. What does exist: OpenAI gives some organizations free daily tokens on API traffic they share with OpenAI (up to 2.5 million tokens a day on small models after a $5 top-up), and its open-weight gpt-oss models are free on Groq's free plan or on your own computer.
Is there a free Claude API key?
No. The Claude API has no free tier. Claude Max ($100-200 a month) and Team plans include monthly API credits; otherwise Claude Haiku costs well under a tenth of a cent per chat turn.
What is the best free API for a BYOK chat app?
Google's Gemini free tier gives the strongest free models with a normal API key. Groq's free plan is the fastest, and OpenRouter's free models give you a wider choice of open models behind one key. If you want no limits and full privacy, run a local model with Ollama or LM Studio.
Is there a free AI API with no limits?
Only local models. Every free cloud tier has request or token limits per minute and per day. Running a model on your own computer with Ollama or LM Studio has no limits beyond your hardware.
Are free tiers private?
Not always. Google says free-tier Gemini content is used to improve its products for most models, OpenAI's free tokens require sharing your traffic, and some OpenRouter free providers may train on prompts. Local models are the only fully private free option.
Is GitHub Models still free?
No. GitHub Models was fully retired on July 30, 2026.
Sources
Checked against the providers' own documentation on 2026-10-29. Prices and limits change; the links below have the current figures.
- ai.google.dev/gemini-api/docs/pricing
- ai.google.dev/gemini-api/docs/rate-limits
- console.groq.com/docs/rate-limits
- openrouter.ai/docs/api-reference/limits
- docs.ollama.com/api/introduction
- help.openai.com/en/articles/10306912
- claude.com/pricing
- docs.x.ai/docs/key-information/billing
- inference-docs.cerebras.ai/support/rate-limits
- docs.api.nvidia.com/nim/docs/product
- developers.cloudflare.com/workers-ai/platform/pricing/
- huggingface.co/docs/inference-providers/pricing
- docs.github.com/en/github-models/use-github-models/prototyping-with-ai-models
- mistral.ai/pricing