Skip to content

The API is paid from API credit: a prepaid balance in Algerian dinars, separate from your plan. API requests never use your plan's credits or its unlimited voice-overs, and the web app never touches your API credit, except the Playground and the Speech to text page of the Developer workspace, which run real API requests.

The API is open on every plan, the Free plan included. All you need is API credit to pay for your voice-overs and transcriptions.

​Prices

Two kinds of request are paid: voice-overs, priced per character, and speech to text, priced per second of audio. One balance pays for both.

​Voice-over

The voice-over (POST /tts) is priced per character by the model you choose:

ModelmodelPer 1,000 charactersPer million characters
Voice213 LiteDefaultvoice213-lite9 DA9,000 DA
Voice213 Lite 2Newvoice213-lite-28 DA until 31 December 2026, then 15 DA8,000 DA until 31 December 2026, then 15,000 DA
Voice213 Provoice213-pro20 DA20,000 DA
Voice213 Pro 1.5voice213-pro-1.539 DA39,000 DA
Voice213 Pro 2Newvoice213-pro-212 DA until 31 December 2026, then 24 DA12,000 DA until 31 December 2026, then 24,000 DA
  • Characters are those of the text you send. Spaces, punctuation and diacritics count, and runs of spaces count once. Tone directions in parentheses don't count when they're at most 100 characters long, parentheses included; a longer one is billed like the rest of the text.
  • Every request is billed at least 100 characters. A 20-character greeting costs the same as a 100-character line. A text with nothing to speak, such as one made only of tone directions, is refused with 400 EMPTY_TEXT and costs nothing.
  • The cost is billable characters × price per million ÷ 1,000,000, rounded to four decimals, and is taken from your API credit only when the voice-over succeeds. Failed requests aren't charged.
  • Every voice-over response tells you the model, the characters billed (billableChars), what it cost (cost) and what's left (remainingCredit).

Voice213 Lite 2 and Voice213 Pro 2 are priced 8,000 and 12,000 DA per million characters until 31 December 2026 (an introductory price), then 15,000 and 24,000 DA from 1 January 2027. The change happens on its own at midnight UTC, and GET /models lists it in priceChanges before it happens.

What some typical requests cost on each model, at today's prices:

ExampleCharactersLiteLite 2ProPro 1.5Pro 2
A short product line1000.90 DA0.80 DA2.00 DA3.90 DA1.20 DA
A 30-second ad script4003.60 DA3.20 DA8.00 DA15.60 DA4.80 DA
1,000 order confirmations of 150 characters150,0001,350 DA1,200 DA3,000 DA5,850 DA1,800 DA
A million characters1,000,0009,000 DA8,000 DA20,000 DA39,000 DA12,000 DA

The 1,000 order confirmations are 1,000 requests of 150 characters each, above the 100-character minimum, so they cost the same as one request of 150,000 characters. To price your own text exactly, send it to Estimate Cost.

​Speech to text

KhasbhaSTT transcribes files sent to POST /stt, and KhasbhaSTT LIVE transcribes a live audio stream over a WebSocket. Both are priced per second of audio:

ModelmodelPer minutePer hourBilling
KhasbhaSTTkhasbha-stt3 DA180 DAPer second, at least 30 seconds per file
KhasbhaSTT LIVEkhasbha-stt-live5 DA300 DAPer second, at least 15 seconds per session
  • Seconds are those of the audio: the length of the file's sound, video files included, or the audio your app streams during a live session, measured from the bytes it sends (32,000 bytes make one second of 16 kHz, 16-bit mono audio). A live session is billed for its audio, not for how long the socket stays open.
  • Billing is per second, rounded up: a recording of 42.37 seconds is billed 43 seconds.
  • Every file is billed at least 30 seconds, and every live session at least 15 seconds. A 20-second voice note costs the same as a 30-second one. A live session that receives no audio costs nothing.
  • The cost is billable seconds × price per minute ÷ 60, rounded to four decimals. A transcription is charged when it succeeds, even when the audio has no speech and the text comes back empty; a failed one isn't charged. A live session is charged once, when it ends, for the audio it received, however it ends.
  • Every transcription response, and the ended message of every live session, tells you the seconds billed (billableSeconds), what it cost (cost) and what's left (remainingCredit).

What some typical recordings cost, at today's prices:

ExampleModelBilledCost
A 20-second voice noteKhasbhaSTT30 seconds, the minimum1.50 DA
A 3-minute callKhasbhaSTT3 minutes9.00 DA
1,000 voice notes of 30 secondsKhasbhaSTT1,000 × 30 seconds1,500 DA
A 10-minute live sessionKhasbhaSTT LIVE10 minutes50.00 DA
One hour liveKhasbhaSTT LIVE1 hour300 DA

To price a recording before you send it, give its length to POST /stt/estimate. GET /stt/models lists today's prices, and any change scheduled for them in priceChanges.

​What's free

Everything else is free: Estimate Cost, List Models, List Voices, List Tones, Estimate Transcription Cost, List STT Models and Get Account. Creating a live token is free too: you pay for the session it opens.

​API credit

Top up on the Developer Dashboard in the Developer workspace:

1

Click Top up

On the API credit card.

2

Choose an amount

2,000, 5,000, 10,000 or 20,000 DA, or any amount from 1,000 to 200,000 DA.

3

Pay

With Edahabia or CIB, by Visa or Mastercard (charged in US dollars at 250 DA per dollar), or by bank transfer. Online payments are added a few moments after they go through; transfers after review.

API credit never expires, and the same balance pays for voice-overs and speech to text. When it can't cover a request, the request fails with 402 and the code INSUFFICIENT_CREDIT, whatever your plan. A live session your credit can no longer cover ends on its own instead, with the reason credit_limit. See Going to Production to stay ahead of it.

​Limits

Every account has the same limits, whatever your plan, shared by all its API keys (up to 10):

LimitEvery API key
Requests per minute600
Requests per day1,000
Requests at once20
Words per voice-over, tone directions included5,000
Requests per minute from one IP address600
JSON request body25 MB
File uploaded to POST /stt100 MB

Speech to text adds limits of its own:

LimitKhasbhaSTTKhasbhaSTT LIVE
Longest audio30 minutes per file1 hour per session
Largest file100 MB, uploaded or at a URL—
AudioAudio and video files16-bit PCM, mono, 16 kHz, streamed
At once20 per key, shared with voice-overs5 sessions per account
Requests per minute and per dayEach transcription counts once Voice213 starts reading its audio, even if it's then refusedEach token counts once
Downloading a URLWithin 60 seconds—
Session token—Single use, valid 2 minutes
Custom vocabulary—Up to 50 terms of up to 40 characters
Without audio—A session ends after 60 seconds
Socket messages—Up to 64 KB each
  • Only voice-overs (POST /tts), transcriptions (POST /stt) and live tokens (POST /stt/live/token) count toward the per-minute and per-day limits: voice-overs and live tokens once they succeed, transcriptions once Voice213 starts reading their audio, even when it's then refused (a refusal is never charged). GET /me is checked against them but never counts, and the other free endpoints (/tts/estimate, /models, /tts/voices, /tts/tones, /stt/estimate, /stt/models) are neither checked nor counted.
  • The 20 requests at once are voice-overs and transcriptions running together. Live sessions don't take one: an account can run 5 of them at once.
  • The words-per-voice-over limit applies to both formats of POST /tts and to Estimate Cost, and counts every word, tone directions included.

See Rate Limits for how the limits behave. Need more? Contact us for higher limits or volume pricing.

Was this page helpful?