OpenAI

プリペイド請求はどのように設定すればよいですか?

Purchase API credits, manage automatic recharges, and understand credit expiration, payment failures, and balance limits.

更新日: 20 hours ago

Overview

Prepaid billing lets you purchase credits before using the API. Your credit balance decreases as you use the API. If your account has free credits, those are used before purchased credits.

New API accounts use prepaid billing. If you already use monthly billing, you can also purchase credits in advance. Those credits offset your monthly invoice.

Purchased credits expire after 1 year and are non-refundable. OpenAI cannot extend the expiration date of purchased credits or credit grants.

Set up prepaid billing

Before you begin, make sure you have permission to manage billing for the API organization you want to fund.

  1. Go to that organization’s API billing overview.

  2. Select Add payment details and complete the payment-information step.

  3. Choose your initial credit purchase amount. The minimum purchase is $5, and the default amount is $10.

  4. Review Use auto-reload before confirming your purchase. It is turned on by default during setup. Turn it off if you do not want automatic credit purchases.

  5. If you keep Use auto-reload on, set the balance threshold, the balance you want to restore to, and an optional monthly reload limit.

  6. Confirm your credit purchase.

Your trust tier, which is based on your usage and payment history, determines the maximum credit balance your account can hold.

After a successful purchase, it may take a few minutes for your balance to update.

Manage automatic recharges

Auto recharge adds credits when your balance falls below the threshold you set. The minimum recharge amount is $5. Your trust tier determines the maximum recharge amount.

The optional monthly recharge limit controls how much can be purchased through automatic recharges:

  • Manual credit purchases do not count toward this limit.

  • If an automatic recharge would exceed the remaining monthly limit, only the remaining amount may be added, provided it meets the minimum purchase requirement.

  • If the monthly limit has already been reached, automatic recharges will not add more credits until the next month.

A recharge limit is not an API usage limit. It controls automatic credit purchases, not the amount of existing credits you can use.

Add credits when your balance runs out

When a prepaid account runs out of credits, API requests begin returning a billing error. An error with the code credit_balance_exhausted means the organization has no prepaid credits remaining.

To purchase more credits:

  1. Go to your API billing overview.

  2. Select Buy credits or Add to credit balance, whichever appears.

  3. Complete the credit purchase.

Allow a few minutes for the updated balance to appear before trying again.

仕組み

プリペイド請求により、API ユーザーは使用量を事前に購入することができます。購入したクレジットは、毎月の請求書に適用されます。つまり、発生する API の利用は、まずプリペイドクレジットから差し引かれます。購入したクレジットを超えて使用した場合、追加の料金が請求されます。

プリペイド請求により、開発者は事前に何にコミットしているかを把握できるため、予算編成や支出管理の予測可能性が高まります。

Resolve payment and credit issues

プリペイド請求の設定

月額請求または新規 API ユーザーがプリペイド請求を設定する方法は以下の通りです。

Billing Overview page with Add payment details button under Free trial credit remaining $0.00
  • セットアップフローで、初回のクレジット購入を確定する前に、自動チャージを設定してください。

  • セットアップ時には、自動リチャージがデフォルトでオンになっています。自動リチャージを希望しない場合は、続行する前にオフにしてください。

  • 自動チャージをオンのままにする場合は、チャージ金額、しきい値、および任意の月間チャージ上限を設定してください。手動でのクレジット購入は、リチャージ上限には含まれません。自動リチャージによってこの月間上限を超える場合は、残りの金額のみが追加されます。すでに上限に達している場合は、翌月まで自動リチャージではクレジットは追加されません。

Auto recharge settings dialog with automatic recharge enabled and threshold, refill, and monthly limit amounts entered

購入されたクレジットは 1 年後に失効し、返金されません。

クレジットを購入すると、API の使用を開始できるようになります。システムがクレジット残高を反映するまでに数分の遅れが生じる場合があります。

追加クレジットの購入

すべてのクレジットを使い切ると、API リクエストはエラーを返し、請求クォータに達したことを通知します。API の使用を続行する場合は、請求ポータルに戻り、「残高に追加」ボタンを使用して追加のクレジットを購入できます。

Payment is disputed or refunded

If a payment is disputed or refunded, credits equivalent to that amount are removed from your account.

Check other API limits

A positive credit balance does not mean a request is below every API limit. Request and token rate limits, your organization’s approved monthly usage limit, and any enforced spend limits are separate from your prepaid balance.

For rate-limit errors, see: Troubleshooting API rate limits and 429 errors.

For other billing-related errors, check the API error-code guide before purchasing additional credits.

この記事は役に立ちましたか?