Voice agent infrastructure

Ship voice agents on a stack you actually own.

Your speech-to-text, any LLM you plug in, and your own text-to-speech voice — wired into one agent runtime with per-second, per-character and per-token metering, plus a single API call.

3
stages metered
<400ms
turn overhead
1 call
per conversation turn

The runtime

One turn, three metered stages.

Every turn is recorded against the agent and the key that made it, so cost per conversation is never a guess.

01

Speech to text

Audio is captured in the browser or sent to the API, transcribed by your recognizer with language and model settings per agent.

billed per audio second

02

Your LLM plugin

Each agent carries its own persona prompt. Point it at the built-in model or plug in your own OpenAI-compatible endpoint with your own key.

billed per 1k tokens

03

Your voice

Replies are synthesized with the voice you picked for the agent, returned as playable audio and a URL your app can stream.

billed per character

What ships in the box

Infrastructure, not a demo.

Agent builder

Persona, greeting, recognizer language, LLM provider, temperature and voice — all per agent.

Talk in the studio

Hold to speak, watch the transcript fill in, hear the reply. Test a persona before it ships.

Keyed REST API

One bearer token, one endpoint. Send text or audio, get the reply and the audio URL back.

Usage ledger

Seconds, characters and tokens booked per request, with a running credit total.

Scoped keys

Create a key per environment, see when it was last used, revoke it in a click.

Conversation logs

Every session stores its full transcript and its cost, from the console or the API.

API connectivity

One endpoint. Text in, voice out.

Send a message to an agent and get the reply plus synthesized audio in a single call. Every response carries the usage it booked, so your billing and your ledger never disagree.

  • Bearer key per environment, hashed at rest
  • Session continuity with a returned session id
  • Usage object on every response
POST /api/v1/chat
curl -X POST https://your-app.base44.app/api/v1/chat \
  -H "Authorization: Bearer aur_live_9f2c..." \
  -H "Content-Type: application/json" \
  -d '{
    "agent_id": "agn_7d41",
    "message": "Book me a table for two on Friday."
  }'

# → {
#   "session_id": "ses_2a90",
#   "reply": "Friday at 7pm works — shall I confirm?",
#   "audio_url": "https://.../reply.mp3",
#   "usage": { "stt_seconds": 0, "tts_characters": 46,
#              "llm_tokens": 212, "credits": 1.4 }
# }

Metering

Priced per second, per character, per token.

Rates are set in one place and applied to every studio session and API call.

StageBilled perCredits
Speech to textaudio second0.25 / sec
Text to speech1k characters20 / 1k chars
LLM tokens1k tokens6 / 1k tokens

Start with 5,000 credits on the house.

Roughly an hour of conversation across all three stages.