# Universal-2

AssemblyAI's broad-coverage pre-recorded speech-to-text model for 99 languages, including those STT-3.7 does not cover. Returns the transcript, its duration, and word-level timestamps.

- **Model ID:** `assemblyai/universal-2`
- **Type:** transcription
- **Providers:** assemblyai
- **Context window:** Not applicable
- **Maximum output tokens:** 0
- **Pricing:** $0.00004167/1M input tokens
- **Canonical page:** https://vercel.com/ai-gateway/models/assemblyai/universal-2

## Supported parameters

Detailed capability metadata has not been reported for this model.

## Example

```ts
import { experimental_transcribe as transcribe } from 'ai';
import { gateway } from '@ai-sdk/gateway';
import { readFile } from 'node:fs/promises';

const result = await transcribe({
  model: gateway.transcriptionModel('assemblyai/universal-2'),
  audio: await readFile('audio.mp3'),
});
```

## Links

- [Model page](https://vercel.com/ai-gateway/models/assemblyai/universal-2)
- [AI Gateway documentation](https://vercel.com/docs/ai-gateway)
- [Provider model documentation](https://www.assemblyai.com/docs)
- [Provider pricing](https://www.assemblyai.com/pricing)


If you encounter incorrect information, can’t find what you need, need a capability Vercel doesn’t currently offer, or have any other feedback to report, please do it by following the instructions at https://vercel.com/feedback.md.
