How OpenAI and Anthropic API billing works

API billing is how OpenAI and Anthropic charge for API usage, through prepaid credits, card payments or monthly invoices, depending on the account.

Updated 5 min read Facts checked against the official pages

On this page

Do OpenAI and Anthropic charge before or after API usage?

Mostly before. Both providers default to prepaid credits, and both offer monthly invoices to some contracted customers.

  • OpenAI. New API accounts use prepaid billing, per OpenAI’s prepaid billing article. OpenAI’s invoice dates article says accounts can use prepaid credits or automatic card payments, while Enterprise API customers receive invoices. Automatic card payments are collected at usage thresholds or monthly, depending on payment method and country.
  • Anthropic. Most organizations pay with prepaid usage credits, per Anthropic’s billing article. Organizations with an invoicing arrangement through Anthropic’s Sales team are billed monthly in arrears.

How do prepaid API credits work?

A company buys credits first, and usage draws the balance down. The details differ by provider.

OpenAI, per its prepaid billing article.

  • The minimum purchase is $5, and the default is $10.
  • Purchased credits expire after 1 year. They are non-refundable except in the cases the article lists.
  • Free credits are used before purchased credits.
  • A trust tier, based on usage and payment history, sets the maximum balance.
  • Access may not stop the moment credits run out. Usage in that gap shows as a negative balance, taken from the next purchase.

Anthropic, per its billing article.

  • Credits are bought on the Console Billing page by someone with an Admin or Billing role. They are available right away.
  • Credits cover API access, playground usage and Claude Code.
  • Credits expire one year from purchase. All credit purchases are non-refundable.
  • Only successful API calls are billed. A request that was on track to succeed is still charged if the client disconnects or times out.
  • When credits run out, API calls stop until more are added.

How does auto-recharge work?

Both providers can buy credits automatically when the balance falls below a threshold you set.

  • OpenAI. Auto-reload is on by default during setup. You set the threshold, the balance to restore and an optional monthly reload limit. The minimum recharge is $5. OpenAI notes that a recharge limit controls automatic purchases, not API usage.
  • Anthropic. You set the balance that triggers a purchase and the balance to reload to. If the balance is already at or below the threshold when you turn it on, Anthropic charges right away, plus applicable taxes.

What are usage tiers?

Usage tiers set how much an organization can use each month and how fast it can send requests. Both providers move organizations up automatically.

DetailOpenAIAnthropic
Tier namesFree, Build, Launch, GrowEvaluation, Start, Build, Scale, Custom
How you move upTotal credit purchases reach $5, $100 and $500Usage history and account standing
Monthly ceiling by tierUsage limits of $100, $500, $5,000 and $200,000Spend caps of $500, $1,000 and $200,000 for Start, Build and Scale
Rate limitsPer organization and project, varying by modelPer organization, by tier and model class

OpenAI figures come from its rate limits guide. Anthropic figures come from its rate limits page, which says Custom tier organizations have no monthly spend cap and new organizations may start in an Evaluation tier with lower limits.

Hitting Anthropic’s tier cap pauses API usage until 00:00 UTC on the first day of the next month, unless the organization gets a higher limit sooner.

How do spend limits work?

Spend limits are caps you set yourself, below the provider’s own ceiling.

  • OpenAI. Spend alerts send a notification and let traffic continue. Hard spend limits stop affected requests. Both can be set for the organization or a project, per OpenAI’s usage and spend limits article. A hard limit resets with the next monthly cycle. Enforcement isn’t instantaneous, so recorded spend can slightly exceed it.
  • Anthropic. You can set a spend limit below your tier’s cap on the Console Billing page, per the rate limits page. Once usage reaches it, requests return an HTTP 400 error until access resumes or the limit changes. Limits can also be set for workspaces.

Where do you find invoices and receipts?

Both providers keep billing documents in their consoles.

  • OpenAI. Individual and team customers see payment history and available invoices or receipts in Billing history. Enterprise API invoices cover calendar-month usage, are typically issued within 2 weeks after the cycle ends (another OpenAI article says usually a few days) and download from the Billing section. Both points come from OpenAI’s invoice dates article.
  • Anthropic. Prepaid organizations get a receipt for each credit purchase, including auto-reload purchases. Organizations on a usage contract get a Stripe invoice at the end of each calendar month. Each invoice is emailed with the subject “Your receipt from Anthropic” and is listed under Invoice history on the Billing page, per Anthropic’s invoices article. Invoices below $0.50 roll into the next invoice.

How are taxes handled?

Tax details come from the billing information on file when an invoice is issued.

  • OpenAI. Billing admins add a Tax ID in the organization’s billing preferences. Changes apply only to future invoices. An invalid Tax ID may be removed, and applicable taxes may then be charged, per OpenAI’s Tax ID article.
  • Anthropic. The name, address and tax information on an invoice come from billing details at the time it was issued. Issued invoices can’t be changed, per the invoices article.

What counts as a paid charge?

A paid charge is money the company actually paid the provider. That means a credit purchase, an automatic card payment or a paid invoice. Credits the company didn’t buy are different.

  • OpenAI uses free credits before purchased credits, per its prepaid billing article.
  • Claude Max and Team plans include monthly API credits. Anthropic spends them before purchased credits, and unused ones expire each billing cycle, per its billing article.
  • On an Anthropic invoice, a negative “Applied balance” line is existing credit being used, not a new charge or a discount, per the invoices article.

How do OpenAI and Anthropic billing compare?

DetailOpenAIAnthropic
Default paymentPrepaid credits for new accountsPrepaid credits for most organizations
Other payment optionsAutomatic card payments, Enterprise invoicesMonthly invoicing through Sales
Minimum credit purchase$5Not stated in the cited article
Credit expiry1 year1 year from purchase
RefundsNon-refundable, with listed exceptionsNon-refundable
Auto-rechargeOn by default at setup, optional monthly limitThreshold and reload target
TiersFree, Build, Launch, GrowEvaluation, Start, Build, Scale, Custom
Your own capsSpend alerts and hard limits, per organization or projectSpend limit below tier cap, per organization or workspace
Where receipts liveBilling historyEmail and Console Invoice history
Credits you didn’t buyFree credits, used firstMax and Team monthly API credits, used first

For per-token rates, see OpenAI API pricing and Anthropic API pricing. To keep these charges in one place, read how to track AI API spend.

For a closer look at Claude invoices, read Anthropic API billing explained on the ernd blog. To estimate a monthly bill at list prices, try the AI API cost calculator.

Questions

Do OpenAI API credits expire?

Yes. OpenAI says purchased credits expire after 1 year, and it can't extend that date.

Do Anthropic API credits expire?

Yes. Anthropic says purchased credits expire one year from the purchase date, and the date can't be extended.

Can a company get a monthly API invoice instead of prepaying?

OpenAI invoices Enterprise API customers. Anthropic bills organizations monthly in arrears when they have an invoicing arrangement through its Sales team.

Does a spend limit stop usage right away?

Not always. OpenAI says enforcement isn't instantaneous, so recorded spend can slightly exceed a limit. Anthropic says batches can go slightly over a Workspace spend limit.

Where ernd fits

The ernd card is a charge card for US companies, with partners across the AI stack built in. Request your card .

Read next

Sources

Checked . Providers change prices and terms, so the linked page is the final word.

ernd is run by Provenance Research Inc.

The ernd card

The ernd card is a charge card for US companies, with partners across the AI stack built in.

Request your card