Skip to content

About

Awesome Free LLM APIs: discover free AI APIs, free LLM models, OpenAI-compatible endpoints, API keys, rate limits, and setup guides for Claude Code, Cursor, Codex, Open WebUI, and more.

Resources

Contributing

Stars

36 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

28 Commits

Folders and files

Repository files navigation

freellms

424+ free LLMs APIs from 30 providers โ€” find, compare & configure free models in seconds.

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

Provider Logos

๐Ÿ”„ Data refreshed daily from freellms.org โ€” Last updated: 2026-08-09

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


Why This Exists

Finding a free LLMs 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 LLMs API โ€” rate limits, context windows, one-click config snippets, and direct API key links. Updated daily.

Why this repo + freellms.org:

  • โœ… 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 freellms.org/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 freellms.org/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 123 Phone verification 1M audio, embedding, image, reasoning, rerank, text, video, vision โ†’
ModelScope 55 Registration 1M audio, image, reasoning, text, video, vision โ†’
Cloudflare Workers AI 39 No 10M code, image, reasoning, text, video โ†’
GitHub Models 16 No 1M image, pdf, reasoning, text โ†’
Google Gemini 15 No 1M audio, image, pdf, reasoning, text, video, vision โ†’
LLM7.io 15 No 1M audio, code, image, pdf, reasoning, text, video, vision โ†’
OVHcloud AI Endpoints 14 Registration 262K audio, code, image, reasoning, text, video โ†’
Groq 12 No 262K image, reasoning, text โ†’
Mistral AI 12 No 256K code, image, text โ†’
Cohere 12 No 436K image, text โ†’
Kilo Code 12 No 1M audio, code, image, reasoning, text, video โ†’
Ollama Cloud 9 Registration 1M code, image, reasoning, text, video โ†’
OpenCode Zen 9 Registration 1M audio, reasoning, vision โ†’
Cerebras 8 No 131K image, reasoning, text โ†’
Aion Labs 7 Registration 131K text โ†’
Hugging Face 7 No 131K code, text โ†’
Agnes AI 5 Registration 256K image, text, video, vision โ†’
Alibaba Cloud Model Studio 5 Registration 1M code, image, text โ†’
Z AI (Zhipu AI) 4 No 200K image, reasoning, text, video โ†’
SambaNova 4 Registration 128K image, reasoning, text โ†’
SiliconFlow 3 Registration 131K text โ†’
xAI 3 Registration 2M text โ†’
Chutes.ai 2 Registration 131K reasoning, text โ†’
Glhf.chat 2 Registration 131K text โ†’
Grok (xAI) 2 Registration 131K text โ†’
AI21 Labs 2 Registration 256K text โ†’
DeepSeek 2 Registration 128K text โ†’
Nscale 2 Registration 128K text โ†’
Nebius 1 Registration 128K text โ†’

๐Ÿ’ฐ 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 audio, code, embeddings, image, reasoning, rerank, speech, text, video โ†’

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 โ†’ Registration
GitHub Models https://models.github.ai/inference Get Key โ†’ No
Google Gemini https://generativelanguage.googleapis.com/v1beta Get Key โ†’ No
LLM7.io https://api.llm7.io/v1 Get Key โ†’ No
OVHcloud AI Endpoints https://oai.endpoints.kepler.ai.cloud.ovh.net/v1 Get Key โ†’ Registration
Groq https://api.groq.com/openai/v1 Get Key โ†’ No
Mistral AI https://api.mistral.ai/v1 Get Key โ†’ No
Cohere https://api.cohere.com/v2 Get Key โ†’ No
Kilo Code https://api.kilo.ai/api/gateway Get Key โ†’ No
Ollama Cloud https://api.ollama.com Get Key โ†’ Registration
OpenCode Zen https://opencode.ai/zen/v1 Get Key โ†’ Registration
Cerebras https://api.cerebras.ai/v1 Get Key โ†’ No
Aion Labs https://api.aionlabs.ai/v1 Get Key โ†’ Registration
Hugging Face https://router.huggingface.co/v1 Get Key โ†’ No
Agnes AI https://apihub.agnes-ai.com/v1 Get Key โ†’ Registration
Alibaba Cloud Model Studio https://dashscope-intl.aliyuncs.com/compatible-mode/v1 Get Key โ†’ Registration
Z AI (Zhipu AI) https://open.bigmodel.cn/api/paas/v4 Get Key โ†’ No
SambaNova https://api.sambanova.ai/v1 Get Key โ†’ Registration
SiliconFlow https://api.siliconflow.cn/v1 Get Key โ†’ Registration
xAI https://api.x.ai/v1 Get Key โ†’ Registration
Chutes.ai https://api.chutes.ai/v1 Get Key โ†’ Registration
Glhf.chat https://glhf.chat/api/openai/v1 Get Key โ†’ Registration
Grok (xAI) https://api.x.ai/v1 Get Key โ†’ Registration
AI21 Labs https://api.ai21.com/studio/v1 Get Key โ†’ Registration
DeepSeek https://api.deepseek.com/v1 Get Key โ†’ Registration
Nscale https://inference.api.nscale.com/v1 Get Key โ†’ Registration
Nebius https://api.studio.nebius.com/v1 Get Key โ†’ Registration

