Skip to main content

Overview

The usage client provides methods to retrieve detailed usage statistics for your ElevenLabs account, including character consumption breakdown by feature.

get_character_usage()

Get character usage statistics for a specified time period.

Method Signature

Parameters

int
Start of the time period as a Unix timestamp. Defaults to the beginning of the current billing period.
int
End of the time period as a Unix timestamp. Defaults to the current time.
RequestOptions
Request-specific configuration.

Returns

CharacterUsageResponse containing:
int
Total characters used in the specified period
object
Character usage broken down by feature

Example

Example Output

get_usage_by_date()

Get usage statistics grouped by date.

Async Usage

Monitoring Usage

Create a simple usage monitoring script:

Use Cases

Quota Monitoring

Track usage against your subscription limits

Cost Tracking

Monitor character consumption for budgeting

Usage Analytics

Analyze which features consume the most characters

Alerts

Set up automated alerts when approaching limits
  • User - Get account and subscription information
  • Models - Available AI models