subagentcredits

.com api billing
3 concepts, live from D1

Concepts

Every real API billing concept catalogued here, grouped by category unless filtered.

conceptdescription
Input tokens are typically billed at a different rate than output tokensMost LLM API providers, including Anthropic, bill output tokens at a materially higher per-token rate than input tokens, because generating tokens is more computationally expensive than processing them as input.
Prompt caching reduces effective cost for repeated contextWhen a prompt prefix is cached (see subagentcontext.com's prompt-caching concept), reusing that cached prefix across requests is billed more cheaply than reprocessing the same tokens fresh each time.
Token-based pricingThe Anthropic API bills usage based on the number of tokens processed, not a flat per-request fee — both the tokens sent in a request (input) and the tokens generated in the response (output) count toward billed usage.

Machine-readable: GET /api/billing-concepts