Skip to content

Billing and data

Pricing and billing

Per-second metering, prepaid credits, free credit and auto-recharge.

Prices

ModePer minutePer secondPer hour
Pre-recorded (sync and async)$0.012$0.0002$0.72
Real-time streaming$0.018$0.0003$1.08

Text to speech (Shihab Voice TTS V1): $0.03 per 1,000 characters of input text, Scale $0.0225.

New accounts get $5 of free credit (about 7 hours pre-recorded, or about 166,000 characters of speech), no card needed. Volume pricing: see pricing.

How usage is metered

  • Per second of audio, rounded up to the next whole second per request, minimum 1 second. A 12.48 s voice note bills 13 s: $0.0026.
  • Streams bill the audio we receive, not connection time, metered in 10-second ticks and settled when the stream closes.
  • Text to speech bills the characters of the text after trimming, once the audio starts streaming (X-Characters and X-Cost-Usd on the response).
  • Failed requests are not billed. Streams are billed for the audio we received, even if they end with an error.
  • Every response tells you exactly what it cost in usage (or Finished for streams).

Credits and top-ups

Billing is prepaid. Add credit from Billing in the console; every top-up has an invoice. Turn on auto-recharge to top up automatically when your balance drops below a threshold, and set a low-balance email alert. When the balance runs out, requests return 402 insufficient_credits; a request already running finishes, so the balance can dip slightly below zero.

Balance and usage API

Read your balance and usage programmatically with a key that has the usage:read scope (reference).

curl "https://api.shihab.co.uk/v1/usage?start=2026-10-01&end=2026-10-12&granularity=day" \
  -H "Authorization: Bearer $SHIHAB_API_KEY"

curl https://api.shihab.co.uk/v1/balance \
  -H "Authorization: Bearer $SHIHAB_API_KEY"

Need help? Email [email protected] or message us on WhatsApp.