Best Real-Time Text-to-Speech APIs for Game Characters and AI Companions (2026)
Real-time text-to-speech is what turns an LLM-driven NPC or AI companion from a chat window into a character. The player speaks or types, a language model writes the reply, and a TTS API has to start talking before the silence feels like lag. Pre-recorded voice lines can't cover dialogue that didn't exist a second ago, so if your characters improvise, the voice has to be generated at runtime too.
The market moved fast, and it also lost players. Replica Studios, the voice tool many indie developers wired into Unreal and Unity, closed in June 2025. Play.ht shut down at the end of 2025. Hume AI is sunsetting its Octave TTS and EVI APIs on November 13, 2026. If you shipped a game on any of them, you are re-voicing characters right now. Vendor durability is a selection criterion, not an afterthought: keep a thin abstraction layer between your dialogue system and the TTS provider, and keep the source audio for every custom voice you create.
Most TTS comparisons are written for phone agents and narration. Games and companions have different constraints:
- Time to first audio, not total generation time. A 25 ms model is irrelevant if the network round trip to the nearest region is 150 ms. Measure end to end from your players' regions.
- Streaming input as well as output. The best setups push LLM tokens into a WebSocket and get audio back while the model is still writing. Waiting for the full sentence adds hundreds of milliseconds.
- Emotion and style control. A shopkeeper, a dying knight and a flirty companion need different delivery from the same pipeline. Inline tags like [whisper] or [laugh] beat global sliders for this.
- Consistency across long sessions. A companion that talks to one user for months must sound like the same person on day 90. Cloned or designed voices with fixed IDs matter more than a big stock library.
- Concurrency. Every simultaneous player conversation holds a request slot. Low self-serve concurrency caps are the hidden ceiling for launches.
- Licensing and cost at scale. Check that your plan covers commercial distribution, that you have consent for any cloned voice, and that union rules apply if you clone a performer. Then do the math: at roughly 1,000 characters per minute of speech, a companion user who listens to 30 minutes a day burns about 900,000 characters a month.
To build this list we checked each vendor's live pricing page and model documentation in October 2026, and compared published latency figures, streaming options, expressive controls, cloning, concurrency limits, deployment options (cloud, self-hosted, on-device) and per-character cost. Latency numbers are vendor-reported unless noted, so treat them as best-case.
You'll find seven APIs below, from ElevenLabs for overall quality to Inworld AI for character-scale pricing and Cartesia for raw speed. Browse more AI voice and audio tools or the wider game development category, and if you also need ears for your characters, see our guide to speech-to-text APIs for developers.
Full Comparison
AI voice generator and voice agents platform
💰 Free tier with 10k credits/month; Starter $6/mo, Creator $22/mo, Pro $99/mo, Scale $299/mo, Business $990/mo, Enterprise custom
ElevenLabs is the strongest all-round choice for voiced characters because it covers both halves of the job: designing a voice that sounds like a person, and serving it fast enough for live dialogue. For runtime lines you pick a latency-tuned model. Flash lists about 75 ms of model latency across 32 languages, and the newer v4 Turbo is positioned as the model for real-time agents at about 100 ms with v4-level expressiveness. For cutscenes, trailers and barks you can pre-generate, v3 and v4 add audio tags for laughs, whispers and emotional shifts.
The tooling around the model is where it pulls ahead for character work. Voice Design creates a new voice from a text description ("gravelly old dwarf, tired, kind"), instant and professional cloning lets you license a real actor's voice, and every voice gets a stable ID you can reuse for months. A WebSocket input-streaming endpoint accepts LLM text as it is generated, so audio can start before the reply is finished.
The trade-off is cost at companion-app scale. API list prices run $0.04 per 1,000 characters for Flash and Turbo-class models and $0.08 for v3, roughly 2.5 to 5 times the per-character rates of Inworld AI or Fish Audio. Subscription plans from $6 to $990 a month bundle credits and raise concurrency, and commercial use requires a paid plan. For a studio voicing a few hero characters that cost is easy to justify. For a free-to-play companion with heavy daily listeners, model the bill before you commit.
Pros
- Voice Design and professional cloning make it fast to build distinct, reusable character voices with stable IDs
- Latency-tuned Flash and v4 Turbo models for live dialogue, plus v3 and v4 audio tags for acted, pre-generated lines
- WebSocket input streaming lets you feed LLM output in as it is written
- Large stock voice library for quickly casting background NPCs, plus 90+ languages on v4 models
Cons
- Per-character list prices are among the highest here, which hurts free-to-play companion economics
- Commercial rights and higher concurrency both require paid plans
- No official Unity or Unreal plugin; you integrate through REST and WebSocket
Our Verdict: Best overall for studios that want top-tier character voices and the deepest voice design and cloning tools, and can absorb premium per-character pricing.
Realtime TTS, STT, and LLM routing for interactive characters and voice apps
💰 On-Demand free start (TTS-2 $25/1M chars, TTS-2 Flash $15/1M chars); Creator $25/mo, Builder $100/mo, Developer $300/mo, Growth $1,500/mo with discounted rates; Enterprise from $5/1M chars
Inworld AI began as a character engine for games, and its current voice stack still reads like it was built by people who have shipped NPCs. Realtime TTS-2 is the expressive model, with a vendor-stated P99 time to first byte under 100 ms. TTS-2 Flash trades a little expressiveness for 25 ms P99 and a lower price. Both stream over WebSocket and take natural-language steering inline, such as [Speak sadly] or [Speak softly], plus non-verbal cues like [laugh], [sigh] and [breathe], which is exactly how a dialogue system wants to direct a performance per line.
The economics are the real argument. On demand, TTS-2 costs $25 and Flash $15 per million characters. Paid plans lower that, down to $12.50 and $7 on Growth, and enterprise pricing goes as low as $5 per million for TTS-2. Concurrency is generous: 50 concurrent requests on the $100 Builder plan, and Inworld estimates each request slot serves at least four user sessions. For a companion app or a multiplayer game with many talking NPCs, that headroom matters as much as voice quality.
The rest of the platform fits a character pipeline too: speech-to-text that returns emotion, pitch and vocal-style signals from the player's voice, a speech-to-speech Realtime API with barge-in, and an LLM router that can send cheap combat barks to a fast open model and story-critical scenes to a stronger one. Engine integration is through standard REST, WebSocket and WebRTC APIs, so you write the Unity or Unreal glue yourself.
Pros
- Character-scale pricing: TTS-2 Flash from $15 per million characters on demand and lower on paid plans
- High concurrency for the price, with 50 concurrent requests on the $100 Builder plan
- Inline steering and non-verbal tags let your dialogue system direct delivery line by line
- Player-voice emotion signals and an LLM router round out an NPC pipeline in one account
Cons
- Latency figures are server-side P99 and exclude network time, so end-to-end numbers will be higher
- Professional voice cloning is an add-on until the $1,500 Growth plan
- No maintained engine plugin; integration is API-level
Our Verdict: Best for games and companion apps voicing many characters or users at once, where cost per character and concurrency decide whether the product works.
Sonic: low-latency, expressive text-to-speech for real-time voice apps
💰 Free with 20K credits/month; Pro $5/mo (100K credits); Startup $49/mo (1.25M credits); Scale $299/mo (8M credits); Enterprise custom. One character of TTS = one credit.
Cartesia is the pick when the conversation has to feel instant. Its Sonic models run on a state-space architecture rather than a standard transformer, and Sonic-3.6 lists first audio in under 90 ms across 44 languages from a single model. Independent reviews put real-world turn latency higher once network time is included, which is true of every vendor here, but Cartesia sits consistently near the front of public latency benchmarks.
For characters, the most useful feature is contexts. You open a context over WebSocket and keep pushing text chunks from your LLM into it. Sonic treats them as one continuous utterance, so prosody doesn't reset at every chunk boundary, which is the robotic stitching effect that gives away a lot of streamed NPC dialogue. Sonic also reads emotional subtext from the transcript by default, accepts non-verbal cues like [laughter] inline, and offers volume, speed and emotion controls. Custom pronunciation dictionaries handle invented place names and spell names, which fantasy games are full of.
Pricing is credit-based, with one character equal to one credit, and starts low: $5 a month buys 100,000 credits, a commercial license and instant cloning from about 10 seconds of audio. The constraint is concurrency on lower plans: 2 to 5 concurrent TTS requests below the $299 Scale plan, and 15 on Scale. That is fine for a single-player game where one conversation happens at a time, and tight for a companion app at launch.
Pros
- Some of the lowest time-to-first-audio figures among hosted TTS APIs
- Streaming contexts keep prosody continuous while LLM text arrives in chunks
- Pronunciation dictionaries handle invented names and fantasy vocabulary
- Commercial license and instant cloning from $5 per month
Cons
- Low concurrency below the $299 Scale plan limits multi-user apps
- Product focus is business voice agents, so there are no game-specific tools or engine plugins
- Expressive range is good but less directable per line than Inworld's or ElevenLabs' tag systems
Our Verdict: Best for single-player games and latency-critical companions where response speed matters most, and concurrency needs are modest.
Expressive TTS and voice cloning API with open-weight models
💰 API pay-as-you-go $15 per 1M UTF-8 bytes (no subscription); app plans Free, Plus $15/mo, Pro $100/mo, Max $999/mo (monthly billing); self-hosting from $10K/month
Fish Audio lists AI companions among its target use cases, and its pricing and controls line up with that audience. The API is pay-as-you-go at $15 per million UTF-8 bytes with no subscription. The current S2.1-Pro model covers 83 languages and takes inline direction tags such as [warm], [near-whisper], [chuckle] and [long pause], so a companion's delivery can follow the mood of the conversation without a separate emotion parameter. It streams over WebSocket, with official Python and TypeScript SDKs.
Its other draw is a large community voice library and fast cloning, which make it easy to prototype a cast. For anything you ship, use voices you own or have cloned with consent: community voices vary in quality and rights clarity. Voice design from a text description costs $0.01 per successful request, which is cheap enough to generate many candidates for each character.
The longer-term reason to consider Fish Audio is the open-weight path. Its fish-speech, S1 and S2 models are released as open weights under a paid commercial license, and enterprises can self-host them in their own cloud or on-prem. Self-hosting is priced as an enterprise engagement (from $10,000 a month), so it isn't for a small team, but it is insurance against the kind of shutdowns that hit Replica and Play.ht users. Watch the concurrency tiers: the API starts at 5 concurrent requests and rises to 15 and 50 after $100 and $1,000 in prepaid spend.
Pros
- Low, published API price with no subscription, at $15 per million UTF-8 bytes
- Inline emotion and direction tags suit companion and roleplay dialogue
- Large community voice library and cheap voice design speed up casting
- Open-weight models offer a self-hosting exit if you outgrow the API
Cons
- Starts at 5 concurrent API requests until you prepay $100 or more
- Commercial self-hosting is an expensive enterprise engagement
- Community voices need rights checks before you ship them in a product
Our Verdict: Best value for AI companion and roleplay apps that want expressive, tag-driven voices at a low per-character price, with an open-weight fallback.
Enterprise-grade neural text-to-speech with 500+ lifelike voices in 140+ languages
💰 Free tier with 0.5M characters/month; Neural TTS $15 per 1M characters (commitment tiers from $12 per 1M); Custom Voice from $24 per 1M characters
Microsoft Azure Neural TTS is the least flashy option here and the most practical for two situations: you need speech to work offline or on-device, or your studio already runs on Azure. Embedded speech, a limited-access feature you apply for, lets supported voices run locally without a network connection, which removes network latency entirely and keeps a game playable on a plane. Few cloud-first vendors on this list offer anything comparable.
For style control Azure relies on SSML. Many neural voices support speaking styles such as cheerful, sad, angry, whispering or shouting, with adjustable intensity, plus fine control of pitch, rate, pauses and pronunciation. That is more verbose than inline tags like [laugh], but it is deterministic, which some dialogue tools prefer. The Speech SDK has C# and C++ bindings that fit Unity and Unreal projects, and real-time synthesis streams audio as it is produced.
Pricing is predictable and low at volume: $15 per million characters for neural and HD Flash voices pay-as-you-go, with commitment tiers down to $7.50 per million, and 0.5 million free characters a month. Custom voices cost more. A professional custom voice is $24 per million characters, plus training (up to $936 per training run) and endpoint hosting at $4.04 per model per hour, which adds up if every character gets its own model. The stock voices also sound more like polished assistants than actors, so Azure fits background NPCs, accessibility narration and on-device fallbacks better than hero characters.
Pros
- Embedded, on-device speech for offline play and zero network latency
- SSML speaking styles and prosody controls give deterministic emotional delivery
- Speech SDK has C# and C++ bindings that fit Unity and Unreal codebases
- Low volume pricing, down to $7.50 per million characters on commitment tiers
Cons
- Custom character voices carry training costs and hourly endpoint hosting per model
- Stock voices are less performative than ElevenLabs, Inworld or Fish Audio
- SSML-based style control is more work to wire into an LLM pipeline than inline tags
Our Verdict: Best for studios that need offline or on-device character speech, or enterprise Azure compliance, more than they need star-quality acting.
Voice AI APIs for speech-to-text, text-to-speech, and real-time voice agents
💰 Pay as you go with $200 free credit (no card required); Nova-3 from $0.0043/min pre-recorded and $0.0048/min streaming; Growth plan from $4K/year saves up to 20%
Deepgram earns its place by owning both ends of the voice loop. Most voiced characters need to hear the player as well as speak, and Deepgram's Flux speech-to-text model was built for turn-taking, with end-of-turn events that help you decide when the character should start talking. Pairing it with Deepgram's own Aura-2 or Flux TTS keeps both legs on one API key, one bill and one set of regions, and the Voice Agent API can run STT, an LLM and TTS over a single WebSocket.
Aura-2 is priced at $0.030 per 1,000 characters on pay-as-you-go ($30 per million), and Flux TTS at $0.045. Concurrency is solid for a self-serve account, at up to 45 concurrent TTS connections on pay-as-you-go and 60 on Growth. New accounts get $200 in free credit, enough for a meaningful load test. Enterprises can self-host, which helps if you run game servers in your own data centers.
The limitation for this use case is character range. Deepgram's voices are tuned for clear, professional conversation, the kind you want from a support agent rather than an orc warlord, and it lacks the voice design and inline acting tags that ElevenLabs, Inworld and Fish Audio offer. It's a good fit for tutors, guides and companion personas with a natural, grounded voice, and for teams that value one reliable vendor for the whole voice pipeline. For a deeper look at the listening side, see our guide to speech-to-text APIs for developers.
Pros
- One vendor for turn-aware speech-to-text and low-latency TTS in the same voice loop
- Up to 45 concurrent TTS connections on pay-as-you-go, 60 on Growth
- $200 free credit covers a realistic load test
- Self-hosted deployment for studios running their own infrastructure
Cons
- Voices are built for conversational clarity, not acted character performances
- No voice design or inline emotion tags for directing delivery
- Aura-2 costs more per character than Inworld's Flash tier or Fish Audio
Our Verdict: Best for teams that want speech-to-text and TTS from one vendor for grounded companion or tutor characters, rather than heavily acted NPCs.
Conversational text-to-speech built for real-time voice agents
💰 Usage-based: Mist v3 $0.03 per 1K characters, Coda $0.05 per 1K characters; free starting minutes, no card required; Enterprise volume pricing
Rime publishes some of the most aggressive latency numbers in the market. Its Mist v3 model lists 37 ms P50 and 56 ms P90 time to first audio at single concurrency, and about 70 ms when self-hosted on your own hardware. The Coda model trades some speed (96 ms P50) for more natural expression and adds word-level timestamps, which are useful for lip-sync and for cutting audio cleanly when a player interrupts. Both stream over HTTP and WebSockets.
Two features stand out for game teams. Deterministic pronunciation control renders names and alphanumerics the same way every time, which helps when your world is full of invented words. Self-hosting via Docker Compose or Kubernetes on the Enterprise plan lets you run the model next to your game servers, removing a network hop and keeping player audio inside your own infrastructure.
Pricing is simple usage billing: $0.03 per 1,000 characters for Mist v3 and $0.05 for Coda, with free starting minutes and 20 concurrent generations on the self-serve plan. The reason Rime ranks last here is fit, not quality. Its voices, case studies and tuning target contact centers in healthcare, finance and hospitality, and Mist v3 speaks only English, French, German and Spanish. If you need a calm, fast, natural voice for a guide or companion character, it is worth testing. If you need a snarling villain, look higher on this list.
Pros
- Very low published time to first audio on Mist v3
- Self-hosting option puts the model next to your game servers
- Deterministic pronunciation control for invented names and terms
- Simple per-character pricing with 20 concurrent generations self-serve
Cons
- Voices and tuning target customer-service calls rather than character acting
- Mist v3 supports only four languages
- Self-hosting and unlimited cloning need an Enterprise contract
Our Verdict: Best for latency-obsessed teams that want to self-host a fast, natural voice for calm companion or guide characters, and don't need dramatic range.
Our Conclusion
Quick decision guide
- You want the best-sounding characters and the deepest voice tooling: ElevenLabs. Prototype with v3 for acted performances, ship runtime dialogue on a Flash or Turbo model.
- You're voicing many NPCs or companion users at once and cost per character decides the business: Inworld AI. TTS-2 Flash starts at $15 per million characters on demand and drops on higher plans, and concurrency is generous.
- Latency is your top constraint: Cartesia for expressive speed, or Rime if you want to self-host a very fast model next to your game servers.
- You're building a companion or roleplay app on a tight budget: Fish Audio. Pay-as-you-go API, inline emotion tags, open weights for later.
- You need offline or on-device speech, or you're already on Azure: Microsoft Azure Neural TTS.
- You want speech-to-text and TTS from one vendor in one voice loop: Deepgram.
Our top pick: ElevenLabs is the safest overall choice because it pairs top-tier voice quality with a mature voice design, cloning and streaming stack. For a game or companion app with thousands of simultaneous users, run the same test against Inworld AI. The per-character gap is large enough to change your unit economics.
What to do next: Pick two finalists and build the same three-line test: a calm line, an angry line and a whispered line, streamed from a real LLM response. Measure time to first audio from the regions your players are in, not from the vendor's demo page. Then load test with the concurrency your launch needs and price a month of your heaviest users.
Future-proofing: This market consolidates quickly. Three providers that developers relied on have shut down or are shutting down their voice products since mid-2025. Keep provider calls behind one interface, store the source audio and settings for every voice you create, and favor vendors with self-hosting or open-weight options for characters you can't afford to lose. If you also need audio beyond dialogue, see our picks for AI sound effect generators for indie game developers and our wider list of tools for solo indie game developers. Building phone or support agents instead of characters? Our guide to AI voice platforms for conversational agents covers that use case.
Frequently Asked Questions
What latency do I need for real-time TTS in a game or AI companion?
Aim for under about 300 ms from the end of the player's turn to the first audible syllable, counting speech-to-text, the LLM and TTS together. That leaves the TTS step roughly 100 to 200 ms including network time. Vendor numbers such as 25 ms or 40 ms are server-side best cases, so test from your players' regions.
Can I use AI-generated voices in a commercial game?
Usually yes on a paid plan, but check three things: that your plan includes a commercial license (many free tiers are non-commercial), that you have written consent for any voice you clone, and, if you clone a union performer, that you follow the SAG-AFTRA Interactive Media Agreement's consent and disclosure rules for digital replicas.
How much does real-time TTS cost for an AI companion app?
Estimate about 1,000 characters per minute of speech. A user who listens to 30 minutes of character speech a day uses about 900,000 characters a month. At $15 per million characters that is about $13.50 per user per month; at $40 per million it is about $36. Volume plans and enterprise rates can cut these figures substantially.
Is there a Unity or Unreal plugin for these TTS APIs?
Most current providers expose REST and WebSocket APIs rather than maintained engine plugins, so you call them from C# or C++ HTTP and WebSocket clients, or through community plugins. Microsoft Azure's Speech SDK supports C# and C++ and offers embedded, on-device speech for supported platforms.
How do I keep a character's voice consistent across long sessions?
Use a cloned or designed voice with a fixed voice ID instead of a prompt-generated voice per request, pin a model version where the provider allows it, and keep your style tags consistent. Store the reference audio and settings you used so you can recreate the voice if you change providers.
Should I use speech-to-speech instead of a text-to-speech pipeline?
Speech-to-speech APIs can cut latency and handle interruptions well, but a speech-to-text, LLM and TTS pipeline gives you control over the character's script, memory, moderation and voice. Most games use the pipeline so designers can inspect and filter every line before it is spoken.






