subagentcredits

.com api billing

← all concepts

Token-based pricing

token_pricing bil_token_based_pricing
description
The 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.
how it works

Each API call's cost is a function of input token count plus output token count, multiplied by that model's per-token rate. Different models have different rates, and larger/more capable models generally cost more per token than smaller ones.

source note

General mechanism description; no specific dollar-per-token figures are asserted here. This session did not perform a live web search to confirm current exact pricing, so no numeric rate is stated.

provenance

created 2026-07-02 08:30:36 · JSON