Is Codex free? Yes, 3 ways to use it for $0, and full Codex starts at $20 on Plus

In brief

Yes, Codex is free in 3 ways. ChatGPT Free gets GPT-6 Luna in the ChatGPT desktop app with no published limit, as of 10 November 2026. Verified US and Canadian students get $100 in credits. The open source CLI runs on a local model with --oss. Plus at $20 unlocks every surface, code review included.

Whizi doesn’t connect to Codex.

Is Codex free? Yes, in 3 ways for $0

OpenAI's Codex pricing page gives ChatGPT Free one line: "GPT-6 Luna at Standard speed in the desktop app, subject to rollout." Go at $8 a month gets the same line. Here are the three ways to use Codex for $0, plus the pay-per-token one, read from OpenAI's own pages on 10 November 2026:

Three black plinths in a dark studio: an open laptop glowing green on the first, a graduation cap on the second, and an open frosted glass padlock on the third.
Way to use Codex, as of 10 November 2026Who gets itWhat you getCost and limit
ChatGPT FreeAnyone with a ChatGPT accountGPT-6 Luna in the ChatGPT desktop app, "subject to rollout"$0, no published cap
Codex for StudentsVerified university students in the US and Canada2,500 credits, worth $100, on Free, Go, Plus or Pro$0, credits expire after 12 months
Codex CLI on a local modelAnyone with a capable computerThe open source CLI with --oss, on Ollama or LM Studio$0 to OpenAI, no account, capped by your hardware
Codex CLI on an API keyAnyone with an OpenAI API keyThe CLI and IDE extension on OpenAI's modelsAPI rates per token, GPT-6 Luna from $0.10 per 1M input
ChatGPT Free gets Codex in 1 of 7 places
Free and GoChatGPT desktop app1 of 7Plus addsweb, CLI, VS Code extension,iOS, code review, Slack6 of 7each square is one place Codex runs, fromOpenAI's pricing page read 10 November 2026

The model gap matters as much as the app gap. Free gets GPT-6 Luna, the smallest GPT-6 model. Plus adds GPT-6.1 Sol, and its usage table lists five models. OpenAI's tagline for Free is "Explore Codex capabilities on quick coding tasks." That's a fair summary of what it is for.

What does Codex Free include?

Codex Free includes GPT-6 Luna inside the ChatGPT desktop app and nothing else. OpenAI's desktop app page says to download ChatGPT "for macOS, Windows, or Linux", sign in, then pick "ChatGPT or Codex" before you send your first message. The Mac download is still a file called Codex.dmg.

OpenAI doesn't say how much Free gets. The pricing page prints message ranges per 5 hours for Plus and leaves Free and Go out of the table. Its chatgpt.com Codex page calls both plans "Limited trial access to Codex." That's all it says about it. "Subject to rollout" also means some free accounts may not see Codex yet.

When the free allowance runs out, the message points you to Plus. The Codex usage limit page quotes the open source CLI's wording for every plan, and Free and Go are told to upgrade. OpenAI's credits article says credit purchases are "currently available to a limited group of Free and Go users." If you don't see Add credits at the wall, you're not in that group.

Is Codex free with ChatGPT Plus?

Yes. Codex comes with ChatGPT Plus at $20 a month, and you don't pay anything extra until you run out. Plus is the cheapest plan with the whole of Codex. You get the web app, the CLI, the IDE extension, iOS, GitHub code review and Slack. The Plus card reads "Power a few focused coding sessions each week."

The allowance is a range, not a number. OpenAI's pricing page gave Plus 15 to 160 local GPT-6.1 Sol messages per 5 hours on 10 November 2026, and 350 to 3,000 on GPT-6 Luna. A weekly cap sits on top, with no published number. Codex pricing has the full table for all five Plus models.

OpenAI says "These estimates are not fixed message limits," and cloud tasks can use more of the allowance than local ones. The same pricing page lists Pro at $100, $200 or $500 a month with "no five-hour limit," and the page adds that "Weekly limits may also apply." Pro is the plan for people who hit the Plus wall every day.

Is Codex free for students?

Partly. Verified university students in the US and Canada can claim $100 in Codex credits, and the plan itself stays whatever you already pay for. OpenAI's Codex for Students page says "you need a ChatGPT Free, Go, Plus, or Pro plan to get started." So a free account works.

The rules are short, and they are strict. You must be "enrolled at degree-granting universities in the United States or Canada" and live there when you claim. SheerID checks your status. There's "Only one credit offer per student," and the credits "expire 12 months after the grant date." They're ChatGPT credits, not API credits, and they "extend Codex usage beyond the limits included in your ChatGPT plan."

How far does $100 go? OpenAI's student page answers the first half: "Once the offer is applied, you should see 2,500 credits, which is equivalent to $100." Its pricing page says "A typical GPT-5.6 Sol task may use 2-15 credits," so that's roughly 170 to 1,250 tasks. That's our estimate, not OpenAI's. GPT-6.1 Sol, the newer model on Plus, costs 50 credits per million input tokens against 100 for GPT-5.6 Sol. So the same tasks on GPT-6.1 Sol should cost about half. Students elsewhere get no Codex offer on this page, and ChatGPT Plus student discount covers the other student deals.

Is Codex CLI free? Yes, on a local model with --oss

