API · Reference

Limits & pricing

What the API allows, and what a session costs.

Pricing

PriceCounted
Conversation session$0.03 per minuteFrom start to stop, rounded up to the whole minute
Render-mode session$0.025 per minuteFrom start to stop, rounded up to the whole minute
Premium voicesPer character spokenOn top of the minutes; the free voices cost nothing extra

The API uses the same account and balance as the console. Paid accounts pay from a prepaid balance (from $20, credits never expire); the free plan includes 60 minutes a month. See pricing.

Rate limits

LimitValuePast it
Requests per key120 a minute429
New sessions per account20 a minute429 rate_limited
Active keys per account10Revoke one to make another

Sessions

RuleValue
Sessions per agent at onceThe agent's concurrency_limit (you set it). Past it: 409 concurrency_limit.
Opening the playerWithin about 90 seconds; a session nobody watches for 90 seconds is ended.
LengthNo limit on paid accounts: a session runs until you stop it.
Render mode: audio waiting to playAt most 120 seconds; more is refused with queue_full.
Render mode: text per messageUp to 5000 characters.

Free plan

LimitValue
Minutes60 a month
Session length5 minutes; the session then ends on its own
Sessions at once1
Agents1
VoicesFree voices (kokoro), in 8 languages
Adding funds in the console lifts every free-plan limit at once. A limit reached through the API answers 402; see Errors.