Account

The dashboard

Connect, the playground, usage, billing, API keys, provider keys, custom voices, members and roles, retention and your account.

View as Markdown

Sign in at app.ttscacherouter.dev. Everything in it belongs to your org: its API keys, provider keys, cache and usage. You get an org of your own when you sign up, and can be a member of others. Switch orgs from the name at the top; the dashboard remembers your choice.

Connect#

The dashboard's home: your API key, your provider's key, and the code to connect your agent.

  • Your API key is at the top, ready to copy. Sign-up creates one, named Default. Readers see its name and first characters; a writer or admin can copy it.
  • Pick your provider, then add your key for it right there; the provider’s tab shows whether it’s saved. Maya Open-Source, which we host, needs no key.
  • Connect a LiveKit agent with our plugin or with the provider’s own LiveKit plugin (Maya has none), or a Pipecat bot with our Pipecat service: the install command, the environment variable (with your key filled in) and the code, with the changed lines marked. The LiveKit ones are the snippets on each provider’s page: Maya Open-Source, Vaakini, Sarvam, Raya, ElevenLabs, OpenAI, Deepgram, xAI, Soniox, Smallest AI, Cartesia, Gemini and 60db.

Playground#

Any provider's voices, heard through the router from your browser, with the code for the same request.

  • Pick a provider, its model, a language where it takes one, a voice (your provider account’s own included) and its settings, type or edit the text (up to 2,000 characters), and run the request. The audio plays as it arrives, in PCM, MP3 or AAC where the provider makes it, with its time to first audio.
  • Each run is a real /v1/audio/speech request to thespeech host with your org’s API key, and fills your cache. A third-party provider synthesizes it with your own key for it and bills you for that (until your key for it is stored, Run is replaced by a link to add it); what Maya Open-Source synthesizes, and what your cache serves, uses your credit. The cost is shown before you run. Run the same request again to hear it from the cache, with both times to first audio side by side.
  • The Code tab shows the same request every way the router takes it: our LiveKit plugin and the provider’s own pointed at the router, our Pipecat service, /v1/audio/speech (the OpenAI SDK, JavaScript and cURL) and the /v1/stream WebSocket.
  • It uses your org’s newest API key that can be revealed, held only in the page; if there is none, it offers to create one named Playground. Running needs a writer or admin; readers see the page.

Usage#

What the cache saved (characters served from it, against those your provider synthesized and billed), how fast replies began and how often providers failed.

  • The hit rate (the share of characters served from cache), and the characters kept off your provider’s bill, over the last 24 hours or the last 7, 30 or 90 days.
  • A column per hour or per day, cached under synthesized, and the same split per provider.
  • Time to first audio: the mean time from a reply’s first sentence reaching the router to its first audio leaving it, for replies that began from the cache and for those that began at the provider, with the provider’s mean per hour or day and the same split per provider.
  • Provider errors: the sentences a provider failed per hour or day and per provider, by the error code your agent received (provider_unavailable, provider_timeout, provider_rate_limited, provider_rejected).
  • Pick a provider beside the range to see its figures and charts alone; the table per provider always shows every provider. Hovering an hour or day of provider errors names each provider that failed.
  • Hours are shown in your time zone and days are UTC days. Counts arrive within about a minute. A sentence counts once the provider has finished it, including one that finished after your agent was interrupted; a failed one doesn’t count.
  • On the drop-in endpoints that cache whole requests (REST and HTTP stream), each request counts as one sentence.
  • For Maya Open-Source, the provider is us: its synthesized characters are billed from your credit.

Billing#

Your org's credit: what it has, buying more, and where it went.

  • The balance, about how many characters served from the cache it covers, and the prices: per 1,000 characters served from the cache, and per 1,000 characters Maya Open-Source synthesizes.
  • Writers and admins buy credit packs here: in India in rupees through Razorpay, with a GST invoice for each, and elsewhere through Dodo Payments. The credit appears within seconds. Readers see the balance and history.
  • The history lists the free credit, every purchase and refund, and usage summed per UTC day.
  • Below $1 every dashboard page warns you; at zero, new connections are refused until you buy more.

Prices, refunds and what happens at zero are in Pricing and billing.

API keys#

The keys your agents authenticate with.

  • Create a key and name it after where it’s used, then copy it into your agent’s secrets.
  • The list shows each key’s name, its first characters and when it was created. Writers and admins can reveal any key and copy it again later, except one created before keys could be revealed: it was shown once, at creation, and is marked “shown once”.
  • Deleting a key stops it within a few seconds, including on connections already open. Your cache stays.

More in Authentication.

Provider keys#

Your own key for each provider, used only to call that provider for your org's requests.

  • Set, replace or delete one key per provider. A change is used within a few seconds.
  • Maya Open-Source runs on our own GPU and takes no key; its row says so.
  • Keys are stored encrypted and never shown again, only their last four characters.
  • Saving doesn’t check a key with the provider: a wrong one surfaces as the provider’s refusal on your first request. Without a key, that provider’s requests fail with provider_key_missing.

The same actions are in the REST API, with an API key.

Voices#

Your org's custom voices on Maya Open-Source, each made from one recording you hold the rights to.

  • Off until we enable them for your org: write to [email protected].
  • Writers and admins create a voice from a recording, its transcript and its language, then rename it, replace its recording (keeping its id) or delete it; readers see the list. A voice is ready as soon as it’s created: try it in the playground.
  • Each voice’s id is what your code passes as voice. How to record one, the modes and the limits are on Custom voices.

Members and roles#

Who can use your org's dashboard, under Settings.

  • Reader sees every page and changes nothing. Writer also creates, copies and deletes API keys, sets provider keys, changes settings and buys credit. Admin also invites and removes members and sets their roles. You are the admin of the org you get at sign-up.
  • Admins invite by email with a role. Someone who already has an account joins right away; anyone else joins the first time they sign in with that email, and gets an org of their own too. No email is sent, so tell them.
  • Anyone can leave an org from their own row. An org always keeps an admin and a member: its only admin has to make someone else an admin before leaving or stepping down, and its last member can’t leave. Orgs are never deleted.
  • API keys belong to the org, not to whoever created them: removing a member leaves their keys working.

Cache retention#

How long cached audio is kept, under Settings.

Pick 1, 3, 7, 14 or 30 days (the default), any whole number of days up to 30, or off. What each choice does to audio already cached is in How long it is kept.

Settings also has your org’s name and its ID, which never changes.

Your account#

Who you're signed in as, under Settings.

To delete your account, write to [email protected] from the address you sign in with: we erase your account, and every org where you are the only member, with its keys and cached audio. Orgs you share keep running without you. Delete your API keys first to stop all traffic at once.