The Codex CLI is free to run when you point it at a model on your own machine. OpenAI's advanced config docs say: "Codex can run against a local 'open source' provider such as Ollama or LM Studio when you pass --oss." That takes no ChatGPT plan and no OpenAI key. The software is free too. OpenAI's openai/codex repository is licensed under Apache 2.0 and had 134.5k stars on 10 November 2026.

Here's the catch. A model small enough to run on a laptop is slower and weaker than GPT-6.1 Sol, and long jobs across many files show it first. You pick the runner per session with --local-provider, or set oss_provider as your default. Other providers, such as Mistral or Google's Vertex AI, go in ~/.codex/config.toml and bill you on their own terms.

OpenAI's own models are where the cost comes in. The README says: "We recommend signing into your ChatGPT account to use Codex as part of your Plus, Pro, Business, Edu, or Enterprise plan." Free and Go aren't on that list, and the pricing page lists the CLI from Plus up.

The other door is an API key. OpenAI's pricing page says an API key runs Codex in the CLI, the SDK and the IDE extension, billed at API rates, with "No cloud-based features". It also says "All users may also run extra local chats using an API key." So a free account can use the CLI and VS Code on OpenAI's models that way, if you pay per token. On 10 November 2026 the API price list put GPT-6 Luna at $0.10 per million input tokens and $0.50 per million output. GPT-6.1 Sol was $2 and $10.

Is Codex free and unlimited?

No. No plan gives unlimited Codex for free, and no paid plan is unlimited either. Free and Go have a cap OpenAI doesn't publish. Plus has the 5-hour ranges above and a weekly cap. Pro removes the 5-hour window, and the pricing page warns that "Weekly limits may also apply."

If the free tier keeps cutting you off, you have four real options. Wait for the reset. Pay $20 for Plus. Put an API key in the CLI and pay per token. Or run the CLI on a local model with --oss, the only $0 route with no cap but your own hardware. Anthropic's Free plan doesn't include Claude Code at all, and Claude Code vs Codex compares the two agents plan by plan.

Which free Codex route should you use?

Pick by what you're trying to do, not by price alone. A quick test needs nothing. Daily work in a repo needs Plus or a key:

You want toCheapest route, as of 10 November 2026Why
Try Codex on a small taskChatGPT Free in the desktop app$0, GPT-6 Luna, no card
Use Codex in the terminal for $0--oss with Ollama or LM StudioRuns on your machine, no account
Use OpenAI models in the terminal or VS CodeAn API key in the open source CLINo plan needed, you pay per token
Use it most days on a real repoChatGPT Plus, $20 a monthEvery surface, 15 to 160 GPT-6.1 Sol messages per 5 hours
Code as a US or Canadian studentCodex for Students on a Free account$100 in credits for 12 months
Code review on GitHubChatGPT Plus or higherAn API key has no cloud features

Whizi, which publishes this page, doesn't include Codex or any coding agent. It's a chat app. A free Whizi account gets 10 messages a day on Whizi AI, Auto and Claude Haiku 5.5. Whizi Starter is $15.99 a month and adds ChatGPT Luna (GPT-6 Luna, the model behind OpenAI's free tier) as a chat on 800 credits. That helps if you want to ask about code in one place with Claude next to it. For the agent that edits your files, use OpenAI.

Workflow checklist
  • Open the ChatGPT desktop app on a free account and pick Codex to try it at $0
  • If you're a US or Canadian university student, claim the $100 in Codex credits before you pay
  • Run the open source CLI with --oss on Ollama or LM Studio for $0 in the terminal
  • Use an API key in the CLI if you need OpenAI's models in the terminal or VS Code without a plan
  • Move to Plus at $20 when the free cap stops you more than once a week
  • Switch to GPT-6 Luna on Plus for small edits, at 350 to 3,000 messages per 5 hours
Common questions

Frequently asked questions

Is Codex free in VS Code?

Not on a free plan. OpenAI's pricing page lists the IDE extension from Plus at $20 a month, as of November 2026. Without a plan, the way in is an API key: the extension runs on one at API rates, with no cloud features. GPT-6 Luna costs $0.10 per million input tokens there.

Is Codex free with ChatGPT Go?

Go gets the same Codex as Free: GPT-6 Luna in the ChatGPT desktop app, "subject to rollout." Paying $8 a month for Go doesn't add the CLI, the IDE extension or code review. Those start at Plus. ChatGPT Go vs Plus compares the rest of the two plans.

Is OpenAI Codex open source?

The Codex CLI is. Its GitHub repository is licensed under Apache 2.0. OpenAI's models aren't open source, and they take a ChatGPT plan or a paid API key. The CLI can also run an open model on your own machine through Ollama or LM Studio when you pass --oss, at no cost to OpenAI.

Do Codex student credits work on a free account?

Yes. OpenAI's student page says you need a ChatGPT Free, Go, Plus or Pro plan, so Free qualifies. The offer is 2,500 ChatGPT credits, worth $100, for verified university students in the US and Canada, one per student, and the credits expire 12 months after the grant.

How do I estimate tokens before paying per token in Codex?

Paste the prompt or file into the free token counter. It shows the token count for OpenAI models and an estimated API price, so you know the size of a task before an API key is billed for it.