Limits and errors
60 minutes of audio per call, 100 MB per request body, and the error codes rakeaudio returns.
Limits
Send compressed audio for long files. One hour of 16 kHz mono WAV is about 115 MB, over the body limit. The same hour as a 64 kbps mp3 is about 29 MB.
A rakeaudio call counts as one request against your requests-per-minute limit. See Limits and rate limits.
Errors
Errors use the standard envelope: { "error": { "code": "...", "message": "..." } }. See Errors.
These are real responses:
Authentication, rate-limit and credit errors (401, 403, 429) are the same for every model. See Errors.
Retries
Retry 502, 503 and 529 with exponential backoff, for example after 2, 4 and 8 seconds. A failed call is not billed. Never retry a 400 or a 415 with the same request: it fails again.