> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gradium.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Credits

> Monitor and manage your API credit balance

Credits are consumed based on the audio generated:

* **Text-to-Speech**: 1 credit per character synthesized. One minute is approximately 750 characters, so 1 hour of TTS generation is approximately 45,000 credits.
* **Speech-to-Text**: 3 credits per second of audio transcribed.

## Get Credit Information

```python theme={null}
import json

credits_info = await gradium.usages.get(client)
print(json.dumps(credits_info, indent=2))
```
