questions/Pricing

How much does Inworld TTS 2 cost?

Inworld TTS 2 (inworld/tts-2) is priced at $0.035 per 1K characters through AIgateway. AIgateway charges pass-through on the underlying Inworld rate plus a 5% platform fee applied at credit top-up — nothing per-call, no monthly minimum. Free tier available.

How it works

Pass-through on the underlying provider

AIgateway bills at the same per-token rate Inworld publishes. There's no inflated sticker price; the model-vendor's invoice and your gateway invoice agree on the token count and unit cost. Usage is aggregated to the nearest fraction of a cent in D1 and surfaced live in your dashboard.

5% platform fee at top-up

The only margin on top is a 5% platform fee, applied at credit top-up — not per-call. A $100 top-up funds $95 of provider calls. Cached requests (when you use prompt caching or semantic cache) get a 50% discount on the uncached cost, so long-context agent workloads often run net cheaper than calling Inworld directly.

Free tier + pay-as-you-go

No subscription and no monthly minimum. Free tier gives you 100 requests/day on Kimi K2.6. Paid tier starts at a $5 top-up with no auto-renew. BYOK (bring your own Inworld key) is supported on Enterprise if you already have a direct contract you want to preserve.

Code example

Python
# pip install aigateway-py openai
from openai import OpenAI

client = OpenAI(
    base_url="https://api.aigateway.sh/v1",
    api_key="sk-aig-...",
)

audio = client.audio.speech.create(
    model="inworld/tts-2",
    voice="alloy",
    input="Hello from AIgateway.",
)
audio.stream_to_file("out.mp3")
Node / TypeScript
import OpenAI from "openai";
import fs from "node:fs";

const client = new OpenAI({
  baseURL: "https://api.aigateway.sh/v1",
  apiKey: process.env.AIGATEWAY_KEY,
});

const audio = await client.audio.speech.create({
  model: "inworld/tts-2",
  voice: "alloy",
  input: "Hello from AIgateway.",
});
const buf = Buffer.from(await audio.arrayBuffer());
fs.writeFileSync("out.mp3", buf);

Related

FAQ

How much does Inworld TTS 2 cost per token?

Inworld TTS 2 is priced at $0.035 per 1K characters. Full breakdown is on this page's how-it-works section.

Is there a free tier for Inworld TTS 2?

Inworld TTS 2 is not on the free tier; the 100 free requests/day go to Kimi K2.6. Paid tier starts at a $5 top-up.

Does Inworld TTS 2 support prompt caching?

Not natively. AIgateway's semantic cache can still hit duplicate prompts and gives a 50% discount on cached requests.

Are there volume discounts on Inworld TTS 2?

Pass-through pricing means you automatically get whatever tier discount Inworld publishes. AIgateway doesn't mark up; the 5% platform fee applies flat regardless of volume. Enterprise customers can negotiate committed-use discounts on top.

How is Inworld TTS 2 usage metered?

Every call returns usage.prompt_tokens and usage.completion_tokens in the response body, same as OpenAI. We also write the exact cost into x-aigateway-cost response header. Full audit log is in the dashboard.

TRY IT NOW

One key, every model. Free tier, no card.

Get an AIgateway keyOpen the playground