Kostenbericht abrufen
GET/v1/organizations/cost_report
[Veraltet] Ruft einen Bericht über die Claude API-Kosten deiner Organisation in USD ab, aggregiert in tägliche Buckets.
Dieser Endpunkt ist Teil der veralteten Usage and Cost API. Verwende für neue Integrationen stattdessen GET /v1/organizations/analytics/cost in der Usage and Cost Analytics API. Informationen zur Umstellung einer bestehenden Integration findest du unter Migration von der Usage and Cost API.
Query parameters
Headers
Returns
Kostenbericht abrufen
curl https://api.anthropic.com/v1/organizations/cost_report \
-H 'anthropic-version: 2026-10-21' \
-H "Authorization: Bearer $ANTHROPIC_API_KEY"Response 200
{
"data": [
{
"ending_at": "2025-08-02T00:00:00Z",
"results": [
{
"amount": "123.78912",
"context_window": "0-200k",
"cost_type": "tokens",
"currency": "USD",
"description": "Claude Opus 5.5 Usage - Input Tokens",
"inference_geo": "global",
"model": "claude-opus-5-5",
"service_tier": "standard",
"speed": "standard",
"token_type": "cache_creation.ephemeral_1h_input_tokens",
"workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ"
}
],
"starting_at": "2025-08-01T00:00:00Z"
}
],
"has_more": true,
"next_page": "page_MjAyNS0wNS0xNFQwMDowMDowMFo="
}Returns Examples
Response 200
{
"data": [
{
"ending_at": "2025-08-02T00:00:00Z",
"results": [
{
"amount": "123.78912",
"context_window": "0-200k",
"cost_type": "tokens",
"currency": "USD",
"description": "Claude Opus 5.5 Usage - Input Tokens",
"inference_geo": "global",
"model": "claude-opus-5-5",
"service_tier": "standard",
"speed": "standard",
"token_type": "cache_creation.ephemeral_1h_input_tokens",
"workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ"
}
],
"starting_at": "2025-08-01T00:00:00Z"
}
],
"has_more": true,
"next_page": "page_MjAyNS0wNS0xNFQwMDowMDowMFo="
}