How to Get a gpt-oss API Key for Free
Updated 27 October 2026.
In short: gpt-oss-120b and gpt-oss-20b are OpenAI's open-weight models, so other services run them, several on free tiers. Groq gives 1,000 requests a day for each, with no credit card; Cloudflare Workers AI, Ollama Cloud, LLM7.io and NVIDIA have them free too.
OpenAI's gpt-oss: open weights
OpenAI publishes the gpt-oss weights, so any service can run the models. OpenAI's own API is paid and needs credits first: see how to get an OpenAI API key for free.
Where gpt-oss models are free
| Where | gpt-oss model | Free allowance | What it needs |
|---|---|---|---|
| Groq | openai/gpt-oss-120b, openai/gpt-oss-20b | 1,000 requests a day | A free account |
| Cloudflare Workers AI | @cf/openai/gpt-oss-120b, @cf/openai/gpt-oss-20b | Inside the 10,000 free Neurons a day | A free Cloudflare account |
| Ollama Cloud | gpt-oss:120b, gpt-oss:20b | A starter amount each month, shared | A free account |
| LLM7.io | gpt-oss:20b | 100,000 tokens a day, shared with its other free models | A free account; keys expire on a date you set |
| OVHcloud AI Endpoints | gpt-oss-120b, gpt-oss-20b | 2 requests a minute per model, per IP address | Nothing: no account and no API key |
| NVIDIA (build.nvidia.com) | openai/gpt-oss-20b | Up to 40 requests a minute, no daily limit stated | Phone verification, not offered in every country |
gpt-oss answered on free Groq, Ollama and LLM7 keys in October 2026. The full list of free AI APIs, with each limit and source, is on how to get AI API keys for free.
Use a free gpt-oss model in an app made for OpenAI
In the app, enter the service's key, its base URL and its gpt-oss model name:
| Service | Base URL | Model name |
|---|---|---|
| Groq | https://api.groq.com/openai/v1 | openai/gpt-oss-120b |
| Cloudflare Workers AI | https://api.cloudflare.com/client/v4/accounts/YOUR_ACCOUNT_ID/ai/v1 | @cf/openai/gpt-oss-120b |
| Ollama Cloud | https://ollama.com/v1 | gpt-oss:120b |
| LLM7.io | https://api.llm7.io/v1 | gpt-oss:20b |
| OVHcloud AI Endpoints | https://oai.endpoints.kepler.ai.cloud.ovh.net/v1 | gpt-oss-120b |
| NVIDIA | https://integrate.api.nvidia.com/v1 | openai/gpt-oss-20b |
To put several free keys behind one address on your own computer, the open-source OmniRoute gateway switches to the next key when one runs out.
Words to know
- API key: the password an app uses to call a model. See what is an API key.
- gpt-oss: OpenAI's open-weight models: gpt-oss-120b and the smaller gpt-oss-20b.
- Open-weight model: a model whose weights are published, so anyone can run it.
- Base URL: the address an app sends its requests to.
- Token: a piece of a word; the unit models read and write. See tokens and context windows.
Frequently asked questions
Is there a free gpt-oss API?+
Yes. Groq gives 1,000 requests a day each for openai/gpt-oss-120b and openai/gpt-oss-20b with no credit card, and Cloudflare, Ollama Cloud, LLM7.io and NVIDIA have gpt-oss free too.
Where can I use gpt-oss-120b for free?+
On Groq (openai/gpt-oss-120b), Cloudflare Workers AI (@cf/openai/gpt-oss-120b) and Ollama Cloud (gpt-oss:120b).
Is gpt-oss free on NVIDIA?+
Yes, openai/gpt-oss-20b is in NVIDIA's free API catalog at build.nvidia.com, after phone verification.
What is the Groq base URL for gpt-oss?+
https://api.groq.com/openai/v1 with a free Groq key and the model name openai/gpt-oss-120b.
More free API key tutorials
- How to get a Gemini API key for free
- How to get a Groq API key for free
- How to get a Cloudflare Workers AI API key for free
- How to get a Cohere API key for free
- How to get an OpenRouter API key for free
- How to get an Experimental Labs API key for free (with the $1 verification)
- How to get a Requesty API key for free
- How to use Kilo Code free models (no API key)
- How to get an LLM7 API key for free
- How to use a free AI API without an API key
- How to get an Ollama API key for free
- How to get a Gonka AI API key for free
- How to get a Perplexity API key for free
- Where Qwen is free
- Where Mistral models are free
- The Grok API, checked on a new account
- Where DeepSeek models are free
- Where GLM models are free
- Where OpenAI models are free
- Every free AI API and its daily limit
By model: DeepSeek · OpenAI (GPT) · Claude · Grok · Perplexity · Mistral · Kimi · Qwen · GLM · MiniMax · Llama · Nemotron · Gemma
Want to use these APIs in a desktop app? OpenCode is a free, open-source AI coding app for Windows, Mac and Linux. How to add free API keys to OpenCode and pick a model.