Explainers: API pricing

Claude API Streaming Usage: Count Tokens Once
Record cumulative token counters once, preserve interrupted attempts and separate completion from acceptance.

OpenAI API Billing: Why ChatGPT Plans Do Not Include Credits
ChatGPT and the OpenAI API use separate billing. API access needs its own organization, credits and limits.

OpenAI Batch API: Lower Token Costs, Deferred Results
Batch processing discounts eligible API work, while identifiers, error files and expiration need their own handling.

Prompt caching costs: reads, writes and real savings
A worked example of API cache reads, writes and the cost of changing input and generated answers.
