US & EU
AssemblyAI’s LLM Gateway is a unified interface that allows you to connect with multiple LLM providers including Claude, GPT, Gemini, and more. You can use the LLM Gateway to build sophisticated AI applications through a single API.
The LLM Gateway is available in both US and EU regions. Use the EU endpoint to ensure your data stays within the European Union. Currently, Anthropic Claude and most Google Gemini models are supported in the EU (except where otherwise noted). OpenAI models are only available in the US region. See Cloud Endpoints and Data Residency for more details.
The LLM Gateway provides access to 25+ models across major AI providers with support for:
Gemini 3.1 Flash Lite Preview is currently available in the US region only.
Claude Opus 4.5 and Claude Opus 4.6 currently support context windows under 200k tokens via the LLM Gateway.
For information on data retention and model training policies for each provider, see Data Retention and Model Training.
Head to our Playground to test out LLM Gateway without having to write any code!
You can specify which model to use in your request by setting the model parameter. Here are examples showing how to use Claude 4.5 Sonnet:
Simply change the model parameter to use any of the available models listed in the Available models section above.
Want to compare models side-by-side? Try the Model Comparison Tool, a Lovable application, to test different LLM models and see how they perform.
Every LLM Gateway response includes a request_id field — a unique identifier for that request. Persist it (along with the model, the API region, and a timestamp) for every call you make, not just when something goes wrong. If you contact support@assemblyai.com about a specific request (latency spikes, unexpected output, rate-limit errors, content moderation surprises), this ID lets us locate the exact request in our logs immediately.
We recommend logging, at minimum:
request_id from the response bodymodel parameter usedllm-gateway.assemblyai.com, EU: llm-gateway.eu.assemblyai.com)For details on debugging specific status codes (400/401/403/429/5xx) and what information to include when filing a support request, see the Troubleshooting page.
The LLM Gateway API is separate from the Speech-to-Text and Speech Understanding APIs. It provides a unified interface to work with large language models across multiple providers.