Skip to content

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

Wheregpt-oss modelFree allowanceWhat it needs
Groqopenai/gpt-oss-120b, openai/gpt-oss-20b1,000 requests a dayA free account
Cloudflare Workers AI@cf/openai/gpt-oss-120b, @cf/openai/gpt-oss-20bInside the 10,000 free Neurons a dayA free Cloudflare account
Ollama Cloudgpt-oss:120b, gpt-oss:20bA starter amount each month, sharedA free account
LLM7.iogpt-oss:20b100,000 tokens a day, shared with its other free modelsA free account; keys expire on a date you set
OVHcloud AI Endpointsgpt-oss-120b, gpt-oss-20b2 requests a minute per model, per IP addressNothing: no account and no API key
NVIDIA (build.nvidia.com)openai/gpt-oss-20bUp to 40 requests a minute, no daily limit statedPhone 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:

ServiceBase URLModel name
Groqhttps://api.groq.com/openai/v1openai/gpt-oss-120b
Cloudflare Workers AIhttps://api.cloudflare.com/client/v4/accounts/YOUR_ACCOUNT_ID/ai/v1@cf/openai/gpt-oss-120b
Ollama Cloudhttps://ollama.com/v1gpt-oss:120b
LLM7.iohttps://api.llm7.io/v1gpt-oss:20b
OVHcloud AI Endpointshttps://oai.endpoints.kepler.ai.cloud.ovh.net/v1gpt-oss-120b
NVIDIAhttps://integrate.api.nvidia.com/v1openai/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

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.