Universal API

aai/universal
Universal offers a scalable, robust solution suitable for a wide range of speech recognition tasks.
Output
$0.0000975 / sec
Released
Dec 30, 2025

Overview

AssemblyAI's Universal series embodies cutting-edge speech-to-text (STT) technology designed to convert spoken language into highly accurate and readable text. The models are trained on over 12.5 million hours of multilingual audio data, excelling in complex real-world conversational scenarios by effectively handling multiple speakers, accents, and background noise with high fidelity.

‍

Technical Specifications

  • Architecture: Universal-1 uses a Conformer encoder combined with a recurrent neural network transducer (RNN-T) model for speed and accuracy.
  • Encoder Details: The encoder has convolutional layers for 4x subsampling, positional encoding, and 24 Conformer layers totaling roughly 600 million parameters. Each Conformer block applies chunk-wise attention on 8-second audio chunks for faster processing and robustness to audio length variations.
  • Decoder: Two-layer LSTM predictor with a joiner, using a WordPiece tokenizer trained on multilingual corpora.
  • Parallel Processing: The design leverages highly parallelized encoder computation, enabling large-scale, low-latency inference ideal for real-time applications.
  • Timestamping: Maintains precise time alignment for accurate word-level timestamp estimation.

Performance Benchmarks

  • Achieves state-of-the-art Word Error Rate (WER) on English, surpassing several commercial ASR providers and open-source models including OpenAI’s Whisper Large-v3 and NVIDIA’s Canary-1B.
  • Demonstrated improved noise robustness, telephony, and challenging acoustic environment performance.
  • Shows competitive WER in Spanish, French, and German datasets with strong cross-language robustness.
  • Human evaluations show 60% preference for Universal-1 transcriptions over previous generation Conformer-2, highlighting qualitative transcription improvements.


Training Data

Universal leverages a Conformer encoder combined with a recurrent neural network transducer (RNN-T) model to achieve fast and accurate speech recognition. Its encoder features convolutional layers for 4x subsampling, positional encoding, and 24 Conformer layers with approximately 600 million parameters. The model uses chunk-wise attention over 8-second audio segments to improve processing speed and handle varying audio lengths effectively. The decoder consists of a two-layer LSTM predictor and joiner, employing a WordPiece tokenizer trained on multilingual text corpora. This architecture supports highly parallelized computation and precise word-level timestamping, making it ideal for low-latency, large-scale inference.

API Pricing

  • $0.00585 per min

‍

Core Features & Capabilities

  • High-accuracy transcription with punctuation, capitalization, and advanced text formatting.
  • Speaker diarization to identify individual speakers.
  • Accurate recognition and transcription of proper nouns and alphanumeric content (e.g., phone numbers, emails).
  • Low-latency real-time transcription with scalable efficiency.
  • Flexible fine-tuning and customization options for enterprise use cases.
  • Rigorous bias mitigation, content safety, and hallucination reduction strategies.

‍

Code Sample

Comparison with Other Models

vs GPT-5: GPT-5 features an extremely large 400,000-token context window and advanced hierarchical reasoning capabilities. It excels at handling complex, multi-step tasks that go beyond speech transcription, making it more suitable for large-scale language understanding and generation, rather than real-time STT processing.

vs GPT-4.1: GPT-4.1 specializes in coding-related tasks and structured code manipulation, with a smaller context window compared to GPT-5. While it offers less extensive multimodal support, it is optimized for developer-focused scenarios rather than broad speech recognition or multimodal integration.

vs OpenAI o3: OpenAI o3 primarily serves legacy agent tasks and provides basic image understanding capabilities. It has higher latency compared to Universal AssemblyAI and delivers less accurate multimodal reasoning, making it less suited for modern real-time transcription and multimodal applications.

Uptime and performance

  • End-to-end latency (24h median): 5.7s

Measured on the AI/ML API gateway across live traffic. Figures are medians unless stated. Last updated 2026-10-12.

Use cases

  • Advanced software engineering support including code generation, debugging, and system design assistance.
  • Large-scale document analysis for legal, financial, healthcare, and regulatory compliance sectors.
  • Multimodal content generation and understanding blending textual and visual information seamlessly.
  • Creative writing, educational assistance, and complex research tasks with iterative instruction handling.

How to use Universal API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to aai/universal.
import requests, time

headers = {"Authorization": "Bearer " + AIMLAPI_KEY}
job = requests.post(
    "https://api.aimlapi.com/v1/stt/create",
    headers=headers,
    json={
      "model": "aai/universal",
      "url": "https://example.com/audio.mp3"
    },
).json()
gid = job["generation_id"]

while True:
    res = requests.get(f"https://api.aimlapi.com/v1/stt/{gid}", headers=headers).json()
    if res.get("status") in ("completed", "error", "failed"):
        break
    time.sleep(3)
print(res)
const headers = {
  Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
  "Content-Type": "application/json",
};
const job = await (await fetch("https://api.aimlapi.com/v1/stt/create", {
  method: "POST",
  headers,
  body: JSON.stringify({
    "model": "aai/universal",
    "url": "https://example.com/audio.mp3"
  }),
})).json();

let res;
do {
  await new Promise((r) => setTimeout(r, 3000));
  res = await (await fetch(`https://api.aimlapi.com/v1/stt/${job.generation_id}`, { headers })).json();
} while (!["completed", "error", "failed"].includes(res.status));
console.log(res);
# submit the job — the response contains "generation_id"
curl -X POST https://api.aimlapi.com/v1/stt/create \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"aai/universal","url":"https://example.com/audio.mp3"}'

# then poll for the result until it is ready
curl "https://api.aimlapi.com/v1/stt/{generation_id}" -H "Authorization: Bearer $AIMLAPI_KEY"

OpenAI-compatible — swap the base URL and it works with your existing SDK.

Universal API Pricing

TypePrice
Output
$0.0000975 / sec

Universal vs other models

ModelInputOutputContextBest for
Universal
This page
$0.0000975 / sec
Transcription
$130 / 1M characters
$130 / 1M
Speech synthesis
$130 / 1M characters
$0.13 / 1M tokens
Speech synthesis
$78 / 1M characters
$0.078 / 1M tokens
Speech synthesis
$13 / 1M characters
$0.013 / 1M tokens
Speech synthesis

Frequently asked questions

Universal takes audio as input and returns text.

Universal is priced at output $0.0000975 / sec.

Universal was built by Assembly AI.

Send a request to v1/stt/create with aai/universal as the model id.

Yes. Universal is served through AI/ML API, so the same key and endpoint format used for other models applies.

Start building with Universal

Get API Key
1000+ models, one API.