← Speech data prep and inference API

Batch transcription

Fast, single-speaker and general transcription across 45 languages at $0.02 / audio hour ($0.000333 / min). Designed for high-volume voice notes, podcasts, lectures, call recordings, and dataset preparation where multi-speaker diarization is not required.

Specifications and limits

One endpoint handles both short synchronous clips (≤28 seconds) and asynchronous batch recordings up to 4 hours, with OpenAI-compatible response formats and optional signed HTTPS webhooks.

EndpointPOST https://api.trelis.com/v1/audio/transcriptions with model=batch (alias trelis-asr-batch-v1). Supports direct multipart file upload or presigned upload_id from POST /v1/uploads.
Pricing$0.02 / audio hour ($0.000333 / min), billed per audio second ($0.001 minimum per call). See full API rate card →
Execution modesClips ≤28 seconds return synchronously (HTTP 200) unless async_mode=true, webhook_url, or multi-format batch output (response_format=all) is requested. Recordings longer than 28 seconds (up to 4 hours) run asynchronously (HTTP 202) and expose artifacts via GET /v1/jobs/{job_id}.
Audio input formatsMono or stereo WAV, FLAC, MP3, Opus, or OGG (up to 1 GiB / 4 hours).
OutputsCased, punctuated transcript JSON with full text and timestamped segments (start_s, end_s, text). Supports response_format=json, verbose_json, text (sync), srt, vtt, and all (JSON + SRT + VTT), plus on-the-fly transcript.srt and transcript.vtt artifact downloads on completed jobs.
Filler toggle (include_fillers)Set include_fillers=true (default) to preserve verbal fillers (um, uh) verbatim, or include_fillers=false for clean transcripts.
Languages45 languages with automatic language detection when language is omitted or set to auto (or pass an ISO code such as en, es, fr, de, pt, it, ar, ja, zh, hi).
When to choose another endpointNeed speaker labels, overlapping multi-speaker speech, or word-level timestamps? Use Multi-speaker transcription ($0.08/hr). Need live WebSocket transcription with semantic turn detection? Use Streaming ASR ($0.10/hr). Need Devanagari Hindi and Latin-script Hinglish? Use Tara ($0.05/hr).
Data retentionZero data retention on synchronous calls; async batch inputs are deleted immediately after processing and outputs expire automatically after 24 hours. Trelis never trains on customer audio or transcripts.

Benchmarks and pricing comparison

Caller-observed accuracy, turnaround, and pay-as-you-go list pricing measured in US East against published public evaluation corpora.

Measured: 2026-12-05Region: US EastDataset: Download JSON ↓

Pay-as-you-go pricing comparison

SystemList price ↓Languages ↑Max recordingFiller toggleOutputs
Trelis Batch Transcriptionmodel=batch (alias trelis-asr-batch-v1)$0.02 / hr$0.000333 / min45 + auto4 hours<=28 s syncinclude_fillersJSON, Text, SRT, VTT
AssemblyAI Universal-2Standard async transcription$0.15 / hr9910 hoursdisfluenciesJSON, SRT, VTT
ElevenLabs Scribe v2 / v3Standard pay-as-you-go$0.20 / hrup to $0.22 / hr9910 hoursDefaultJSON, SRT
Deepgram Nova-3Pay-as-you-go batch$0.26 / hr36+2 GBfiller_wordsJSON
OpenAI gpt-4o-mini-transcribe / WhisperStandard API pricing$0.18 / hr$0.36 / hr Whisper57+25 MBPromptedJSON, Text, SRT, VTT

Measured transcription accuracy

SystemEvaluation setWord Error Rate (WER) ↓Observed detail
Long-form clean English (15 min)LibriSpeech test-clean (2,478 words)Single 15-minute file1.94%4.3 s warm turnaround (48 edits / 2,478 words)
Short-clip auto language detection (30 clips)LibriSpeech test-clean (612 words)Synchronous <=28 s clips2.94%30/30 auto-detected English; identical WER with explicit en hint
5-minute compressed MP3 (64 kbps)LibriSpeech test-clean (815 words)Async batch MP32.33%1.9 s warm turnaround including transcode and JSON upload
Spontaneous earnings calls (English)Earnings22 test (n=20)Shared 45-language ASR model13.48%Comparable to commercial real-time baselines at 10x lower cost

Caller-observed warm turnaround

WorkloadObserved turnaroundDetails
Short clip (3.5 s WAV, sync)0.45 s p50Returns transcript JSON or plain text inline (HTTP 200)
5-minute MP3 (64 kbps, async batch)1.9 s warmIncludes download, transcode, chunking, and transcript.json upload
15-minute WAV (async batch)4.3 s warm39 timestamped segments plus full concatenated transcript
1.0 audio hour (4x 15-minute files)5.5 s aggregateHigh-throughput parallel batch execution

Quickstart examples

Use the same POST /v1/audio/transcriptions route with model=batch for short synchronous clips or multi-hour batch files.

cURL

# 1. Short clip (<= 28 s): returns transcript immediately (HTTP 200)
curl -X POST https://api.trelis.com/v1/audio/transcriptions \
  -H "Authorization: Bearer $TRELIS_API_KEY" \
  -F "file=@clip.wav" \
  -F "model=batch" \
  -F "language=auto" \
  -F "include_fillers=false"

# 2. Long recording (up to 4 hours): async batch with JSON + SRT + VTT + optional webhook
curl -X POST https://api.trelis.com/v1/audio/transcriptions \
  -H "Authorization: Bearer $TRELIS_API_KEY" \
  -F "file=@podcast.mp3" \
  -F "model=batch" \
  -F "response_format=all" \
  -F "include_fillers=true" \
  -F "webhook_url=https://your-app.example.com/webhooks/trelis"

# 3. Poll status and fetch transcript.json / transcript.srt / transcript.vtt
curl -H "Authorization: Bearer $TRELIS_API_KEY" \
  https://api.trelis.com/v1/jobs/$JOB_ID

Python

import os, time, requests

API_BASE = "https://api.trelis.com"
headers = {"Authorization": f"Bearer {os.environ['TRELIS_API_KEY']}"}

with open("recording.mp3", "rb") as audio:
    resp = requests.post(
        f"{API_BASE}/v1/audio/transcriptions",
        headers=headers,
        files={"file": audio},
        data={
            "model": "batch",           # alias: "trelis-asr-batch-v1"
            "language": "auto",         # or ISO hint across 45 languages
            "include_fillers": "true",  # set "false" to omit "um" / "uh"
            "response_format": "all",   # json, text, srt, vtt, or all
        },
        timeout=60,
    )
resp.raise_for_status()
data = resp.json()

if resp.status_code == 200:
    # Synchronous response for clips <= 28 seconds
    print(data["text"])
else:
    # Asynchronous batch job for longer files (up to 4 hours)
    job_id = data["job_id"]
    while True:
        job = requests.get(f"{API_BASE}/v1/jobs/{job_id}", headers=headers, timeout=30).json()
        if job["status"] in ("completed", "failed"):
            break
        time.sleep(2)
    transcript = requests.get(job["artifacts"][0]["download_url"], timeout=60).json()
    print(transcript["text"])
    print(transcript["segments"][:3])