Status: [LIVE] Endpoints found: https://openrouter.ai/api/v1 https://openrouter.ai/api/v1` https://open.bigmodel.cn/api/paas/v4` Source: https://github.com/freellms/free-openai-compatible-api

Free OpenAI-Compatible API — Drop-in ChatGPT API Replacements

Use the OpenAI SDK against free providers — Groq, Gemini, Mistral, Cohere, OpenRouter, and 25+ more. No OpenAI bill, no credit card.

🌐 Browse all OpenAI-compatible free APIs at freellms.org

--- ## What is a Free OpenAI-Compatible API? Any API that accepts the OpenAI Chat Completions request format (`/v1/chat/completions`, `messages`, `model`, `apiKey`). You can swap `https://api.openai.com/v1` for any provider below and your code keeps working — for free. > **Full directory of OpenAI-compatible providers:** freellms.org --- ## OpenAI-Compatible Free API Directory | Provider | Base URL | Free Tier | OpenAI-Compatible | |---|---|---|---| | Groq | `https://api.groq.com/openai/v1` | 30 RPM, 14,400 RPD | ✅ Full | | Google Gemini | `https://generativelanguage.googleapis.com/v1beta` | 15 RPM, 1,500 RPD | ✅ Full | | Mistral AI | `https://api.mistral.ai/v1` | Free tier | ✅ Full | | Cohere | `https://api.cohere.com/v2` | 20 RPM | ✅ Full | | OpenRouter | `https://openrouter.ai/api/v1` | 1K RPD | ✅ Full | | NVIDIA NIM | `https://integrate.api.nvidia.com/v1` | Free tier | ✅ Full | | GitHub Models | `https://models.github.ai/inference` | Free tier | ✅ Full | | Cloudflare Workers AI | `https://api.cloudflare.com/client/v4/accounts/{id}/ai/run` | 10K neurons/day | ✅ Full | | Cerebras | `https://api.cerebras.ai/v1` | 5 RPM | ✅ Full | | Hugging Face | `https://router.huggingface.co/v1` | Free tier | ✅ Full | | SambaNova | `https://api.sambanova.ai/v1` | 20 RPM | ✅ Full | | LLM7.io | `https://api.llm7.io/v1` | 30 RPM | ✅ Full | | Z AI (Zhipu) | `https://open.bigmodel.cn/api/paas/v4` | Free tier | ✅ Full | | DeepSeek | `h