> ## Documentation Index
> Fetch the complete documentation index at: https://assemblyai.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Sync STT with Docker

> Run the Sync STT API with Universal-3.6 Pro on your own GPU servers, in any cloud or on premises.

The self-hosted Sync stack runs the [Sync STT API](https://assemblyai.com/docs/sync-stt/getting-started/transcribe-a-short-audio-file.md) with Universal-3.6 Pro on your own GPU servers. You post a complete audio file and get the whole transcript back in the same HTTP response. Audio and transcripts never leave your network. The only outbound traffic is license validation and, for usage-based contracts, usage metadata sent to AssemblyAI.

> [!NOTE]
>
> Self-hosting requires a commercial agreement with AssemblyAI. [Contact our sales team](https://www.assemblyai.com/contact/sales) to discuss your needs.

Everything you need to deploy and operate the stack lives in the public [`streaming-self-hosting-stack`](https://github.com/AssemblyAI/streaming-self-hosting-stack) repository, and that repository is the source of truth. This page explains what the stack is and how it differs from the hosted API. It doesn't repeat hardware requirements, setup steps, or configuration details, because those change with each release.

## How it works

The stack is two Docker Compose services: a GPU container that serves the Sync API, and a license proxy that validates your license and reports usage. There's no separate load balancer or backend. To serve more requests, run more GPU containers behind your own load balancer.

Clients send the same `multipart/form-data` request as the hosted [`POST /v1/transcribe`](https://assemblyai.com/docs/api-reference/sync-api/transcribe), with an `audio` part and an optional `config` part, pointed at your own host.

## Differences from the hosted API

| | Hosted Sync STT | Self-hosted Sync STT |
| - | - | - |
| Endpoints | `/v1/transcribe`, `/v1/transcribe/live` and `/v1/warm` on `sync.assemblyai.com` | `/v1/transcribe` and `/v1/warm` on your own host |
| Authentication | AssemblyAI API key | Not checked by the service. Every request still needs a non-empty `Authorization` header. Put your own gateway or reverse proxy in front for authentication and rate limiting. |
| Longest audio | [20 minutes](https://assemblyai.com/docs/sync-stt/audio-requirements.md) | 1 hour by default. You can raise or lower it. |
| Capacity | [Rate limits](https://assemblyai.com/docs/sync-stt/rate-limits.md) on your account | Set by your GPUs. The repository README lists requests per minute for each supported GPU. |

The `config` part accepts `language_code`, `prompt`, `keyterms_prompt`, `conversation_context` and `timestamps`, which work as they do on the hosted API. See [Prompting and keyterms](https://assemblyai.com/docs/sync-stt/prompting-and-keyterms.md), [Conversation context](https://assemblyai.com/docs/sync-stt/conversation-context.md), [Language selection](https://assemblyai.com/docs/sync-stt/language-selection.md) and [Word timestamps](https://assemblyai.com/docs/sync-stt/word-timestamps.md). Unknown fields return `400`, so a misspelled option fails instead of being ignored. Audio formats and sample rates are the same as the hosted API's; see [Audio requirements](https://assemblyai.com/docs/sync-stt/audio-requirements.md).

## What the repository contains

* **Supported GPUs and performance.** The top-level README lists the GPUs the stack supports, with start time and recommended requests per minute for each.
* **Prerequisites.** License file, Docker, NVIDIA Container Toolkit, and credentials for pulling images.
* **Sync stack.** The compose file, environment reference, audio limits, scaling guidance and an example client live in the repository's [`sync/docker` directory](https://github.com/AssemblyAI/streaming-self-hosting-stack/tree/main/sync/docker).
* **Speaker labels.** The [speaker diarization stack](https://assemblyai.com/docs/self-hosted/docker/diarization.md) adds a speaker to each word of a Sync transcript, and an example stack runs both together.
* **Serverless option.** The stack can also run on serverless GPUs. See [Sync STT on Modal](https://assemblyai.com/docs/self-hosted/modal/sync.md).
* **Changelog.** Model improvements, new API features, and breaking changes are recorded in the README changelog, and tagged versions appear on the [Releases page](https://github.com/AssemblyAI/streaming-self-hosting-stack/releases).

## Getting started

1. Ask your AssemblyAI representative for a license file and image-pull credentials.
2. Complete the prerequisites in the [repository README](https://github.com/AssemblyAI/streaming-self-hosting-stack#readme).
3. Follow the [Sync stack's README](https://github.com/AssemblyAI/streaming-self-hosting-stack/tree/main/sync/docker) to configure, start, and test the stack.

## Staying up to date

New releases can change the model served, the GPU requirements, and start times. Review the changelog before upgrading and watch the [Releases page](https://github.com/AssemblyAI/streaming-self-hosting-stack/releases) for breaking changes.

## Support

For deployment questions, image access, license issues, or to report bugs, contact your AssemblyAI representative.
