Skip to content

Latest commit

 

History

History
315 lines (242 loc) · 23.5 KB

File metadata and controls

315 lines (242 loc) · 23.5 KB

Free-LLM — Open Directory of Free AI & LLM APIs

120+ free LLM models from 41 providers — find, compare & configure free models in seconds, plus 9 local/self-hosted tools for unlimited private use.

🌐 Live at free-llm.comCompare 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 comparisonfree-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
Groq No 30 RPM, 14.4k RPD 14,400 Requests/Day Free Forever Qwen3.6 27B, MiniMax M2.7, Whisper Large v3, Whisper Large v3 Turbo
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
Hetzner Inference API No 3M input / 60K output tokens per 60s 500M input / 5M output tokens per 24h Free during experimental phase, no billing system yet Qwen3.6 35B A3B
LLM7.io No 30 RPM (no signup) / 120 RPM (free email token) Up to 5M tokens/day (rolling 24h, with free token) Free, no billing DeepSeek-R1, Qwen 2.5
Pollinations.ai No ~1 request/15s (anonymous) — higher with a free API key Fair use Free, no billing system OpenAI GPT-class (via Pollinations), Mistral-class (via Pollinations)
SiliconFlow Phone verification Fixed limits for free models — exact figures require login, verify on cloud.siliconflow.cn/models Not fully published — verify on docs.siliconflow.cn Free models available after identity verification See provider
ModelScope Phone verification 500 requests/day per model 2,000 requests/day total Free, no billing See provider
Aion Labs No Not published — verify on aionlabs.ai/pricing Daily token allowance (exact quota undisclosed) Free, no billing See provider
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 Registration 10 RPM (free tier) Limited daily usage Llama 3.1 405B, Dolphin Mixtral, Stable Diffusion 3
Requesty No 60 RPM 200 requests/day (free models) See provider
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 3 months See provider
Hyperbolic Registration $1 One-time See provider
Nebius (Token Factory) Registration $1 (requires a bank card on file) One-time See provider
Cerebras Registration $5 30 days Llama 3.1 8B (Fast), Llama 3.1 70B (Fast), Llama 4 Scout (Fast), Qwen3 32B (Fast)
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
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
Nscale No $5 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 →
Hetzner Inference API https://inference.hetzner.com/api/v1 Get Key →
LLM7.io https://api.llm7.io/v1 Get Key →
Pollinations.ai https://text.pollinations.ai Get Key →
SiliconFlow https://api.siliconflow.com/v1 Get Key →
ModelScope https://api-inference.modelscope.cn/v1 Get Key →
Aion Labs https://api.aionlabs.ai/v1 Get Key →
Nscale https://inference.api.nscale.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 (40): AI21 Labs · Aion Labs · Cerebras · Cerebrium · Cloudflare Workers AI · Cohere · Coze · DeepInfra · DeepSeek · Fireworks AI · Friendli AI · Google AI Studio · Grok (xAI) · Groq · Hetzner Inference API · Hugging Face Inference · Hyperbolic · Inference.net · LLM7.io · Mistral (La Plateforme) · ModelScope · Nebius (Token Factory) · Nous Portal · Novita AI · Nscale · NVIDIA NIM · Ollama Cloud · OpenRouter · OVH AI Endpoints · Pollinations.ai · Qwen (Alibaba) · Replicate · Requesty · SambaNova Cloud · Scaleway Generative APIs · SiliconFlow · 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

Star History

Star History Chart


License

MIT — see LICENSE for details.


Data synced automatically from the live directory — last updated: 2026-08-20