Skip to content

Why doesn’t my Claude or ChatGPT subscription pay for the API?

Because they’re separate products with separate bills. Your subscription pays for chatting in the Claude or ChatGPT apps, while your own app uses the API, which you pay for with credits you buy first. Some bigger plans include a monthly API credit that you have to claim.

Find your situation

If you pay for Claude Pro or ChatGPT Plus
Neither plan includes any API credit. Make a Claude Console account at platform.claude.com or an OpenAI account at platform.openai.com, and buy credits there with your card. OpenAI’s smallest purchase is $5.
If you’re on Claude Max, Ultra or Team
Your plan includes a monthly API credit: $100 on Max, $200 on Ultra, and $20 or $100 per Team seat, up to $500 for the team. After 7 days on the plan, open Settings, then Billing, on claude.ai (a Team owner uses Organization settings, then Billing) and choose Link organization. Use the same email as your Claude Console account. You can link only one organization and can’t change it later.
If you’re on ChatGPT Pro or a Business plan
You can claim an API credit after 7 days on the plan. On Pro, open Settings, then Billing, in ChatGPT. On Business, the owner of both the workspace and the API organization claims it in the workspace’s billing settings. Use the same email on both accounts. Pro gets $100, $200 or $500 a month, the same as its price tier. Plus and free trials don’t qualify.
If you plan to spend the monthly credit on Claude Code or Codex
It doesn’t cover them. Claude’s credit doesn’t cover Claude Code while you code with it, and OpenAI’s doesn’t cover Codex through an API key. Unused credit also expires at the end of each billing cycle, so it doesn’t build up.
If you’re buying API credits for the first time
Start small. Purchased Claude and OpenAI credits expire after a year and are usually non-refundable. OpenAI lists exceptions, including billing errors and unauthorized activity. OpenAI turns auto-reload on during setup, so switch Use auto-reload off before you confirm.

Who does what

You

  • Make an account with the AI service your app will use.
  • If your plan includes a monthly API credit, claim it and choose the organization carefully.
  • Buy credits with your own card, start small, and keep auto-reload off.
  • Create the API key and type it into your .env file.

Your AI tool

  • Check the AI service’s current billing pages and tell you what your plan does and doesn’t include.
  • Estimate what one use of your feature costs, from the service’s pricing page.
  • Build the feature so your app’s server reads the key from an environment variable.
Hand this to your AI tool
I want to add an AI feature to my app, and I’m confused about how to pay for it.
First ask me which AI subscription I have, if any (like Claude Pro or Max, or ChatGPT Plus or Pro), and which AI service I’d like my app to use.
Then check that service’s current official billing and pricing pages, and tell me in plain words:
- whether my subscription includes any API credit, and how I’d claim it
- what I need to buy instead, and the smallest amount I can start with
- roughly what one use of my feature would cost with a small, low-cost model
When I have a key, tell me the name to give it in .env.

This comes from https://buildladder.com/answers/subscription-vs-api. If you can open web pages, read https://buildladder.com/answers/subscription-vs-api.md for the current version. BuildLadder guide, tool, concept, answer and setup pages all work this way: add .md to the address.

Ask me before you install anything, sign in to anything or spend money. Never ask me to paste a password or secret key into this chat.

Where to go next

Updated Sources: Claude: why API usage is billed separately, Claude: monthly API credits for Max, Ultra and Team, Claude: paying for API usage, OpenAI: billing for ChatGPT and the API, OpenAI: API credits for ChatGPT subscribers, OpenAI: prepaid API billing, Gemini API billing.