How billing works
Quotaflow charges per token against your organization balance, which is the only spendable money account for customer-organization keys. Project budgets are reporting targets, not separate wallets. Per-model unit prices are listed on Model prices, generated from the price cards requests are charged from — treat that page as the source of truth for exact rates. /models lists the models your key can use; it does not return prices.
Funding your balance
Self-service USD top-ups use Card. Review the displayed processing surcharge before confirming payment. Ordinary ACH bank debit and bank transfer / Wire are no longer offered for new self-service top-ups. For a large bank transfer, contact support@quotaflow.ai to arrange payment and reconciliation. Contacting us does not by itself create or credit a top-up.
Existing bank payments remain recoverable. If you already initiated an ACH debit or transfer, do not pay again. Continue checking its original order; delayed and verified late payments still use the existing reconciliation and exactly-once credit path. Processing is not success: only Completed confirms that money was added to your balance. This change does not cancel pending bank payments or accelerate bank settlement.
Continue an unfinished top-up
Selecting an amount or a welcome-bonus offer does not start a payment. Review the amount and payment method, then confirm. Closing the payment window does not cancel the order. The Balance page lists your unfinished top-ups for the selected workspace; use Continue / check payment to restore the original checkout, including after refreshing the page, or explicitly cancel an unpaid order.
A payment that is processing, or has been paid but is not yet credited, is not a failed payment: check its status rather than paying again. Repeated confirmation of the same attempt recovers its original order. An expired card checkout is checked with the payment processor; expiry alone is not proof that payment failed. If recovery confirms that the order is closed, the page tells you to start a new top-up. Only your next explicit confirmation starts a new attempt, not an automatic retry. If an order limit is reached, the page offers unfinished-order actions and a link to all your orders. Completed is the confirmation that funds were added to your balance.
In the wallet payment window, Check payment status actively reconciles the original payment with the processor. The button shows when a check is running and reports if payment is still pending, processing, or being credited. Automatic background updates read the saved order status instead. A payment confirmation email alone is not confirmation of wallet credit: only Completed means the funds have been added. Checking never starts another payment.
Automatic top-ups
The Wallet page requires an automatic top-up amount of at least $10. The low-balance trigger threshold has a separate $5 minimum.
What you are charged for
- Tokens actually processed, on requests that complete. Input and output tokens are metered per request at the model's unit price.
- Interrupted streams. If a streaming response is cut on the serving side after output had reached you, the delivered part is charged: the prompt the model processed (input, cache read, cache write) at your contracted price, plus the output delivered before the cut — the model's reported count when it arrived, otherwise the delivered output counted at that model's bytes-per-token rate measured from complete streams (four bytes per token for a model not yet measured), never more than the request's max_tokens. For a Claude response that has begun streaming, metered input and caches are charged even if only opening frames arrive and no generated content follows. Opening output placeholders are not charged: without a final output count, only delivered generated content can support an output charge; with neither, output is billed as zero. A stream whose prompt was never metered is not charged. The request appears once in your console request log with an "Interrupted" status and the amount actually charged, or "Not billed". If your own client disconnects after the model has started processing the request, it is settled the way the official API settles a disconnect: the prompt that was processed (input, cache read, cache write) at your contracted price, plus the output produced before the disconnect — the model's reported count when it arrived, otherwise the delivered output counted at that model's bytes-per-token rate measured from complete streams (four bytes per token for a model not yet measured), never more than the request's max_tokens. A stream your client closes before the model processed anything is not charged. These requests appear in the request log as "Client disconnected (499)" or, when partial output had been delivered, "Interrupted".
- Long-context requests, at a surcharge. When a single request's input plus cache-read tokens exceed the model's long-context threshold, that request's input is billed at 2× and its output at 1.5× the normal rate. The threshold varies by model — for example, GPT-5.4 / 5.5 / 5.6 models use 272,000 tokens and several other models (such as some Gemini Pro models) use 200,000. Once the threshold is crossed, the multiplier applies to the whole request.
Caching
A prompt cache hit (cache-read tokens) is billed at the model's cache-read rate, and cache writes are priced separately. Both rates differ by model; each model's row on Model prices is the exact figure. On Claude models, a cache write is priced at the cache duration your request asks for: a 5-minute write is 1.25× the input rate and a 1-hour write is 2× the input rate. Other models charge the rates in their own row.
Post-settlement corrections
Occasionally a request is served and its settlement does not complete at the time. If we charge for it later, the charge is attributed to the period and the model of the original request — it raises that period's usage totals instead of appearing as a separate entry dated the day the correction was applied. The "Charged to wallet" figure on your wallet page for a period therefore includes any corrections that belong to requests served in that period.
Downloading a statement
The console's Usage page offers a Statement (monthly, settled) under Downloads (expand it below the window controls): pick a month, download the bill (.xlsx).
A statement is one whole calendar month, and the month is cut at UTC midnight — not at your local midnight, and not at ours. Two people in different time zones downloading the same month therefore receive the same rows, and the same month downloaded again next year still means the same period.
The bill is always the same workbook, whether you download it from the console or from the API (GET /api/v1/usage/statement?month=YYYY-MM, with organization_id and project_id as on the Usage page; the response is the .xlsx file, named <customer>-<YYYY-MM>-bill.xlsx). It has exactly three sheets:
- 汇总 (summary) — 甲方 (your organization; for a project's statement,
<organization> / <project>, which also names the file), 月份 (the month), 总金额 (the month's total charge), and a note on which post-settlement corrections are included. - 按模型维度求和 (per model) — one row per line and model: 日期 (
YYYYMM), 模型名称 (<line>/<model>, e.g.aws-bedrock/claude-opus-4.6), 原价金额 (the list-price equivalent), 折扣 (the rate observed on that usage — charged ÷ list price of the hours the row covers, one fixed rate per row), 折后金额 (what was charged). 原价 × 折扣 = 折后 on every row; cells show cents, and the 合计 / Total row carries the exact sums and the blended rate. Usage charged at different rates on the same line and model — for example before and after a contract change during the month — has one row per rate. Usage is metered by the hour, so an hour in which your rate changed appears as its own row at that hour's average (for example 87.5% for an hour charged half at 100% and half at 75%). A rate is never taken from your current contract, so a past month keeps its rates after a contract changes. - 用量明细 (daily detail) — one row per UTC day, line, model and kind: requests, input / output / cache-read / cache-write tokens, and the amount charged. Kinds: 已结算用量 (settled usage), 补收 (post-settlement corrections, by population, attributed to the day of the original request, with that request's tokens; a correction that has no recorded request is dated by the day it was charged, with model
(none)and no tokens, and appears only on the organization-wide statement), 旧 usage_log 臂 (usage recorded on the legacy plane).
A statement covers your whole account — every API key and every project in the scope the page is showing. The Usage page shows the team workspace selected at the top of the console when you are its owner or an admin; otherwise it shows your own usage. It is not narrowed by the API-key, model, or window filters set on the Usage page above it; those filter the request log, not the statement.
Statements are prepared by us on a schedule, about once an hour, for every organization and project, and downloading one never waits for your usage to be totalled. The list beside each month says where that statement stands:
- Month to date · as of a time — the month is still running; prepared again on every run, it counts every charge settled up to the time shown.
- Closed · still collecting late charges · as of a time — the month is over, but a charge for it can still settle for up to 35 days after it ends (see post-settlement corrections above), so the statement is prepared again on every run and can still grow.
- Final — 35 days have passed since the month ended. The statement was prepared once more and does not change.
- No usage — the month lies within your account's usage history and had no usage; there is nothing to download.
- Not generated yet · next run a time — nothing has been prepared for that month yet; the time shown is the next run.
- Not available in this view — shown on your own (personal) view when the statement of your personal workspace is not exactly your own usage, for example because another person's API key is in it. Open that workspace's view, or use Export next to the Usage window.
Because a post-settlement correction (see above) is attributed to the period of the original request, a closed month's statement can be slightly larger when you download it again; the period has not moved, a charge that belongs inside it landed late. A month only becomes final once that window has passed.
Usage totals and charts use stored hourly summaries maintained in the background, with recently settled charges and partial hours read from the underlying usage. Personal summaries keep the user each charge was settled for, so transferring an API key does not transfer that person's historical usage.
If a Usage read takes longer than our time limit, the page names the window and offers a retry or Export next to the window. Figures already returned remain visible: a failed error-count read does not hide Spend or Performance, and retrying it does not request those figures again. Figures whose own read failed remain unknown.
<Note>
The totals on the bill are read together with its rows when the statement is prepared, from the same snapshot of your usage, and go into the file unchanged. If they do not agree, send us the file.
</Note>
Reconciling a statement against your request log
The statement and the console's request log take the same period bounds, so a month's statement and that month's log can be made to describe the same requests. Two things have to match, not one:
- The window. Set the Usage window to the two instants the statement names — the control accepts an instant, and a value carrying an offset such as
2026-01-01T00:00:00Zis used exactly as written. The Usage page reads in your local time by default and names that time zone under the window; choose View in UTC there and the window fields, Today, the request times and the chart are in UTC, so a day or a month you type is the UTC day or month the downloads use. Every download is labelled UTC. - The filters. Clear the API-key and model filters. The statement always covers the whole account, so a log narrowed to one key is a smaller population than the file no matter how well the periods line up.
The line Billed in this window under the metric tiles gives the window's billed requests, input, output and cache tokens, list-price total and charged total. Those are the figures to compare with a download. The Requests tile above it also counts failed requests, which are not billed and appear in neither download. On the organization-wide view, with no API-key or model filter, a Billing adjustments line lists the window's post-settlement corrections that have no recorded request: the statement includes them in its charged total, and the request export does not list them.
<Warning>
This does not extend to GET /v1/usage, the usage summary an API key can read. That endpoint accepts start_date and end_date as whole dates only, resolved in our server's time zone, and an RFC3339 value there is ignored in favour of its default 30-day window rather than rejected. Do not reconcile a UTC statement against it.
</Warning>
Exporting every request (CSV)
The statement above sums usage by line and model, one settled month at a time. When you need to reconcile request by request, export the request details of whatever the Usage page is showing: press Export next to the window and filters. It is built in the background; the Exports list under Downloads shows its progress and offers Download once it is ready. Downloads also keeps a whole-month shortcut, Export whole month (CSV): pick a UTC month and request it.
- Period. Export takes the exact window the page is showing, to the millisecond, whatever clock you read the page in; the line under the window says which range that is, with your UTC offset, before you press it. The whole-month shortcut takes one UTC calendar month, cut at UTC midnight exactly like a statement. Either way, a window that reaches past the moment you request it stops 15 minutes before that moment, and requests whose charge is still pending settlement are not included; the export's README says so. One export covers at most 31 days (one month); for a longer range the page says so and does not export it.
- Scope. The organization or project the Usage page is showing. Export also keeps the page's API-key filter; the model filter is not applied, and the file holds every model in the window (the page says so when a model filter is set). The whole-month shortcut covers every API key.
- Reconciling. Over the same window and filters, an export's requests, tokens and list-price total equal the Billed in this window line under the metric tiles.
- Times. Every time in the file is UTC, whatever clock the page is read in.
- File. A ZIP of one or more CSV parts, each holding at most 1,000,000 rows, one row per request.
- Prices. Every cost column is the official list price of the request. Your invoice reflects your contracted pricing, so the export's totals are not what you were charged when your account has a discount.
- Availability. A finished export can be downloaded for 7 days; after that it shows as Expired and you request a new one. A download link is short-lived, so start each download from the console.
- Limits. At most one export can be in progress per scope at a time, and at most 20 exports can be requested per 24 hours. When a limit is reached the console says so and, for the daily limit, when to try again.
- How long it takes. When you request an export the console shows an estimate of how long it will take, based on how many requests the month holds (for very large months it says "at least"); when no estimate can be made in time it says so rather than guessing. You do not need to stay on the page: the Exports list updates on its own, and when email notifications are set up for the service you also receive an email at your account address once the export is ready (or could not be built) with a link back to the Usage page, where you download it.
| Column | What it is |
|---|---|
time_utc | When the request was made, in UTC. |
request_id | The request's identifier, as shown in the request log. |
api_key_name | The name of the API key that made the request. |
model | The model the request was billed under. |
input_tokens, output_tokens, cache_read_tokens, cache_write_tokens | Tokens metered for the request. Cache writes a model bills at its cache-write rate (including GPT models that bill written tokens at 1.25x input) are counted in cache_write_tokens, not in input_tokens. |
input_cost_usd, output_cost_usd, cache_read_cost_usd, cache_write_cost_usd, other_cost_usd | The list-price cost of each component of the request. |
official_cost_usd | The request's total at official list prices. |
cache_write_5m_tokens, cache_write_1h_tokens, cache_write_5m_cost_usd, cache_write_1h_cost_usd | The cache write split by the TTL it was billed at (5-minute and 1-hour rates); they add up to cache_write_tokens and cache_write_cost_usd. Empty when the split cannot be stated exactly. These four columns come last so existing column positions do not change. |
Where to find exact prices
GET /openai/v1/balancereturns your current organization balance and billing context.GET /modelsreturns the models your key can use.- Model prices lists every public model's official list price: input, output, 5-minute and 1-hour cache writes, cache reads, prompt-size tiers and per-request charges. Your contract discount applies on top of those prices.
- Image and video model reference pages also explain how their per-image or per-second prices apply to a request's parameters.
<Note>
This page describes billing *behavior*. It intentionally does not hard-code per-model unit prices: they live on Model prices, which is generated from the price cards, so they stay authoritative.
</Note>