Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

36 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Free-LLM โ€” Open Directory of Free AI & LLM APIs

110+ free LLM models from 34 providers โ€” find, compare & configure free models in seconds, plus 9 local/self-hosted tools for unlimited private use.

๐ŸŒ Live at free-llm.com โ€” Compare providers ยท Submit a provider ยท Guides ยท Hall of Fame

Website License Community Driven

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


Why This Exists

Finding a free LLM API shouldn't mean hunting through a dozen changelogs, signing up for five platforms just to compare rate limits, or guessing which provider still has a free tier this month.

This repo โ€” backed by the live directory at free-llm.com โ€” is a structured, community-maintained reference covering every provider that lets you use LLMs at zero cost.

  • โœ… Community-maintained โ€” votes, submissions, and edit suggestions from real users, moderated before publishing
  • โœ… Credit card transparency โ€” every provider below is labeled with whether it needs a card, phone verification, or nothing at all
  • โœ… Ready-to-run code โ€” Python/JavaScript/curl snippets for all 33 providers in code-examples/, plus per-tool configs for Claude Code, Cursor, and Codex
  • โœ… Side-by-side comparison โ€” free-llm.com/compare puts two providers head-to-head on limits, models, and pricing

How to Use โ€” 3 Steps

  1. Pick a provider โ€” see the Provider Directory below. New to this? Start with Groq (no credit card, 30 RPM / 14,400 requests per day, free forever).
  2. Get your API key โ€” every row links straight to the provider's key page in Quick Reference. Most only need an email address.
  3. Plug it in โ€” copy the base URL + a model ID from the tables below into the snippets in Quick Start.

Full details, live status, and community notes for each provider live on its page at free-llm.com/provider/<slug> (e.g. free-llm.com/provider/groq).


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

Most providers below expose an OpenAI-compatible endpoint. Any tool that accepts a baseURL + apiKey works โ€” just swap the two.

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",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
# Groq free tier: 30 RPM, 14,400 requests/day โ€” generous for personal use

Coding assistants

Point your AI coding tool at a free backend instead of a paid one:

Every other provider has a ready-to-copy snippet in code-examples/ โ€” see Code Examples below.


Provider Directory

โšก Permanent Free Tiers

Ongoing free access with rate-limited quotas that never expire.

Provider Credit Card? Rate Limit Daily Limit Monthly Limit Key Models
Google AI Studio No 5-30 RPM (varies by model) 9000 RPD (Flash) / 25 RPD (3.1 Pro) Free of charge Gemini 3.1 Pro, Gemini 3.1 Flash, Gemini 3.0 Flash, Gemini 3.0 Flash-Lite
Mistral (La Plateforme) Phone verification 1 request/second - Free Mistral 7B, Mixtral 8x7B, Mistral Small, Mistral Nemo
Hugging Face Inference No 300 Requests / hour Capped by monthly credit, not a flat request count $0.10/month in free routing credits (PRO: $2/month) Llama 3.2 11B Vision, Llama 3.1 8B Instruct, Qwen 2.5 72B Instruct, Gemma 2 9B Instruct
Cohere No 20 requests/minute - 1,000 requests/month Command R+ (08-2024), Command R (08-2024), Command R7B (12-2024), Command A (111B)
NVIDIA NIM Phone verification 40 requests/minute - - See provider
Cerebras No 30 RPM 1,000,000 Tokens / Day Free Forever Llama 3.1 8B (Fast), Llama 3.1 70B (Fast), Llama 4 Scout (Fast), Qwen3 32B (Fast)
Groq No 30 RPM, 14.4k RPD 14,400 Requests/Day Free Forever Qwen3.6 27B, MiniMax M2.7, Llama 3.1 8B, Llama 3.3 70B
Coze Registration Varies by model Token-based daily limits Resets daily GPT-4o (via Coze), Gemini 1.5 Pro (via Coze)
Z.AI (GLM) Registration ~1 request/second (Flash models) ~1,000 requests/day (Flash tier) Free tier ongoing, subject to change GLM-4.5-Flash, GLM-4.7-Flash
Cloudflare Workers AI No Varies by model 10,000 neurons/day ~300,000 neurons/month Llama 3.1 8B Instruct, Llama 3.2 3B Instruct, Mistral 7B Instruct v0.2, Qwen 1.5 7B Chat
OVH AI Endpoints Registration 2 RPM (Anonymous) / 400 RPM (Auth) Unspecified Beta Access Qwen3Guard-Gen-0.6B (Beta), Qwen3Guard-Gen-8B (Beta), stable-diffusion-xl-base-v10, nvr-tts-es-es
Ollama Cloud No Light usage tier, 1 concurrent model Session limit resets every few hours Weekly usage limit resets every 7 days GPT-OSS 120B (Cloud), GPT-OSS 20B (Cloud), Qwen3.5 (Cloud), DeepSeek V4 Flash (Cloud)
Nous Portal No Not fully published โ€” verify on portal.nousresearch.com Not published Free tier: $0/month, no credit card Hermes 4
Inference.net No 30 RPM (fair use) Fair use policy Fair use policy DeepSeek-R1, Llama 3.1 8B Instruct, Llama 3.1 70B Instruct

