Microsoft AI models now available on AI Gateway
Vercel's AI Gateway now supports Microsoft AI models including MAI-Voice-2.1, MAI-Voice-2.1-Flash for speech generation, and MAI-Transcribe-2 Streaming for live transcription. These models are billed at listed rates with no platform markup, offering users control over data and transparency with Microsoft's zero data retention policy.
Vercel and Microsoft AI (MAI) have partnered to make MAI models available on AI Gateway. AI Gateway is one of a limited number of platforms offering access to MAI models.
MAI's focus on security and zero data retention (ZDR) align with Vercel's goal of giving AI Gateway users control over their data and transparency in how it is used for training.
are now supported on AI Gateway. MAI-Voice-2.1 and MAI-Voice-2.1-Flash generate speech, while MAI-Transcribe-2 Streaming returns transcript updates as audio arrives.MAI's latest audio models
AI Gateway bills these models at their listed rates, with no platform fee or markup on inference.
Use in AI SDK 7 with MAI-Voice-2.1-Flash to create a spoken response. The voice name selects Microsoft's Harper voice with the Flash model:generateSpeech
For longer audio such as narration, use .microsoft/mai-voice-2.1
takes a stream of audio chunks and returns transcript updates as the audio arrives. This example assumes is a of 16 kHz, 16-bit PCM audio:streamTranscribemicrophoneStreamReadableStream
Partial transcripts can change as more audio arrives, so replace the displayed text when a new partial arrives.
Explore for speech generation and for live transcription. See the for the full family, or follow the to get started.MAI-Voice-2.1-FlashMAI-Transcribe-2 StreamingMAI model pagespeech quickstart
AI Gateway provides one API for calling models, tracking usage and cost, and viewing request traces. It also supports routing, retries, and failover across available providers.
MAI models on AI Gateway
Get started
Additional resources
() generates expressive speech in 23 languages and keeps a consistent speaker across longer passages. Use it for narration, audiobooks, podcasts, and lessons where delivery matters from start to finish.MAI-Voice-2.1
microsoft/mai-voice-2.1() brings the same multilingual speech generation to lower-latency interactions. It is suited to voice agents, assistants, and spoken replies that need to arrive quickly.MAI-Voice-2.1-Flash
microsoft/mai-voice-2.1-flash() returns partial transcripts while audio is still arriving. Applications can show live captions or follow a conversation as it happens, without waiting for the full recording.MAI-Transcribe-2 Streaming
microsoft/mai-transcribe-2-streaming
Transcribe live audio
Source: original entry ↗
More from Vercel
Follow Vercel to get its new changes in your feed and email digest.
OpenAI Decisions API now available on AI Gateway
OpenAI's Decisions API is now accessible through Vercel's AI Gateway with an OpenAI-compatible endpoint, enabling decision models to answer typed questions and return probabilities, choices, and scores for routing, triage, and guardrails use cases. Support is available across the OpenAI SDK, AI SDK, HTTP API, and CLI with the latest versions.
Timestamp attributes now supported in Vercel Flags
Vercel Flags now supports timestamp attributes for entities, allowing you to create time-based targeting rules. Use this feature to run limited-time campaigns, show content between specific dates, or target users based on registration date.
Glyph Cluster now available in stealth on AI Gateway
Glyph Cluster, a reasoning model for coding and long-context analysis, is now available as a stealth model on Vercel's AI Gateway for Pro and Enterprise plan teams with purchased AI Gateway credits at no cost during the stealth period. The model supports function calling, streams responses, and can be accessed via AI SDK, OpenAI-compatible APIs, and coding agents.