Skip to main content
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

import json

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