aifree.dev

7 free AI APIs to ship your first AI feature

Seven AI APIs with standing free tiers — Gemini, Groq, OpenRouter, Cloudflare, Cohere and Mistral — with real limits, install commands and the catches.

7 tools · Last checked

Your first AI feature does not need a credit card. The work is picking the tier that fits your workload before its rate limits pick for you.

How we picked: each has a standing free tier confirmed in vendor docs this month and an install command from its own docs. We dropped Cerebras (expiring trial) and GitHub Models (retired July 2026).

The 7 free AI APIs at a glance #

ToolWhat it doesPriceInstall
Gemini APIFree multimodal Flash models + 500 grounded searches/day on 2.5 FlashFree tier, no cardpip install google-genai
GroqFast free inference on open-weight models, Whisper speech-to-textFree tier, no cardpip install groq
OpenRouterOne OpenAI-compatible key across :free model variantsFreemium ($10 one-time unlocks 1,000 req/day)pip install openai
Cloudflare Workers AI10,000 Neurons/day in a Worker or plain RESTFree tier, no cardcurl (see below)
CohereTrial key for chat, Embed v5 and RerankFree trial, no cardpip install cohere
MistralRate-limited API on Mistral Large 4 / Small 4 / CodestralFree plan, no cardpip install mistralai
Free-LLMAuto-synced catalog of 86 free AI API providersFree, OSS (MIT)git clone https://github.com/nejib1/Free-LLM

1. Gemini API: the free multimodal default #

The Gemini API gives free rate-limited access to Gemini Flash models with text, image, audio and video input (details).

What: one key from Google AI Studio gets free calls to Flash models plus 500 search-grounded requests a day on Gemini 2.5 Flash and Flash-Lite. Why: Google's own models at $0, with image, audio and video input that most free tiers lack. Use when: you are starting a prototype and want the fewest compromises. Install:

pip install google-genai

Catch: free-tier prompts may be reviewed by humans and used to train Google products — keep confidential data on the paid tier.

2. Groq: open weights, no card #

Groq serves open-weight models like gpt-oss-120b on its own inference chips (LPUs) (details).

What: an OpenAI-compatible endpoint at 30 requests/minute and 1,000 requests/day per model, plus free Whisper speech-to-text. Why: 1,000 requests a day is enough to build against all week. Use when: your prototype calls open-weight models at a predictable daily volume. Install:

pip install groq

Catch: limits apply per organization and are tight; the paid Developer plan buys headroom.

3. OpenRouter: one key, many models #

OpenRouter fronts many models behind one OpenAI-compatible key, including variants that cost $0 (details).

What: :free model variants at 20 requests/minute and 50 requests/day on a fresh account — 1,000/day once you have ever bought 10 credits. Why: you swap models in a config line instead of juggling five vendor consoles. Use when: you are comparing models or want a fallback chain. Install:

pip install openai   # then set base_url https://openrouter.ai/api/v1

Catch: 50 requests a day runs out fast without the $10 top-up.

4. Cloudflare Workers AI: free at the edge #

Cloudflare Workers AI runs open models like Llama on Cloudflare's network, close to your users (details).

What: 10,000 free Neurons a day (about 48,000 output tokens on Llama 3.3 70B), callable from a Worker or plain REST. Why: the AI call lives in the same deploy that serves your app. Use when: you already deploy on Workers. Install:

curl https://api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/ai/run/@cf/meta/llama-3.1-8b-instruct \
  -H 'Authorization: Bearer {API_TOKEN}' \
  -d '{ "prompt": "Where did the phrase Hello World come from" }'

Catch: on the free Workers plan usage stops at the daily allocation, and the largest models (Kimi, GLM, DeepSeek) need the paid plan.

5. Cohere: embeddings and rerank for RAG #

Cohere gives you a free trial key at signup (details).

What: 1,000 free API calls a month across Command chat models, Embed v5 at 2,000 inputs/minute, and Rerank. Why: it is the only free key here with embeddings and reranking, the two parts that decide retrieval quality. Use when: you are building search or RAG (answers grounded in your own documents). Install:

pip install cohere

Catch: trial keys are rate-limited and not permitted for production or commercial use.

6. Mistral: EU-hosted open weights #

Mistral's Free plan includes rate-limited API access in Studio Free mode (details).

What: free calls to Mistral Large 4, Mistral Small 4 (Apache 2.0) and Codestral, no card required. Why: European hosting and open weights with a training-data opt-out, when data residency matters. Use when: your users or your rules push you toward the EU. Install:

pip install mistralai

Catch: exact rate limits are not published — you see them only in your admin console.

7. Free-LLM: the directory for what's next #

nejib1/Free-LLM is an MIT-licensed catalog synced automatically from free-llm.com.

What: lists 86 providers with permanent free tiers, trial credits or no-card signup (950+ stars, November 2026). Why: vendors change terms monthly, and this list tracks them. Use when: you outgrow these seven. Install:

git clone https://github.com/nejib1/Free-LLM

Catch: a catalog, not an API. Check each vendor's terms before you build on it.

Which one to try first #

Starting a chat or multimodal prototype → #1. Latency-sensitive demo → #2. Comparing models before committing → #3. Already deploying on Workers → #4. Building search or RAG → #5. Need EU hosting → #6. Need something these don't cover → #7.

FAQ

Are free AI APIs really free?
Yes — Gemini, Groq, Cloudflare, Cohere and Mistral all run standing free tiers that need no credit card. They are rate-limited, and free-tier prompts may be used for model training.
Which free AI API should I start with?
Gemini for image, audio and video input, Groq for fast open-weight chat, OpenRouter to compare many models behind one key.
Can I use a free AI API in production?
Mostly not: free tiers are rate-limited and Cohere's trial key forbids commercial use. Plan the upgrade path — Cloudflare overage at $0.011 per 1,000 Neurons or Groq's Developer plan — before you launch.

Sources

More tested lists

Every list

Never miss new offers and news

New tools, credits, and AI news are added regularly. Pick how you want to hear about them.

Telegram channel

Join @aifree_dev and get new free AI offers and news right in your Telegram feed.

Browser notifications

Turn on push notifications and get an alert on this device whenever something new is posted. No account needed.

Email newsletter

A weekly digest of new, changed and expiring free AI offers. Double opt-in, one-click unsubscribe. See the latest issue.

Unsubscribe anytime. Privacy

Frequently asked questions

What is aifree.dev?

aifree.dev helps everyone access AI through a curated directory of free AI tools, API credits, free tiers, and startup programs for coding, image, voice, video, and students - verified regularly.

How are offers presented?

Each offer includes its access details, free models when available, and expiration information when provided. Limited-time deals stay visible so they are easy to compare.

Do education and startup programs need verification?

Yes. Providers usually ask students to verify their status with a school email, student ID, or a program like the GitHub Student Pack, and ask startups to verify company details such as age, funding, or website. Check each offer’s claim page for the exact requirements.

What kinds of free AI offers are listed?

Free tiers and free trials from AI providers, free API credits, startup and student programs, and free tools for coding, image generation, voice, and video.

How can I suggest a tool or report a broken link?

Use the submit form: paste the offer page URL and a short note. A person checks every submission before anything is listed. Broken links and changed terms go through the same form.

Know a good one?

Tell us about an AI tool worth knowing. Found a broken link? We want to hear that too.

Submit an offer