Best Free Models by Provider

Provider Best Free Model Model ID Max Context Rate Limit
NVIDIA NIM z-ai/glm-5.2 z-ai/glm-5.2 1M Up to 40 RPM
poolside/laguna-xs-2.1 poolside/laguna-xs-2.1 262K Up to 40 RPM
z-ai/glm-5.1 z-ai/glm-5.1 202K Up to 40 RPM
ModelScope MiniMax-M2.5-highspeed MiniMax/MiniMax-M2.5 204K See provider
Qwen/Qwen3.5-35B-A3B qwen-qwen3-5-35b-a3b 131K 2,000 RPD total; <=500 ..
Qwen/Qwen3.5-27B qwen-qwen3-5-27b 131K 2,000 RPD total; <=500 ..
Cloudflare Workers AI Mistral 7B @cf/mistral/mistral-7b-instruct-v0.1 32K See provider
Qwen 1.5 7B @cf/qwen/qwen1.5-7b-chat 32K See provider
@cf/meta/llama-3.3-70b-instruct-fp8-fast @cf/meta/llama-3.3-70b-instruct-fp8-fast 131K 10K neurons/day (shared)
OpenRouter NVIDIA: Nemotron 3 Ultra (free) nvidia/nemotron-3-ultra-550b-a55b:free 1M See provider
Poolside: Laguna M.1 (free) poolside/laguna-m.1:free 262K See provider
NVIDIA: Nemotron 3 Super (free) nvidia/nemotron-3-super-120b-a12b:free 262K See provider
GitHub Models Phi-4 Phi-4 131K See provider
Mistral Large (24.11) Mistral-large-2411 131K See provider
AI21 Jamba 1.5 Large AI21-Jamba-1.5-Large 256K See provider
Google Gemini Gemini 3.6 Flash gemini-3.6-flash 1M 15 RPM, 1,500 RPD
Gemini 3.5 Flash gemini-3.5-flash 1M 15 RPM, 1,500 RPD
Gemini 3.5 Flash-Lite gemini-3.5-flash-lite 1M 30 RPM, 1,500 RPD
LLM7.io deepseek-r1-0528 deepseek-r1-0528 131K 30 RPM (120 with token)
deepseek-v3-0324 deepseek-v3-0324 131K 30 RPM (120 with token)
gpt-4o-mini gpt-4o-mini 131K 30 RPM (120 with token)
OVHcloud AI Endpoints Qwen3.5-397B-A17B qwen3.5-397b-a17b 131K 2 RPM (anonymous)
Meta-Llama-3_3-70B-Instruct meta-llama-3_3-70b-instruct 131K 2 RPM (anonymous)
Qwen3.6-27B qwen3.6-27b 131K 2 RPM (anonymous)
Groq Moonshot Kimi K2 moonshotai/kimi-k2-instruct 131K See provider
Moonshot Kimi K2 0905 moonshotai/kimi-k2-instruct-0905 131K See provider
groq/compound groq/compound 131K 30 RPM, 250 RPD
Mistral AI Mistral 7B open-mistral-7b 32K See provider
Mixtral 8x7B open-mixtral-8x7b 32K See provider
Mistral Medium 3.5 (128B) mistral-medium-3-5-128b 256K ~1 RPS, 500K TPM
Cohere Command A+ (218B) command-a-218b 436K 20 RPM
Command A (111B) command-a-111b 288K 20 RPM
Command R+ command-r 128K 20 RPM
Kilo Code nvidia/nemotron-3-ultra-550b-a55b:free nvidia/nemotron-3-ultra-550b-a55b:free 1M ~200 req/hr
stepfun/step-3.7-flash:free stepfun/step-3.7-flash:free 262K ~200 req/hr
nvidia/nemotron-3-super-120b-a12b:free nvidia/nemotron-3-super-120b-a12b:free 262K ~200 req/hr
Ollama Cloud minimax-m3 minimax-m3 1M Session/weekly limits (..
gpt-oss:20b gpt-oss:20b 131K Session/weekly limits (..
nemotron-3-ultra nemotron-3-ultra 262K Session/weekly limits (..
OpenCode Zen big-pickle big-pickle 0
DeepSeek V4 Flash deepseek-v4-flash-free 1M
MiMo-V2.5 mimo-v2.5-free 1M
Cerebras Llama 3.1 70B llama3.1-70b 131K See provider
gpt-oss-120b gpt-oss-120b 131K 5 RPM, 30K TPM, 1M TPD
zai-glm-4.7 (deprecated Aug 2026) zai-glm-4.7 131K 5 RPM, 30K TPM, 1M TPD
Aion Labs Aion 2.5 aion-2-5 128K 15 RPM, 20K TPD
Aion 2.0 aion-2-0 128K 15 RPM, 20K TPD
Aion-RP 1.0 (8B) aion-rp-1-0-8b 32K 15 RPM, 20K TPD
Hugging Face Meta-Llama-3.1-8B-Instruct meta-llama-3-1-8b-instruct 128K Credit-metered
gemma-3-4b-it gemma-3-4b-it 131K Credit-metered
Qwen2.5-Coder-7B-Instruct qwen2-5-coder-7b-instruct 131K Credit-metered
Agnes AI agnes-1.5-flash agnes-1.5-flash 256K 30 RPM
agnes-2.0-flash agnes-2.0-flash 256K 30 RPM
agnes-image-2.0-flash agnes-image-2.0-flash 4K 30 RPM (1K)
Alibaba Cloud Model Studio Qwen3-Max qwen3-max 128K Tiered by region
Qwen3-Plus qwen3-plus 1M Tiered by region
Qwen3-VL-Plus qwen3-vl-plus 128K Tiered by region
Z AI (Zhipu AI) GLM-4.7-Flash glm-4.7 200K 1 concurrent request
GLM-4.5-Flash glm-4.5 128K 1 concurrent request
GLM-4.6V-Flash glm-4.6 128K 1 concurrent request
SambaNova DeepSeek-V3.1 deepseek-v3-1 128K 20 RPM, 20 RPD, 200K TPD
DeepSeek-V3.2 (Preview) deepseek-v3-2-preview 128K 20 RPM, 20 RPD, 200K TPD
MiniMax-M2.7 minimax-m2-7 128K 20 RPM, 20 RPD, 200K TPD
SiliconFlow deepseek-ai/DeepSeek-R1-Distill-Qwen-7B deepseek-ai-deepseek-r1-distill-qwen-7b 131K 30 RPM, 60K TPM
Abbreviation abbreviation 131K See provider
deepseek-ai/DeepSeek-OCR deepseek-ai-deepseek-ocr 131K 30 RPM, 60K TPM
xAI grok-4.3 grok-4-3 1M Credit-based
grok-4.1-fast grok-4-1-fast 2M Credit-based
grok-3-mini grok-3-mini 131K Credit-based
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 grok-2 131K $25/month free credits,..
Grok-2 Mini grok-2-mini 131K $25/month free credits,..
AI21 Labs Jamba Large 1.7 jamba-large-1-7 256K 200 RPM, 10 RPS
Jamba Mini 2 jamba-mini-2 256K 200 RPM, 10 RPS
DeepSeek deepseek-chat (V3.2) deepseek-chat-v3-2 128K Dynamic
deepseek-reasoner (R1) deepseek-reasoner-r1 128K Dynamic
Nscale Llama-3.3-70B-Instruct llama-3-3-70b-instruct 128K Fair-use
DeepSeek-R1-Distill-Llama-70B deepseek-r1-distill-llama-70b 128K Fair-use
Nebius Qwen3-235B-A22B qwen3-235b-a22b 128K Tier-based

๐Ÿ–ฅ๏ธ 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 freellms.org, updated daily via API monitoring.

Model Provider Context Weekly Usage
z-ai/glm-5.2 NVIDIA NIM 1M 2998B tokens
NVIDIA: Nemotron 3 Ultra (free) OpenRouter 1M 2326B tokens
Poolside: Laguna M.1 (free) OpenRouter 262K 768B tokens
NVIDIA: Nemotron 3 Super (free) OpenRouter 262K 315B tokens
Cohere: North Mini Code (free) OpenRouter 256K 255B tokens
poolside/laguna-xs-2.1 NVIDIA NIM 262K 171B tokens
z-ai/glm-5.1 NVIDIA NIM 202K 158B tokens
Poolside: Laguna S 2.1 (free) OpenRouter 262K 83B tokens
Poolside: Laguna XS 2.1 (free) OpenRouter 262K 81B tokens
NVIDIA: Nemotron 3 Nano 30B A3B (free) OpenRouter 256K 45B tokens

Repository Structure

freellms/
โ”œโ”€โ”€ README.md              โ† Complete provider directory & code examples
โ”œโ”€โ”€ README.zh-CN.md        โ† ็ฎ€ไฝ“ไธญๆ–‡ translation
โ”œโ”€โ”€ README.zh-TW.md        โ† ็น้ซ”ไธญๆ–‡ translation
โ”œโ”€โ”€ README.ja.md           โ† ๆ—ฅๆœฌ่ชž translation
โ”œโ”€โ”€ README.ko.md           โ† ํ•œ๊ตญ์–ด translation
โ”œโ”€โ”€ README.es.md           โ† Espaรฑol translation
โ”œโ”€โ”€ README.la.md           โ† Latine translation
โ”œโ”€โ”€ code-examples/          โ† Ready-to-use config snippets
โ”‚   โ”œโ”€โ”€ claude-code.md
โ”‚   โ”œโ”€โ”€ cursor.md
โ”‚   โ””โ”€โ”€ codex.md
โ”œโ”€โ”€ assets/                 โ† Static assets (provider logo marquee)
โ”œโ”€โ”€ .github/                โ† Issue/PR templates & funding config
โ””โ”€โ”€ LICENSE                 โ† MIT

For the full structured dataset with 453 models and daily updates, visit freellms.org.


FAQ

Are these APIs really free?

Yes โ€” the list separates providers into permanently free tiers and renewable credits (see the Provider Directory). Every entry shows exactly what's required โ€” credit card, phone verification, or just registration โ€” so there are no surprises at sign-up.

Do I need a credit card?

Most permanently free providers do not require one. Providers that do are clearly marked in the Provider Directory table โ€” look for the "Credit Card?" column before signing up.

How often is the data updated?

Daily. The provider directory, base URLs, and rate limits are refreshed automatically from freellms.org โ€” see the "Data refreshed daily" badge at the top of this page.

Which model should I start with?

Groq is the usual first pick: no credit card, 30 RPM free tier. For the strongest free models overall, see Best Free Models by Provider and Top Free Models (by Weekly Usage).

Can I use these APIs with my own tools?

Yes โ€” every provider exposes an OpenAI-compatible endpoint, so any tool that accepts baseURL + apiKey works. See Quick Start and the ready-made configs for Claude Code, Cursor, Codex, and more in code-examples/.

I found a new free API. How do I add it?

Open a submission issue or submit a PR following the Contributing guide โ€” a genuine free tier and a working API key link are required.


Related Projects

Looking for more free LLM API resources, AI agent tools, and API proxy gateways? Here are similar open-source projects and directories in the free AI API ecosystem. All links below route to the unified directory at freellms.org.

Project Keywords Description
awesome-free-llm-apis free llm api, awesome free ai api, free large language model api A curated list of permanently free LLM APIs โ€” rate limits, context windows, and one-click configs for 30+ providers.
free-llm-api-resources free llm api resources, free inference api, free ai api list A community-maintained directory of free LLM inference resources accessible via API, with quota and verification details.
FreeLLMAPI freellm api, free openai compatible api, unified free llm endpoint An OpenAI-compatible endpoint aggregating 16+ free LLM providers with ~1.7B tokens/month of free inference.
Awesome-LLM-Apps free ai agent, awesome llm apps, free ai tools A collection of 200+ open-source LLM apps and AI agent projects โ€” assistants, chatbots, and automation workflows.
Awesome AI Agents ai proxy, free ai agent gateway, autonomous agent api A curated list of AI autonomous agent frameworks, tools, and research โ€” covering agent orchestration and API proxy patterns.

Note: freellms.org consolidates all of the above โ€” free API directory, comparison tools, config generator, and daily-updated model data โ€” in one place.


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 ยฉ freellms


Last updated: 2026-08-09

About

Awesome Free LLM APIs: discover free AI APIs, free LLM models, OpenAI-compatible endpoints, API keys, rate limits, and setup guides for Claude Code, Cursor, Codex, Open WebUI, and more.

Resources

Contributing

Stars

36 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors