Skip to content

AI Compass / News

Claude API: new usage and cost analytics, requests up to 128 MB

Costs

A new beta API breaks down tokens and cost by model, key and person. Data arrives later than before, and the old API stays.

Source: Release notes, entries of 28 and 29 October 2026 (Claude Platform Docs, Anthropic),

Note: I use Claude and Claude Code for my own work. Anthropic does not pay me, and the links are not affiliate links.

Technical drawing: two lines from the /usage and /cost endpoints feed into a bar split into MODEL, WORKSPACE and API KEY segments. A BETA tag sits in the lower left.Technical drawing: two lines from the /usage and /cost endpoints feed into a bar split into MODEL, WORKSPACE and API KEY segments. A BETA tag sits in the lower left.

What happened: Since 29 October 2026, Anthropic has offered the Usage and Cost Analytics API in beta. It reports usage and cost for Claude Console and Claude Enterprise organisations through two endpoints: /v1/organizations/analytics/usage for tokens and requests, and /v1/organizations/analytics/cost for cost in US dollars. You can filter and group the results by model, workspace, API key, and the person or service account behind each request. The previous Usage and Cost API and four report endpoints of the Enterprise Analytics API are now legacy, but remain supported.

In addition, since 28 October the Messages API and the Token Counting API accept requests of up to 128 MB, up from 32 MB. This applies only to Anthropic’s own API.

What this means: You can see more precisely which key, model and workflow costs how much. You need an Admin API key for this (a key with administrative rights for the organisation). Claude Enterprise organisations use a key with the read:analytics scope instead. The Admin API is not available for individual accounts. According to Anthropic, the new data usually arrives within 4 hours and at the latest within 24 hours. With the old API it was usually 5 minutes. A month’s figures can still change until about 7 days after the month ends. A single query covers at most 31 days, and its start must fall within the last 365 days and no earlier than 1 January 2026.

What you can do:

  1. No rush: Existing reports on the old API keep working. For quick budget alerts, the old API is currently the better fit because its delay is shorter.
  2. Try the new breakdown: If you want to attribute cost per workflow or per key, test the beta with the anthropic-beta: analytics-usage-cost-2026-08-24 header.
  3. Keep keys tidy: Anthropic recommends giving the service that collects the data its own Admin API key with an expiry date.
  4. Large files: PDFs and images up to 128 MB now fit into one request. How much of their text the model can work with is still limited by the context window.

Context: The new API is in beta, and details may change.

My workshops show you how to bring AI into your team. See the workshops