โ† Open Source

134+ free LLM APIs & AI API keys from 40+ providers. Google Gemini, NVIDIA NIM, Groq, OpenRouter & more. One-click setup for Claude Code, Cursor and Codex.

ListsTool collections
Momentum
+23stars in 24 hours+0.4%
6.47k
Stars
1.02k
Forks
+264
This week
1
Contributors
Created 2026-05-10 ยท Updated 2026-12-05 ยท #606 today
README

awesome-free-llm-apis

296+ free LLM APIs from 23 providers โ€” find, compare & configure free models in seconds.

๐ŸŒ Live at freellm.net โ€” Browse models ยท Playground ยท Config generator ยท API keys

๐Ÿ”„ Data synced from freellm.net โ€” Catalog data updated: 2026-12-03 ยท README generated: 2026-12-04 ยท ๐ŸŸข Live Status (STATUS.md) ยท Web Dashboard โ†’

๐ŸŒ English ยท ็ฎ€ไฝ“ไธญๆ–‡ ยท ็น้ซ”ไธญๆ–‡ ยท ๆ—ฅๆœฌ่ชž ยท ํ•œ๊ตญ์–ด


Why This Exists

Finding a free LLM API shouldn't mean hunting through a dozen GitHub READMEs, signing up for five different platforms, or guessing which models still have a free tier.

This repo is a structured, machine-readable directory of every free LLM API โ€” rate limits, context windows, one-click config snippets, and direct API key links. Updated daily.

Why this repo + freellm.net:

  • โœ… Always up-to-date โ€” data refreshed daily via automated monitoring, not a 2-year-old static list
  • โœ… Credit card transparency โ€” clearly shows which providers require a card, phone verification, or nothing at all
  • โœ… One-click configs โ€” ready-to-copy snippets for Claude Code, Cursor, Codex, Aider, and 10+ more tools
  • โœ… Side-by-side comparison โ€” compare context windows, rate limits, and modalities across providers instantly

How to Use โ€” 3 Steps

  1. Pick a provider โ€” see Provider Directory below. Start with Groq (no credit card, 30 RPM free).
  2. Get your API key โ€” click any Get Key โ†’ link below, sign up (most need just an email), and copy your key. Takes < 1 minute.
  3. Plug it in โ€” copy the base URL + model ID, paste into the Quick Start examples below.

Configuring a specific tool? Claude Code ยท Cursor ยท Codex ยท OpenHuman ยท OpenCode ยท OpenClaw โ€” one-click configs at freellm.net/config/.

Quick Start โ€” Use Any Free API in 30 Seconds

Never used an API before? Here's the simplest path: go to console.groq.com/keys, sign up with just an email (no credit card), copy your free key, and paste it into any example below. You'll be running in under a minute.

All providers below expose an OpenAI-compatible endpoint. Any tool that accepts baseURL + apiKey works โ€” just swap the base URL and key.

Python (OpenAI SDK)

from openai import OpenAI

client = OpenAI(
    base_url="https://api.groq.com/openai/v1",  # free, no credit card
    api_key="GROQ_API_KEY",                     # get at console.groq.com/keys
)

