What the three rates on every model mean
Input, cached input and output are billed at different prices. Here is what each one covers, how reasoning tokens are counted, and why cache hits are reported rather than promised.
How the gateway bills, meters and protects an account, written down as it is built.
Input, cached input and output are billed at different prices. Here is what each one covers, how reasoning tokens are counted, and why cache hits are reported rather than promised.
Give each project its own key, a budget it cannot exceed, and the list of models it is allowed to call. When a key reaches its cap, it stops on its own.
There is no credit line and no invoice. Before a request is forwarded, the most it could cost is held against your balance. Real usage is charged afterwards, and the rest of the hold is released.
Each call on each key leaves a record of its tokens, its charge and its status. Export the lot as CSV and reconcile it against your own logs.
How to use TokenCLI as a drop-in OpenAI replacement when you want prepaid crypto billing, published per-token rates, and no credit card or KYC on file.
Cached input tokens are billed at a fraction of the standard rate. Here is how TokenCLI prices cache hits, which models benefit most, and why cache savings are reported — not promised.