Provider

Is there a free GPT API?

OpenAI does not give free recurring tokens on its API. You pay for each request from prepaid credit. There are legitimate ways to use GPT-family models at no cost, but each has limits. This guide explains them and shows the free GPT models in today's catalog.

The short answer

  • No free tokens: OpenAI bills API usage from prepaid credit. The OpenAI help center says that you need a positive account balance to use OpenAI models.
  • A tier named Free: the OpenAI rate limit guide lists a usage tier named Free, for users in an allowed geography. It sets a monthly usage limit of $100. The guide does not describe it as free usage.
  • ChatGPT is separate: a free ChatGPT account does not include API access.
  • GitHub Models is gone: it gave free rate-limited GPT access with a GitHub token. GitHub retired it on 30 July 2026. Read GitHub Models free API for details.
Warning: do not use leaked or shared OpenAI keys. The owner pays for the usage and can revoke the key at any time. Your prompts also go through an account that is not yours.

Legitimate options at no cost

Ways to use GPT-family models at no cost (checked 20 November 2026)
OptionWhat you getLimits
GPT-OSS on free provider tiersOpenAI open-weight models (GPT-OSS 120B and 20B) on Groq, Cloudflare, NVIDIA NIM, OVH and othersRate limits per provider. No OpenAI account needed
OpenAI data sharing programComplimentary daily tokens on traffic that you share with OpenAIEligible organizations only. Needs a positive balance. Amounts depend on your usage tier
API credits with paid ChatGPT plansOpenAI has a help article about an API credits benefit for eligible ChatGPT subscriptionsWe could not read the full terms. Check the OpenAI help center
GPT routes on third-party gatewaysSmall shared credit on some gateways that resell GPT modelsShared with other users. Can end at any time

The data sharing program is opt-in. Only the account owner can turn it on. When it is on, OpenAI can use the shared traffic to improve its models. Do not turn it on for private or customer data.

GPT-OSS: the free GPT models

GPT-OSS is a family of open-weight models from OpenAI. Because the weights are open, many providers serve them. Several of those providers have recurring free tiers. This is the most dependable free route to an OpenAI model today.

GPT-OSS on free tiers, fastest first
ModelFree onContextFree limits (best offer)ToolsVision
GPT-OSS 120BCloudflare Workers AI, ElectronHub, Groq +2 more131K30 req/min
1,000 req/day
8,000 tokens/min
200,000 tokens/day
~6M
YesNo
GPT-OSS 20BApi.Airforce, Cloudflare Workers AI, Groq +5 more131K30 req/min
1,000 req/day
8,000 tokens/min
200,000 tokens/day
~6M
YesNo
GPT-OSS Safeguard 20BGroq, LLMTR131K30 req/min
1,000 req/day
8,000 tokens/min
200,000 tokens/day
~6M
YesNo
GPT-OSS 20B (via Groq)DreamPrompting131K100 req/min
5,000 req/day
500,000 tokens/day
500K tokens/day · 5,000 req/day
NoNo
OpenAI: GPT OSS 20BElectronHub128K$0.25/week shared free creditsNoNo
GPT-OSS 120B (via Groq)DreamPrompting131K100 req/min
5,000 req/day
500,000 tokens/day
500K tokens/day · 5,000 req/day
NoNo

Live data from the FreeLLMAPI catalog (version 2026.11.19, checked 19 November 2026). Free limits change often. The catalog is checked every day.

GPT-OSS supports tool calling and a context of about 128K tokens on most providers. It is a good default for agents and coding tools. Read the free GPT-OSS API page for provider details.

Other GPT models in the free catalog

Some third-party gateways give a small recurring credit. You can spend it on closed GPT models, such as GPT mini and nano models. The table shows all GPT rows in today's free catalog.

