moses STT

Realtime speech to text for AI agents

Your agent hears while people talk.

Moses STT is low-latency streaming transcription for voice agents that need to answer without a pause. Stream microphone or call audio over a WebSocket: your agent reads along while someone speaks and has the final sentence about 0.3 s after they stop.

  • ~310 ms to the final text after the speaker stops, with a 100 ms end-of-speech pause included (median, without network).

  • Partial text while the person is still talking, so your model can start thinking early.

  • Knows when to listen. Speech start and end events let your agent stop talking when it’s interrupted.

Public beta. Sign up with your email, no waitlist. Realtime WebSocket API and OpenAI-compatible file transcription.

Voice agent listening
Caller says
Agent reads

Hi, I’d like to move my appointment to Friday.

partial text while the caller is still speaking final sentence about 0.3 s after the pause

Try it now, no account needed

Press Record, say a sentence and see the transcript. The demo uses the file transcription API with the same model as the API.

Up to 10 seconds per try and 10 tries a day. Your recording is transcribed in memory and not stored, and neither is the text. For live streaming and longer files, create a free account.

Recording
0.0 / 10 s

Every pause adds up

A voice agent waits for three things before it can answer: the end of the sentence, the transcript, and its model. Moses STT shortens the first two. It decides quickly that someone has finished, and it has transcribed most of the sentence before they stop.

Illustration. With Moses the gap is the pause that ends the sentence (100 to 3000 ms, your choice) plus about 0.2 s to recognise the final text: about 310 ms in all with a 100 ms pause.

Two APIs, one transcript

Use the realtime API for live conversations and the file API for recordings. Same languages, same accuracy, same key.

Realtime transcription API

wss://moses-ai.com/stt/realtime

A WebSocket for live audio. Send raw PCM (16-bit, mono, 8 to 48 kHz) as it’s recorded and get partial text, final sentences with times, and speech started / ended events. Choose how long a pause ends a sentence, or end it yourself with flush.

# pip install websockets
async with websockets.connect(
    "wss://moses-ai.com/stt/realtime?language=de",
    additional_headers={"Authorization": "Bearer mk_…"}) as ws:
    asyncio.create_task(send_microphone(ws))  # 20–100 ms PCM chunks
    async for msg in ws:
        ev = json.loads(msg)
        if ev["type"] == "final":
            await agent.answer(ev["text"])

File transcription API

POST https://moses-ai.com/stt/v1/audio/transcriptions

OpenAI-compatible: use the OpenAI SDKs with another base URL. WAV, MP3, FLAC, OGG, M4A or WebM up to 25 MB, back as text, JSON with segments and word times, or SRT / WebVTT subtitles. A 16-second file takes about 1.5 s, upload included.

from openai import OpenAI
client = OpenAI(api_key="mk_…",
                base_url="https://moses-ai.com/stt/v1")
r = client.audio.transcriptions.create(
    model="parakeet", file=open("call.mp3", "rb"),
    language="de", response_format="srt")

Full API reference: every message, event, field, limit and error code, open to read without an account. JavaScript and TypeScript: npm install @mosesai/stt. Try it in your browser and copy the code for realtime and batch use. Also: OpenAI compatibility, Pipecat, LiveKit, MCP server.

Built for conversations

Accuracy matters, and so does the moment the text arrives. Every part is set up for a voice agent’s turn-taking.

Quick end of a sentence

Voice activity detection notices the pause that ends a sentence: 300 ms by default, from 100 ms for snappy agents to 3 s for people who think aloud.

Partials that keep up

The sentence so far comes about every 0.3 s. When the servers are busy, partials thin out first, so finals keep their speed.

Barge-in events

speech_started arrives as soon as someone talks, so your agent can stop its own voice and listen.

Corrects its language

Short sentences can be misheard as English. Set your language and those sentences are decoded again and corrected about a second later, with a revision event.

One key for voice in and out

Pair it with the Moses TTS API: one key, one credit balance, both directions of a voice agent.

Open connection

Audio goes straight to a speech worker over connections that stay open. No upload, no polling, no waiting for a job.

For agents that listen to people

25 European languages

Bulgarian, Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, German, Greek, Hungarian, Italian, Latvian, Lithuanian, Maltese, Polish, Portuguese, Romanian, Russian, Slovak, Slovenian, Spanish, Swedish and Ukrainian. Detected automatically, or set per stream, with punctuation, capitals and optional word timestamps.

Nothing is stored. Audio is processed in memory on our servers in Germany and dropped. Transcripts go to you, not to a database. We record only how many seconds you sent, for billing.

Keys you control. Create API keys in the console, for STT, TTS or both, and limit them to your websites if you like. They’re shown once and kept only as a hash.

Fair for everyone. Per-account limits and a fair queue for files: requests from different accounts take turns.

Questions

What is the latency?

With a 100 ms end-of-speech pause, the final transcript arrives about 310 ms after the speaker stops (median; p90 350 ms; measured on the server, without your network). The pause is part of that time: it is how long the API waits to be sure the sentence is over. It is 300 ms by default (about 540 ms to the final) and adjustable from 100 to 3000 ms per stream. Partial text arrives while someone speaks. Long sentences take a little longer.

Which audio can I send?

Live: raw PCM, signed 16-bit little-endian, mono, at 8, 16, 24, 32 or 48 kHz, in pieces of 20 to 100 ms. Files: WAV, MP3, FLAC, OGG/Opus, M4A or WebM up to 25 MB.

Does it work with OpenAI clients?

The file endpoint takes the same request as OpenAI’s transcription API (file, language, response_format, timestamp_granularities[]). Set the base URL to https://moses-ai.com/stt/v1; the model field is accepted and ignored.

Should I set the language?

If you know it, yes. Detection works, but a short sentence can be heard as English. With the language set, such sentences are decoded again and sent as a revision that replaces the final.

Is my audio stored?

No. Audio and transcripts aren’t stored anywhere, and there are no access logs. Only the seconds of audio per day are counted, for billing.

Get access

Create an account, confirm your email, and your API key is ready, with 125,000 TTS characters or 333 STT minutes free to try it (valid for 30 days). Pay as you go with prepaid credit; prices are on the pricing page.

  1. Create an account. Email and password; we send a link to confirm the address.
  2. Get your key. Create API keys in the console, with a free trial to start.
  3. Open the studio at moses-ai.com/stt. Talk into your microphone, transcribe a file, create API keys.