Free GPT-OSS API
OpenAI's open-weight GPT-OSS 20B and 120B, free across seven providers.
FreeLLMAPI is a free, open-source LLM API that routes across every provider with a real free tier. The GPT-OSS models below are served free by Cerebras, Cloudflare Workers AI, Groq, OVH AI Endpoints, Ollama Cloud, OpenRouter, Pollinations — reachable through one OpenAI-compatible key, with automatic failover when a provider hits its rate limit.
Free GPT-OSS models (11)
| Model | Provider | Context | Free limits | Capabilities |
|---|---|---|---|---|
| gpt-oss-120b | Cerebras | 131K | 5 rpm | tools |
| @cf/openai/gpt-oss-120b | Cloudflare Workers AI | 131K | ~18-45M | tools |
| openai/gpt-oss-120b | Groq | 131K | 30 rpm, 1000 rpd | tools |
| gpt-oss:120b | Ollama Cloud | 131K | ~10-20M | tools |
| openai/gpt-oss-120b:free | OpenRouter | 131K | 20 rpm, 1000 rpd | tools |
| gpt-oss-120b | OVH AI Endpoints | 131K | 2 rpm | tools |
| openai/gpt-oss-20b | Groq | 131K | 30 rpm, 1000 rpd | tools |
| openai/gpt-oss-safeguard-20b | Groq | 131K | 30 rpm, 1000 rpd | tools |
| gpt-oss:20b | Ollama Cloud | 131K | ~20-30M | tools |
| openai/gpt-oss-20b:free | OpenRouter | 131K | 20 rpm, 200 rpd | tools |
| openai-fast | Pollinations | 131K | ~? (anon) | — |
How to use GPT-OSS for free
- Install FreeLLMAPI — the open-source router (GitHub). It runs locally and keeps your keys on your machine.
- Add a free key for Cerebras (or any listed provider) on the Keys page — no credit card required.
- Point your OpenAI client at the local endpoint and pick a model:
from openai import OpenAI
# FreeLLMAPI runs locally; grab your unified key + endpoint on the Keys page.
client = OpenAI(base_url="http://localhost:3001/v1", api_key="freellmapi-...")
resp = client.chat.completions.create(
model="gpt-oss-120b",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)
FAQ
Is the GPT-OSS API really free?
Yes — these GPT-OSS models run on genuine provider free tiers (served free by Cerebras, Cloudflare Workers AI, Groq, OVH AI Endpoints, Ollama Cloud, OpenRouter, Pollinations). Inference costs nothing; you only add a free provider key.
Do I need a credit card?
No. The providers here offer free tiers that work without a card. You add the free key once and FreeLLMAPI routes to it.
How do I call GPT-OSS through FreeLLMAPI?
Install the open-source router, add the provider's free key on the Keys page, then point any OpenAI SDK at your local endpoint — see the code sample above.