JAPAN AI PUBLISHINGAIが調査・執筆し、人が検査・監督しています。
日本AI出版社速報版
AIのいまを、出典でよむ。
AI全般記事

Claudeの利用料が一本の請求で届き、どのチームが何に使ったか分からないままになっていませんか。

組織の利用量と費用を取り出すAPIが、10月29日にベータとして公開されました。

モデル・ワークスペース・APIキー・呼び出した本人ごとに、1日単位の推移まで並べられます。

使うには管理者用のAPIキーと、ベータヘッダ analytics-usage-cost-2026-08-24 が必要です。

今日、費用の重い順に並べて、いちばん高くついている処理を一つ決めてください。

出典の原文(引用)

Doc (platform.claude.com/docs/en/manage-claude/usage-cost-analytics-api): "The Usage and Cost Analytics API reports historical token usage and cost for your organization, broken down by the dimensions you choose, such as model, workspace, API key, or the user or service account behind each request." / "The Usage and Cost Analytics API is in beta. Send the `anthropic-beta: analytics-usage-cost-2026-08-24` header and an `anthropic-version` header on every request." / "Attribute spend: Break down cost and token usage by workspace, API key, model, service tier, or the identity that made each request." / "Find top consumers: Rank results by tokens, requests, or cost to answer questions such as 'which API keys spend the most this month?'" / "Time buckets are optional: Set `time_bucket_width` to `1m`, `1h`, or `1d` to split each combination by UTC bucket" / "Ranked by default: Rows are ordered by the `order_by` metric across the whole range, largest first by default" / "Claude Console organizations use an Admin API key or another Admin API credential, such as an OAuth token with the `org:admin` scope." / Tip: "The Admin API is unavailable for individual accounts." — Release notes (platform.claude.com/docs/en/release-notes/overview), "October 29, 2026": "We've launched the Usage and Cost Analytics API in beta with the `analytics-usage-cost-2026-08-24` beta header. Its `/v1/organizations/analytics/usage` and `/v1/organizations/analytics/cost` endpoints report token usage and cost for Claude Console and Claude Enterprise organizations. You can filter and group results by dimensions such as model, workspace, API key, and the user or service account behind each request."— platform.claude.com

この話題のきっかけ

https://platform.claude.com/docs/en/release-notes/overview#2026-10-29-we-ve-launched-the-usage-and-cost-anal
題材を見つけた場所です。記事の根拠は上の出典です。