Skip to content

Claude Usage Widget

Shows today's Claude Code token usage and estimated cost for your Anthropic organisation.

Requirements

  • An Anthropic API key with organisation admin permissions
  • Your Anthropic Organisation ID

Getting your credentials

API Key:

  1. Go to console.anthropic.com
  2. Open API Keys and create a new key

Organisation ID:

  1. Go to Settings → Organisation
  2. Copy the Organisation ID (format: org-xxxxxxxxxxxxxxxxxxxxxxxx)

Configuration

KeyTypeDescription
apiKeystringAnthropic API key
organizationIdstringAnthropic Organisation ID

Displayed data

  • Total input and output tokens for today
  • Estimated cost in USD for today
  • Breakdown by model (if multiple models used)

API access

The usage report endpoint requires organisation-level API access. Personal API keys scoped to a single project will not work.

Personal Homepage Dashboard