All GPT-family models in today's free catalog
ModelFree onContextFree limits (best offer)ToolsVision
GPT-5.6 LunaElectronHub1M$0.25/week shared recurring creditYesYes
GPT-OSS 20BApi.Airforce, CLōD, Cloudflare Workers AI +6 more131K30 req/min
1,000 req/day
8,000 tokens/min
200,000 tokens/day
~6M
YesNo
GPT-OSS 120BCLōD, Cloudflare Workers AI, ElectronHub +3 more131K30 req/min
1,000 req/day
8,000 tokens/min
200,000 tokens/day
~6M
YesNo
GPT-OSS Safeguard 20BGroq, LLMTR131K30 req/min
1,000 req/day
8,000 tokens/min
200,000 tokens/day
~6M
YesNo
OpenAI: GPT-6 LunaElectronHub1.1M$0.25/week shared free creditsNoNo
OpenAI: GPT OSS 20BElectronHub128K$0.25/week shared free creditsNoNo
Gpt 6 LunaAPINex1M5 req/min
10M weighted tokens/day shared across APINex free routes; 3x token multiplier; 5 requests/minute/account
NoNo
GPT 5.4 MiniElectronHub400K$0.25/week shared recurring creditYesYes
GPT 5.4 NanoElectronHub400K$0.25/week shared recurring creditYesYes
GPT 5 MiniElectronHub400K$0.25/week shared recurring creditYesYes
GPT 5 NanoElectronHub400K$0.25/week shared recurring creditYesYes
GPT 4.1ElectronHub1M$0.25/week shared recurring creditYesYes

Showing 12 of 19 matching free models. See all models.

Live data from the FreeLLMAPI catalog (version 2026.11.19, checked 19 November 2026). Free limits change often. The catalog is checked every day.

Read the Free limits column with care. A label such as a weekly shared credit means that many users spend the same small amount. These routes are good for a test of a closed GPT model. They are not good for steady traffic.

Which free GPT option to choose

Your needBest free optionWhy
An app or agent that runs every dayGPT-OSS through a pool of free tiersSeveral providers serve it, so one limit does not stop you
Fast answers for a chat interfaceGPT-OSS 20B on a fast providerSmall model, high output speed on free tiers
A test of a closed GPT modelA gateway with shared creditEnough for a few requests, not for steady use
Production use of closed GPT modelsPaid OpenAI creditFree routes have no service level and can end
Code that uses the Responses APIFreeLLMAPI on /v1/responsesCodex CLI and similar tools need this route

Free tiers change often. Providers add models, remove models and change limits without notice. The catalog on this site is checked every day, so the tables above show the current free routes.

Use the OpenAI SDK with free models

FreeLLMAPI is an OpenAI-compatible gateway that you run on your own computer. It pools free tiers behind one key. Your OpenAI SDK code needs three changes: the base URL, the key and the model name.

OpenAI SDK pointed at FreeLLMAPI

from openai import OpenAI

client = OpenAI(
    base_url="http://localhost:3001/v1",
    api_key="<unified-key>",
)

resp = client.chat.completions.create(
    model="gpt-oss-120b",  # or "auto" to let the router choose
    messages=[{"role": "user", "content": "Write a haiku about rate limits."}],
)
print(resp.choices[0].message.content)

The gateway also serves /v1/responses, /v1/embeddings and other OpenAI-style routes. When one provider returns 429, the router sends the request to the next provider. The X-Routed-Via header shows which provider answered.

Use every one of these through one key. FreeLLMAPI is an open-source, self-hosted router that puts all these free tiers behind a single OpenAI-compatible endpoint and fails over when one is rate-limited. Browse the catalog or go live.

Frequently asked questions

Is the OpenAI API free?

No. OpenAI bills API usage from prepaid credit, and you need a positive balance to use its models. The usage tier named Free is a limit level, not free usage.

How do I get a free OpenAI API key?

You can create a key in the OpenAI platform, but requests need credit. For no-cost GPT access, use GPT-OSS on free provider tiers, which need no OpenAI key.

Is GPT-OSS really free?

The model weights are open. Several providers, for example Groq, Cloudflare Workers AI and OVH AI Endpoints, serve GPT-OSS on recurring free tiers with rate limits.

Can I still use GPT models free on GitHub Models?

No. GitHub retired GitHub Models on 30 July 2026. The inference API is not available to any customer.

Do paid ChatGPT plans include API credits?

A ChatGPT subscription is billed separately from the API. OpenAI describes an API credits benefit for some eligible paid plans. Check the OpenAI help center for the current list of plans.

Sources

All guides · Browse all free models

Keep reading

All posts →
Provider

Free Gemini API

Google AI Studio's permanent free tier — Gemini and Gemma, no credit card.

Provider

Free DeepSeek API

DeepSeek V3, R1 and V4 served free across multiple providers.

Provider

Free Llama API

Meta's Llama models free across 14 providers, behind one key.