๐Ÿ’ฐ Renewable Credits

Free access that renews periodically, no one-time expiry.

Provider Credit Card? Rate Limit Free Offer Key Models
OpenRouter No 20 requests/minute 50 requests/day (up to 1000 with $10 topup) Google: Gemini 2.0 Flash (free), Google: Gemini 2.0 Pro (free), Meta: Llama 3.3 70B Instruct (free), NVIDIA: Llama 3.1 Nemotron 70B (free)
Venice.ai โš ๏ธ full API access requires a Pro subscription Registration 10 RPM (free tier) Limited daily usage Llama 3.1 405B, Dolphin Mixtral, Stable Diffusion 3
Grok (xAI) Registration Varies (low for free tier) $25 one-time signup credit Grok-2, Grok-2 Mini, Grok-2 Vision

๐ŸŽ One-Time Trial Credits

Sign up and receive credits to use until depleted.

Provider Credit Card? Credit Amount Expiry Key Models
Together.AI โš ๏ธ free research models need a $5 minimum deposit Registration โ€” โ€” PrismML Ternary Bonsai 27B (Free)
Replicate Registration Small trial credit One-time See provider
Fireworks AI Registration $1 One-time See provider
SambaNova Cloud Registration $5 One-time See provider
Hyperbolic Registration $1 One-time See provider
Nebius (Token Factory) Registration $1 (requires a bank card on file) One-time See provider
Novita AI Registration $0.50 One-time See provider
Scaleway Generative APIs Registration 1M tokens One-time See provider
Qwen (Alibaba) Registration 1M tokens/model One-time per model See provider
AI21 Labs Registration $10 3 months Jamba Large, Jamba Mini
Upstage Registration $10 3 months See provider
DeepSeek Registration 5M tokens 30 days See provider
Requesty Registration Free monthly credits Renewing monthly See provider
Cerebrium Registration $30 One-time See provider
DeepInfra Registration $5 One-time (90 days expiry) See provider
Friendli AI Registration $10 One-time 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
llamafile Single executable Multi-platform, combines llama.cpp + Cosmopolitan Libc
Text Generation WebUI Gradio UI Highly customizable, advanced local experimentation
BentoML Inference platform Deploy any AI/ML model anywhere, production-grade

Quick Reference โ€” Base URLs & API Keys

Provider Base URL Get API Key
OpenRouter https://openrouter.ai/api/v1 Get Key โ†’
Google AI Studio https://generativelanguage.googleapis.com/v1beta Get Key โ†’
Together.AI https://api.together.xyz/v1 Get Key โ†’
Mistral (La Plateforme) https://api.mistral.ai/v1 Get Key โ†’
Hugging Face Inference https://router.huggingface.co/v1 Get Key โ†’
Cohere https://api.cohere.ai/v1 Get Key โ†’
Replicate https://api.replicate.com/v1 Get Key โ†’
Fireworks AI https://api.fireworks.ai/inference/v1 Get Key โ†’
NVIDIA NIM https://integrate.api.nvidia.com/v1 Get Key โ†’
Venice.ai https://api.venice.ai/api/v1 Get Key โ†’
SambaNova Cloud https://api.sambanova.ai/v1 Get Key โ†’
Hyperbolic https://api.hyperbolic.xyz/v1 Get Key โ†’
Nebius (Token Factory) https://api.tokenfactory.nebius.com/v1 Get Key โ†’
Cerebras https://api.cerebras.ai/v1 Get Key โ†’
Novita AI https://api.novita.ai/v3/openai Get Key โ†’
Groq https://api.groq.com/openai/v1 Get Key โ†’
Scaleway Generative APIs https://api.scaleway.ai/v1 Get Key โ†’
Qwen (Alibaba) https://dashscope-intl.aliyuncs.com/api/v1 Get Key โ†’
AI21 Labs https://api.ai21.com/studio/v1 Get Key โ†’
Upstage https://api.upstage.ai/v1/solar Get Key โ†’
DeepSeek https://api.deepseek.com/v1 Get Key โ†’
Coze https://api.coze.com/v1 Get Key โ†’
Z.AI (GLM) https://api.z.ai/api/paas/v4 Get Key โ†’
Cloudflare Workers AI https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/run/ Get Key โ†’
Requesty https://router.requesty.ai/v1 Get Key โ†’
OVH AI Endpoints https://oai.endpoints.kepler.ai.cloud.ovh.net/v1 Get Key โ†’
Cerebrium https://api.cortex.cerebrium.ai/v4 Get Key โ†’
DeepInfra https://api.deepinfra.com/v1/openai Get Key โ†’
Friendli AI https://inference.friendli.ai/v1 Get Key โ†’
Ollama Cloud https://ollama.com/v1 Get Key โ†’
Nous Portal https://inference-api.nousresearch.com/v1 Get Key โ†’
Inference.net https://api.inference.net/v1 Get Key โ†’
Grok (xAI) https://api.x.ai/v1 Get Key โ†’

