An AI API relay may advertise discounted credits, a model multiplier and a price per million tokens on the same page. These numbers describe different parts of a bill. Choosing the smallest one does not tell you what a completed task will cost.
This guide separates the cash cost of acquiring credits, the rules for debiting a request and the requests required to finish a task. Every numeric example below uses fictional prices and multipliers. None is a String AI quote or an upstream model price. For a purchase, check the current rules for the model, account and group you will actually use.
Establish what service you are comparing
Here, an API relay means an intermediary that receives an application's model request, connects to an upstream model service and returns the result. Before comparing fees, fix the model or version, interface, input and output types and required features.
Similar model names do not establish equivalent interfaces, context limits, rate limits or response formats. The site's aggregation versus direct access guide discusses the architectural choice. This article focuses on reading and reconciling the bill after those requirements are clear.
Also distinguish a web-chat subscription from API credit. They may be separate products. A model or allowance offered in a chat interface does not establish the charging rules for API calls from the same account. Identify exactly what the payment purchases.
Separate the token price categories
A price per million tokens still needs a category. Input, output and supported cache categories can have different rates. OpenAI's pricing documentation lists charges by model and service. Anthropic's pricing documentation separately describes input, output, caching and some tool charges. Do not mechanically transfer one provider's fields to another.
Record the model ID, unit, currency, ordinary input rate, output rate and any separately charged cache or tool categories. Treat a missing value as a question to resolve, not a zero.
Consider a fictional request with 20,000 ordinary input tokens and 2,000 output tokens. Suppose the fictional rates are two ledger units per million input tokens and ten units per million output tokens. With no cache, tool charges or other adjustments:
- Input: 20,000 / 1,000,000 × 2 = 0.04 ledger units.
- Output: 2,000 / 1,000,000 × 10 = 0.02 ledger units.
- Total: 0.06 ledger units.
More input tokens do not necessarily mean that input dominates cost; the rates matter too. Test representative code repair, long-document and short-classification workloads separately rather than multiplying all tokens by one headline rate.
Credit discounts and request multipliers are separate steps
A “recharge multiplier” may describe credits received relative to cash paid. A request multiplier may instead adjust a base rate for an account group. Without a definition, a half-price label or credit bonus is not enough to compare final costs.
Ask two concrete questions: how many usable units does the payment buy for the intended model, and how many units will this request deduct? Confirm whether the displayed rate already includes a group adjustment before multiplying it again.
Continue the fictional example. Suppose CNY 80 buys 100 usable ledger units. The 0.06-unit base request is then subject to a separately stated 1.5 multiplier, so it deducts 0.09 units. If all credits can be used under the same conditions and there are no other fees, its allocated cash cost is 0.09 × 80 / 100 = CNY 0.072.
Without that separately applied multiplier, the same base request would allocate CNY 0.048. The example shows why credit acquisition and debit rules belong in the same comparison; it does not describe a real platform's rates.
This allocation is a budgeting model. Bonus-credit eligibility, expiry, spending order and unused balances can change its usefulness. An unused balance is not an incurred request charge, and promotional credit should not automatically be treated as unrestricted cash.
Verify cache treatment in the usage record
Caching can change the input billing category, but sending repeated text does not establish that the bill received a cache rate. Check the mechanism supported by the particular model, interface and relay, then inspect recorded usage and debits.
Anthropic's documentation distinguishes cache writes from reads and prices those categories separately. Forwarding a request does not by itself establish that a relay passes every upstream cache discount through to an account. Check its actual terms and records.
Before calculating, understand whether a cache field is part of total input or a separate count alongside ordinary input. Adding total input, cached input and cache writes without understanding their relationship can double-count usage. The site's prompt-caching guide offers verification context; current interface definitions govern the calculation.
One business task can contain several requests
A user sees one instruction to summarize a report. The application may retrieve information, summarize it and make another model call to check the format. Retries can add attempts. Associate business task IDs with request IDs so the budget includes the calls actually used to finish the task.
After a timeout, distinguish a client that did not receive a response, a rejected request and a model run whose response was interrupted. An error message alone does not establish a free call or a charge. Use request records and the relevant endpoint's settlement rules; provide sanitized times and identifiers when seeking support.
String AI's integration documentation describes a separate freeze-and-settlement process for video tasks. That is an endpoint-specific rule, not a billing promise for every text request. Tools, images and audio may also use other charging units. Do not force every workload into a single text-token price.
Reconcile a small sample instead of guessing from balance
Use representative synthetic inputs and set an affordable test budget first. Include the short answers, long inputs, long outputs and tool interactions your application needs. Exclude unsupported features and avoid running unrelated tasks merely to fill a checklist.
For each sample, record time, model ID, applicable account group, request ID, usage categories, actual debit, retries and whether the result met predefined task requirements. Never put a complete API key in the ledger. Use the platform's requested sanitized identifiers for support.
Check three things separately: whether published rules reproduce the debit, whether the balance also includes other calls or adjustments, and whether the task completed within acceptable quality and latency limits. Once the acceptance criteria are fixed, compare cost per acceptable completed task. This takes more work than comparing headline rates, but produces a more useful budget.
Where to check String AI's current rules
Start with the current pricing page to identify currency, model and charging unit. Compare that with the group, credit and usage records applicable to the account in the console. Use the integration documentation for endpoint behavior. This article does not inspect a personal balance or assume every account receives the same discount.
String AI's usage policy explains that prices, multipliers and limits can change. Date the comparison and revisit affected items when the model, group or plan changes. For organizing usage by owner, see tracking costs by feature, team and customer.
Keep a record that answers what credit was bought, which rules applied, what the requests consumed, what was deducted and what task was completed. Resolve gaps in that record before increasing volume.
Frequently asked questions
Do two half-price offers have the same effective cost?
Only comparable base prices, credit units, eligible models, request adjustments and other conditions make the discounts comparable. Translate the offer into usable credit and a reproducible debit first.
How many tasks will one million tokens complete?
It depends on inputs, outputs, conversation history, tool results and call count. Estimate from representative tasks rather than assuming one task count applies to every application.
Is a failed request always free?
Check the failure stage, endpoint rules and billing record. A timeout does not establish that upstream processing never occurred. A refund rule for one task type should not be generalized to all endpoints.
Editorial note: AI assisted drafting. Sources were checked on December 1, 2026. All worked prices and multipliers are fictional; no live billing experiment or String AI price guarantee is claimed.