costrouting

OpenAI free API: what's free, what's billed, alternatives

Is the OpenAI API free? Its text models are billed per token, the "Free" usage tier is a usage limit, and only a few items cost nothing. What you can use for free instead, through the same OpenAI client.

A brass key with a price tag beside a usage gauge set low, showing the OpenAI API is not free

There is no OpenAI free API for its GPT text models. OpenAI prices every chat model on its API pricing page per million tokens, from $0.05 of input for gpt-5-nano to $10.00 for gpt-6-astra. Its rate-limit guide does list a usage tier called “Free”, but the table gives it a usage limit, not an allowance of free tokens. A handful of items are free (the moderation model, for one), and OpenAI publishes open-weight models you can run elsewhere. If what you need is a free API that answers the OpenAI request format, the legitimate options are other providers’ free tiers, reached through the same client with a different base URL and key.

This article separates four things that searches for a “free GPT API” tend to mix up: ChatGPT access, OpenAI API billing, other providers’ free tiers, and local routing.

Is ChatGPT access the same as the OpenAI API?

No. ChatGPT is OpenAI’s chat product; the API is what your code calls with a key, and the pricing page bills it by model and by token. Nothing on that page attaches API prices to a ChatGPT plan, so a chat subscription is not evidence that your API calls are paid for. Before you wire an agent to api.openai.com, check the billing settings of the API organization that owns the key, which is where the usage is charged.

What does the OpenAI API cost?

Prices are per 1M tokens, with separate rates for input, cached input, and output. A few rows from the standard table, checked on 14 November 2026:

ModelInputOutputCached input
gpt-6-astra$10.00$50.00$1.00
gpt-6.1-sol$2.00$10.00$0.10
gpt-6-luna$0.10$0.50$0.01
gpt-5-nano$0.05$0.40$0.005

The cheapest rows are low enough that a small prototype may cost very little. That is what OpenAI does well: one account, published per-token prices, and a model range from flagship to nano. Low is still not zero, though. An agent loop that re-sends a long context on every step multiplies input tokens quickly, and the bill follows the token count, not the number of tasks.

What is the OpenAI “Free” usage tier?

OpenAI’s rate-limit guide lists four usage tiers. The first is named “Free”: its qualification is that the user must be in an allowed geography, and its usage limit is “$100 / month”. The three paid tiers are Build, Launch, and Grow; Build starts at $5 in total credit purchases.

Read that row for what it says. It sets a monthly ceiling on usage and names no free credit, no free model, and no free token count. Neither the guide nor the pricing page describes the Free tier as an allowance of tokens OpenAI pays for, so plan on paying the per-token prices above for any GPT text model.

What is actually free from OpenAI?

Two things, neither of them a free GPT chat endpoint:

  • Moderation. The pricing page lists omni-moderation-latest as “Free”. Useful for screening input, not for generating text.
  • Open weights. OpenAI publishes gpt-oss-120b and gpt-oss-20b under Apache 2.0. You can run them on your own hardware, or call them on providers that host them with free access. The gpt-oss-120b page lists where it is free, under which model ID, and with which limits.

Why shared keys are not a free OpenAI API

Searches for an OpenAI free API also surface repositories and posts that hand out keys or “free GPT” proxy endpoints. A key from such a list belongs to someone else’s API organization: every request bills their account, the owner can revoke it at any time, and you have no say in what the proxy logs about your prompts. An agent built on one stops working the day the key is rotated, which is what a leaked key’s owner should do. The guide to free LLM API keys covers how to get keys in your own name and keep them out of Git.

Which free APIs work with the OpenAI client?

Several providers accept OpenAI-format requests and offer free access on some models. The change in your code is usually the base URL, the key, and the model name.

The Gemini API is the clearest example. Google’s pricing page splits a Free tier, with “Free input & output tokens” and “Limited access to certain models”, from a Paid tier with higher rate limits. For Gemini 3.8 Flash (gemini-3.8-flash), the Free tier column reads “Free of charge” for both the input price and the output price, while the Paid tier charges $0.75 per 1M input tokens and $3.75 per 1M output tokens (thinking tokens included) through December 31, 2026. Google’s OpenAI compatibility guide states that Gemini models are accessible using the OpenAI libraries, with the base URL https://generativelanguage.googleapis.com/v1beta/openai/.

The free tier has a price of another kind. Google’s pricing card for it states “Content used to improve our products”; the Paid tier states the opposite. Keep sensitive data off free-tier traffic. The Gemini provider page covers the per-project quotas, regional terms, and key setup.

Other providers follow the same pattern with their own rules. Groq hosts gpt-oss models on a free plan with per-organization limits, and OpenRouter exposes selected :free model IDs. Compatibility is not always complete: Groq documents OpenAI parameters it rejects. The provider directory records each one’s free-access mechanism, limits, and compatibility notes with a review date.

What happens when a free quota runs out?

Each free tier is a quota on one account, and it runs out on that provider’s schedule. A single-provider agent then receives a 429 and stops, or worse, a framework retries against a paid model and the bill reappears. Provider breakage is the silent killer of AI agents explains how rate limits, retired model IDs, and capability drift break agents, and how cooldowns and quarantine contain them.

Routing free providers behind one local OpenAI endpoint

Ficelle is a local, OpenAI-compatible router. It runs on your machine at http://127.0.0.1:8646/v1, and clients such as Continue, Open WebUI, LangChain, CrewAI, and the OpenAI SDKs point at it as their base URL. Not every OpenAI-style client works: Codex CLI only speaks the Responses API, which Ficelle does not serve, and Cursor sends requests through its own servers, which cannot reach a local router. Your provider keys stay on your machine and prompts go directly to the chosen provider. On a rate limit, the model is marked as cooling down and the best working free alternative answers instead, when another eligible model is available.

Strict-zero routing is what keeps “free” honest: paid fallback is hardcoded off, so requests routed by Ficelle cannot bill you, and there is no paid-model routing on any plan. That guard covers what Ficelle routes. It does not change a provider account that permits paid usage beyond its free allowance, so keep each account within its free entitlement.

The open core is free under BSL 1.1, with no account and no card, and ships with the OpenRouter and Nous reference providers; you bring your own keys. Free models also have a known limit: in Ficelle’s free-versus-paid benchmark, a 76-task run against gpt-5, polished long-form writing was the exception where the paid model won. Long-form writing that has to read well belongs on a paid model or with a human editor.

If you would rather not track which free providers, model IDs, and quotas still work each week, see maintained Ficelle plans.

Checklist before you call anything a free GPT API

  • Check the model’s row on OpenAI’s pricing page: GPT text models are billed per token.
  • Read the “Free” usage tier as a usage limit, not as free credit.
  • Confirm which API organization owns your key and where it is billed.
  • Use only keys created in your own name; never a shared list or an anonymous proxy.
  • For a free OpenAI-compatible API, check the provider’s free tier, data terms, and compatibility gaps.
  • Plan what your agent does when the free quota runs out, before it runs out.

Install Ficelle → One command. No account, and it can't charge you.