response = client.chat.completions.create(
    model="llama-3.3-70b-versatile",            # see Best Models table below
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
# Groq free tier: 30 RPM, 14,400 RPD โ€” generous for personal use

Codex CLI

export OPENAI_BASE_URL="https://api.groq.com/openai/v1"
export OPENAI_API_KEY="your-groq-key"          # get at console.groq.com/keys
codex --model "llama-3.3-70b-versatile"

Cursor

Settings โ†’ Models โ†’ Add Model
  Model name: llama-3.3-70b-versatile
  Base URL: https://api.groq.com/openai/v1
  API key: your-groq-key                       # get at console.groq.com/keys

Claude Code

# Claude Code needs an Anthropic-compatible API โ€” use OpenRouter
export ANTHROPIC_BASE_URL="https://openrouter.ai/api"
export ANTHROPIC_AUTH_TOKEN="sk-or-v1-your-key"  # openrouter.ai/keys
export ANTHROPIC_API_KEY=""                       # must be empty
# Note: OpenRouter Anthropic models need $10 top-up (one-time)

Using Other Tools?

Most AI dev tools accept custom API endpoints โ€” just point them at any provider above. Grab your free key, then:

More ready-to-copy configs at freellm.net/config/.

All providers, base URLs, and API key links are in the Quick Reference below.


Provider Directory

โšก Permanent Free Tiers

These providers offer a permanently free tier โ€” no credit card required for most.

Provider Free Models Credit Card? Max Context Modalities Get API Key
NVIDIA NIM 82 Phone verification 1M Multimodal โ†’
ModelScope 33 Registration 1M Vision, Reasoning โ†’
Cloudflare Workers AI 24 No 256K Text, Vision, Reasoning โ†’
OpenCode Zen 22 Registration 1M Vision, Reasoning โ†’
Kilo Code 18 No 1M Multimodal โ†’
Google Gemini 14 No 1M Multimodal โ†’
LLM7.io 11 No 1M Multimodal โ†’
Mistral AI 10 No 256K Multimodal โ†’
Cohere 10 No 256K Text, Vision โ†’
Groq 9 No 131K Multimodal โ†’
OVHcloud AI Endpoints 8 No 262K Multimodal โ†’
Agnes AI 6 No 256K Multimodal โ†’
Aion Labs 4 No 128K Text, Reasoning โ†’
Gonka Broker 4 No 400K Multimodal โ†’
Z AI (Zhipu AI) 4 No 200K Multimodal โ†’
Perch AI 3 No 0 Text -
Chutes.ai 2 No 131K Text, Reasoning โ†’
Glhf.chat 2 No 131K Text โ†’
Grok (xAI) 2 Registration 131K Text โ†’
SiliconFlow 2 No 0 Text โ†’
Ollama Cloud 2 No 1M Multimodal โ†’
Cline 2 Registration 0 Text, Vision -

๐Ÿ’ฐ Renewable Credits

Providers that periodically renew free credits.

Provider Free Models Credit Model Max Context Modalities Get API Key
OpenRouter 22 Free tier + $10 topup โ†’ 1K RPD 1M Multimodal โ†’

Quick Reference โ€” Base URLs & API Keys

Provider Base URL Get API Key Credit Card?
NVIDIA NIM https://integrate.api.nvidia.com/v1 Get Key โ†’ Phone verification
ModelScope https://api-inference.modelscope.cn/v1 Get Key โ†’ Registration
Cloudflare Workers AI https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/run Get Key โ†’ No
OpenRouter https://openrouter.ai/api/v1 Get Key โ†’ No
OpenCode Zen https://opencode.ai/zen/v1 Get Key โ†’ Registration
Kilo Code https://api.kilo.ai/api/gateway Get Key โ†’ No
Google Gemini https://generativelanguage.googleapis.com/v1beta Get Key โ†’ No
LLM7.io https://api.llm7.io/v1 Get Key โ†’ No
Mistral AI https://api.mistral.ai/v1 Get Key โ†’ No
Cohere https://api.cohere.com/v2 Get Key โ†’ No
Groq https://api.groq.com/openai/v1 Get Key โ†’ No
OVHcloud AI Endpoints https://oai.endpoints.kepler.ai.cloud.ovh.net/v1 Get Key โ†’ No
Agnes AI https://apihub.agnes-ai.com/v1 Get Key โ†’ No
Aion Labs https://api.aionlabs.ai/v1 Get Key โ†’ No
Gonka Broker https://proxy.gonkabroker.com/v1 Get Key โ†’ No
Z AI (Zhipu AI) https://open.bigmodel.cn/api/paas/v4 Get Key โ†’ No
Perch AI - - No
Chutes.ai https://api.chutes.ai/v1 Get Key โ†’ No
Glhf.chat https://glhf.chat/api/openai/v1 Get Key โ†’ No
Grok (xAI) https://api.x.ai/v1 Get Key โ†’ Registration
SiliconFlow https://api.siliconflow.cn/v1 Get Key โ†’ No
Ollama Cloud https://ollama.com/v1 Get Key โ†’ No
Cline - - Registration

Best Free Models by Provider

Provider Best Free Model Model ID Max Context Rate Limit
NVIDIA NIM poolside/laguna-xs-2.1 poolside/laguna-xs-2.1 262K Up to 40 RPM
nvidia/nemotron-3.5-embed-1b nvidia/nemotron-3.5-embed-1b 131K Up to 40 RPM
moonshotai/kimi-k2.6 moonshotai/kimi-k2.6 262K Up to 40 RPM
ModelScope deepseek-ai/DeepSeek-V4.1-Flash deepseek-ai/DeepSeek-V4.1-Flash 8K -
nex-agi/Nex-N2.5-mini nex-agi/Nex-N2.5-mini 8K -
nex-agi/Nex-N2.5-Pro nex-agi/Nex-N2.5-Pro 8K -
Cloudflare Workers AI @cf/thinkingmachines/inkling-2-small @cf/thinkingmachines/inkling-2-small 8K -
@cf/zai-org/glm-5.3 @cf/zai-org/glm-5.3 8K -
@cf/deepseek-ai/deepseek-v4.1-flash-1017 @cf/deepseek-ai/deepseek-v4.1-flash-1017 8K -
OpenRouter NVIDIA: Nemotron 3 Ultra (free) nvidia/nemotron-3-ultra-550b-a55b:free 1M See provider
Crouton Alpha stealth/crouton-alpha 1M See provider
Baidu: ERNIE-5.5-Flash-Preview (free) baidu/ernie-5.5-flash-preview:free 1M See provider
OpenCode Zen Mistral Large 4 mistral-large-4 1M -
DeepSeek V4.1 Flash deepseek-v4.1-flash 1M -
space-bunny-free space-bunny-free 8K -
Kilo Code dots-studio/dots-3-note-preview:free dots-studio-dots-3-note-preview-free 512K 200 req/hr
recursive/flint-v1.0:free recursive/flint-v1.0:free 262K 200 req/hr
xingchen-agi/xing4.0-29b-a4b:free xingchen-agi/xing4.0-29b-a4b:free 262K 200 req/hr
Google Gemini Gemini 4 Hydrogen gemini-4-hydrogen 1M Varies by model and acc..
Gemini 3.8 Flash gemini-3.8-flash 1M -
Gemini 3.7 Flash gemini-3.7-flash 1M -
LLM7.io GLM-5.3-Flash glm-5.3-flash 1M -
DeepSeek V4 Pro deepseek-v4-pro 1M -
DeepSeek-V4-Flash-0731 DeepSeek-V4-Flash-0731 400K 60 RPM, 250 req/hr
Mistral AI Codestral codestral 128K ~1 RPS, 500K TPM
Mistral Medium 3.5 (128B) mistral-medium-3-5-128b 256K ~1 RPS, 500K TPM
Mistral Small 4 mistral-small-4 256K ~1 RPS, 500K TPM
Cohere Command R7B Arabic command-r7b-arabic 128K 20 RPM
Command R+ command-r 128K 20 RPM
Command R7B command-r7b 128K 20 RPM
Groq GPT-OSS 20B openai/gpt-oss-20b 131K 30 RPM, 1,000 RPD, 8,00..
GPT-OSS Safeguard 20B openai/gpt-oss-safeguard-20b 131K 3 RPM, 1,000 RPD, 2,000..
GPT-OSS 120B openai/gpt-oss-120b 131K 30 RPM, 1,000 RPD, 8,00..
OVHcloud AI Endpoints Qwen3.8-27B qwen3.8-27b 262K 2 RPM (anonymous)
Qwen3.6-27B qwen3.6-27b 262K 2 RPM (anonymous)
Qwen3.5-9B qwen3.5-9b 262K 2 RPM (anonymous)
Agnes AI agnes-video-2.5-flash agnes-video-2.5-flash 4K 2 RPM
agnes-3.0-flash agnes-3.0-flash 256K Dynamic (30 RPM)
agnes-2.5-flash agnes-2.5-flash 256K Dynamic (30 RPM)
Aion Labs aion-labs/aion-3.0-mini aion-labs-aion-3-0-mini 128K 15 RPM, 20K TPD
aion-labs/aion-3.0 aion-labs-aion-3-0 128K 15 RPM, 20K TPD
aion-labs/aion-2.0 aion-labs-aion-2-0 128K 15 RPM, 20K TPD
Gonka Broker zai-org/GLM-5.3-Flash zai-org-glm-5-3-flash 400K ~1M tokens/mo
deepseek-ai/DeepSeek-V4-Flash-0731 deepseek-ai-deepseek-v4-flash-0731 400K ~1M tokens/mo
MiniMaxAI/MiniMax-M2.7 minimaxai-minimax-m2-7 200K ~1M tokens/mo
Z AI (Zhipu AI) GLM-4.7-Flash glm-4.7 200K 1 concurrent request
GLM-4.6V-Flash glm-4.6 128K 1 concurrent request
GLM-4.5-Air glm-4.5-air 131K -
Perch AI Crouton Alpha perch-ai/crouton-alpha 0 See provider
DeepSeek V4.1 Flash 1017 perch-ai/deepseek-v4.1-flash-1017 0 See provider
GLM 5.3 Flash perch-ai/glm-5.3-flash 0 See provider
Chutes.ai DeepSeek-R1 deepseek-ai/DeepSeek-R1 131K Community-powered, no h..
Llama 3.1 70B meta-llama/Meta-Llama-3.1-70B-Instruct 131K Community-powered, no h..
Glhf.chat Llama 3.1 70B meta-llama/Meta-Llama-3.1-70B-Instruct 131K Unlimited for free models
Mixtral 8x7B mistralai/Mixtral-8x7B-Instruct-v0.1 32K Unlimited for free models
Grok (xAI) Grok-2 Mini grok-2-mini 131K $25/month free credits,..
Grok-2 grok-2 131K $25/month free credits,..
SiliconFlow tencent/Hunyuan-MT-7B tencent-hunyuan-mt-7b 0 -
XingChenAGI/Xing4.0-29B xingchenagi-xing4-0-29b 0 -
Ollama Cloud deepseek-v4-pro deepseek-v4-pro:0813 1M Session/weekly limits
minimax-m3 minimax-m3 512K Session/weekly limits
Cline Nemotron 3.5 Lightning nvidia/nemotron-3.5-lightning-free 0 See provider
cline-free/nemotron-3.5-super-vl cline-free/nemotron-3.5-super-vl 0 See provider

๐Ÿ–ฅ๏ธ Local / Self-Hosted (Unlimited, Private, Free Forever)

Tool Type Highlights
Ollama CLI + API 100+ models, GPU acceleration, OpenAI-compatible endpoint
LM Studio Desktop GUI Any GGUF model, built-in model browser, offline
llama.cpp C/C++ engine Runs any GGUF, minimal dependencies
GPT4All Desktop app CPU-only, no GPU required, open source
Jan.ai Desktop app Privacy-focused, 100% offline ChatGPT alternative
KoboldCpp Single executable Optimized for creative writing, GGUF

Top Free Models (by Weekly Usage)

Data from freellm.net, updated daily via API monitoring.

Model Provider Context Weekly Usage
NVIDIA: Nemotron 3 Ultra (free) OpenRouter 1M 4330B tokens
Crouton Alpha OpenRouter 1M 4265B tokens
Baidu: ERNIE-5.5-Flash-Preview (free) OpenRouter 1M 2942B tokens
NVIDIA: Nemotron 3.5 Super VL (free) OpenRouter 1M 2596B tokens
Dots Studio: Dots3-Note Preview (free) OpenRouter 512K 738B tokens
Particle AI: Particle-1 (free) OpenRouter 1M 601B tokens
NVIDIA: Nemotron 3.5 Lightning (free) OpenRouter 1M 416B tokens
NVIDIA: Nemotron 3 Nano Omni (free) OpenRouter 256K 209B tokens
Recursive: Flint (free) OpenRouter 262K 192B tokens
Cohere: North Mini Code (free) OpenRouter 256K 189B tokens

Repository Structure

awesome-free-llm-apis/
โ”œโ”€โ”€ README.md              โ† Complete provider directory & code examples
โ”œโ”€โ”€ code-examples/          โ† Ready-to-use config snippets
โ”‚   โ”œโ”€โ”€ claude-code.md
โ”‚   โ”œโ”€โ”€ cursor.md
โ”‚   โ””โ”€โ”€ codex.md
โ””โ”€โ”€ LICENSE                 โ† MIT

For the full structured dataset with 453 models and daily updates, visit freellm.net.


Contributing

We welcome contributions!

  • Add a missing free model โ€” Open an issue or submit a PR
  • Fix inaccurate data โ€” Rate limits change, providers graduate. PRs welcome
  • Add a config snippet โ€” Have a working config for a tool we don't cover? Add it to code-examples/

Criteria for inclusion

A model belongs in this list if:

  1. The provider explicitly offers a free tier (not just a trial credit)
  2. The API is publicly accessible (no waitlist, closed beta, or reverse-engineering)
  3. For trial credits: clearly labeled and minimum $1 credit value

Links

License

MIT ยฉ open-free-llm-api


Last updated: 2026-12-03

Nearby in the ranking
Similar items

AI Rank for iPhone

Follow AI model rankings

Download on the App Store