Skip to content

Can you use Claude Code with a ChatGPT subscription?

Claude Code takes Anthropic’s accounts; a ChatGPT plan comes with Codex. Which sign-in goes where, and how to use both.

By Sarthak Gupta · Updated

The short answer

No. Claude Code signs in with Anthropic’s accounts: a Claude Pro, Max or Ultra subscription, Claude for Teams or Enterprise, a Claude Console account, or a cloud provider such as Amazon Bedrock. A ChatGPT account isn’t on that list. What a ChatGPT subscription does include is Codex, OpenAI’s own agent, on every plan from Free and Go up. So with a ChatGPT plan you use Codex, with a Claude plan you use Claude Code, and an app such as AppuBot can run both side by side.

Settings, Usage in AppuBot: estimated cost, tokens and a chart per day, by model
See how much your AI plans were used, read on your own computer.

What does Claude Code sign in with?

  • A Claude subscription. Claude Pro, Max or Ultra, with your claude.ai account.
  • Claude for Teams or Enterprise. The claude.ai account your team admin invited you to.
  • Claude Console. Your Console credentials, with or without an API key.
  • A cloud provider. Amazon Bedrock, Google Cloud’s Agent Platform or Microsoft Foundry.

From Anthropic’s Claude Code authentication page on the date under Sources.

What does a ChatGPT subscription give you instead?

Codex, OpenAI’s coding agent. OpenAI’s help page says "Codex is included across ChatGPT plans, including Free and Go", with usage limits that vary by plan. Codex does the same kind of work as Claude Code: it reads and edits files, runs commands and carries a task through.

Your planThe agent it comes withSign in with
ChatGPT Free, Go, Plus, Pro, Business, Edu or EnterpriseCodex (OpenAI)Your ChatGPT account
Claude Pro, Max, Ultra, Team or EnterpriseClaude Code (Anthropic)Your Claude account

I have ChatGPT Go. Can I use Codex?

Yes. OpenAI’s pricing page lists Codex on the Go plan, in the desktop app and subject to rollout. One thing Go and Free leave out is Codex Cloud, where tasks run on OpenAI’s computers: OpenAI’s help page says it comes with eligible Plus and higher plans, not with Free or Go.

Can you use both plans together?

Yes. The two agents are separate programs with separate sign-ins, so both can be installed on one computer.

In AppuBot each bot picks its own agent and model. One bot can run on Claude Code with your Claude plan and another on Codex with your ChatGPT plan. AppuBot is free on your own computer and adds no API key or subscription of its own; each agent’s usage counts toward its own plan.

Set up Codex with your ChatGPT plan

You can use Codex straight from OpenAI (see how to get Codex), or as a bot in AppuBot:

  1. Download AppuBot for Mac, Windows or Linux and open it.
  2. Open Settings › Agents. If the Codex row says "Not installed", press Install: AppuBot downloads OpenAI’s own Codex program for your computer. No Node, npm, WSL or terminal is needed.
  3. Press Log in on the Codex row. AppuBot shows a link and a one-time code: open the link, sign in with your ChatGPT account and enter the code.
  4. Make a bot and pick a Codex model for it in the model picker.

Sources

Facts about other products are from their makers’ pages as of 25 November 2026 and may have changed since. Product names are trademarks of their owners.

Questions

Does ChatGPT Plus work in Claude Code?

No. Claude Code’s sign-in is for Anthropic’s accounts. With ChatGPT Plus, use Codex.

Can I use Codex with a Claude subscription?

OpenAI’s sign-in page gives two ways in to Codex: sign in with ChatGPT, or use an OpenAI API key. A Claude account isn’t one of them. With a Claude plan, use Claude Code.

Is Codex free with ChatGPT?

OpenAI lists Codex on the Free plan, in the desktop app and subject to rollout. Paid plans add more usage and more places to use it.

Do I need an API key for either?

No. Both sign in with your subscription account. An API key is a separate, pay-per-use way in.

Can one app use both my plans?

Yes. AppuBot runs Claude Code and Codex with the accounts you’re signed in to, and each bot chooses which one it uses.

Meet your first bot

An AI teammate that works on your Mac or in the cloud, and tells you on Telegram