Guides & Tutorials

Published at free-llm.com/guides:

  • Best Free LLM APIs in 2026 โ€” side-by-side comparison of top picks
  • Gemini vs ChatGPT (Free Tier) โ€” what you actually get for $0
  • How to Use OpenRouter โ€” setup walkthrough with code
  • OpenRouter Alternatives โ€” other aggregators worth trying
  • Local LLMs with Ollama โ€” get started in under 5 minutes
  • Ultimate Free LLM API Guide โ€” the comprehensive deep-dive

Community Features

Free-LLM is community-driven. The website at free-llm.com lets visitors:

  • Vote on providers to surface the most useful ones
  • Submit new providers and models
  • Propose edits to existing provider data (admin-reviewed)
  • Report models that have gone from free to paid
  • Earn recognition on the Hall of Fame leaderboard

Data syncs back to this repository.


Code Examples

The code-examples/ directory has ready-to-run Python, JavaScript, and curl snippets โ€” just add your API key.

By coding assistant: Claude Code ยท Cursor ยท Codex CLI

By provider (33): AI21 Labs ยท Cerebras ยท Cerebrium ยท Chutes.ai ยท Cloudflare Workers AI ยท Cohere ยท Coze ยท DeepInfra ยท DeepSeek ยท Fireworks AI ยท Friendli AI ยท GitHub Models ยท Google AI Studio ยท Grok / xAI ยท Groq ยท Hugging Face Inference ยท Hyperbolic ยท Inference.net ยท Mistral AI ยท Nebius ยท Novita AI ยท NVIDIA NIM ยท OpenRouter ยท OVH AI Endpoints ยท Qwen / Alibaba ยท Replicate ยท Requesty ยท SambaNova ยท Scaleway ยท Together.AI ยท Upstage ยท Venice.ai ยท Z.AI (GLM)

Local / Self-Hosted: BentoML ยท GPT4All ยท Jan.ai ยท KoboldCpp ยท llama.cpp ยท llamafile ยท LM Studio ยท Ollama ยท Text Gen WebUI


Repository Structure

Free-LLM/
โ”œโ”€โ”€ README.md                 โ† You are here (English)
โ”œโ”€โ”€ README.zh-CN.md            โ† ็ฎ€ไฝ“ไธญๆ–‡
โ”œโ”€โ”€ README.zh-TW.md            โ† ็น้ซ”ไธญๆ–‡
โ”œโ”€โ”€ README.ja.md               โ† ๆ—ฅๆœฌ่ชž
โ”œโ”€โ”€ README.ko.md                โ† ํ•œ๊ตญ์–ด
โ”œโ”€โ”€ CONTRIBUTING.md            โ† Contribution guidelines
โ”œโ”€โ”€ code-examples/             โ† Ready-to-use snippets (per-provider + per-tool)
โ”œโ”€โ”€ .github/                   โ† Issue/PR templates
โ””โ”€โ”€ LICENSE                    โ† MIT

Contributing

See CONTRIBUTING.md for the full guide. Quick version:

  1. Add a provider โ€” use the submit form on the website, or open an issue/PR here.
  2. Fix inaccurate data โ€” rate limits change, providers graduate or shut down. PRs welcome.
  3. Add a config snippet โ€” have a working config for a tool we don't cover? Add it to code-examples/.
  4. Vote & discuss โ€” help the community surface the best options at free-llm.com.

Criteria for inclusion

A provider belongs in this list if:

  1. It explicitly offers a free tier (not just a trial credit with no free-forever option) โ€” see Provider Directory for how we split permanent tiers from one-time credits
  2. The API is publicly accessible (no waitlist, closed beta, or reverse-engineering)
  3. For trial credits: clearly labeled and the free-forever alternative (if any) is called out

Links

License

MIT โ€” see LICENSE for details.


Data synced automatically from the live directory โ€” last updated: 2026-08-15

About

Free LLM APIs : 45+ providers with permanent free tiers, trial credits & no credit card required. Includes GPT-4o, Gemini, Claude, Llama, DeepSeek, Mistral & more. Updated weekly. free-llm llm-api free-api gpt-4o-free claude-api gemini-api llama-api deepseek-free mistral-api openai-alternative free-gpt ai-api llm generative-ai machine-learning

Topics

Resources

Contributing

Stars

188 stars

Watchers

6 watching

Forks

Releases

Packages

Contributors

Languages