Using MAI-Transcribe-2-Streaming on Vercel AI Gateway

Implementation guide · MAI · Microsoft AI

Serverless

Vercel AI Gateway exposes MAI-Transcribe-2-Streaming through model ID microsoft/mai-transcribe-2-streaming. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.

Last refreshed 2026-10-06. Next refresh: weekly.

Quick Start

  1. 1
    Create an account at Vercel AI Gateway and generate an API key.
  2. 2
    Use the Vercel AI Gateway SDK or REST API to call microsoft/mai-transcribe-2-streaming — see the documentation for request format.

Code Examples

Install
pip install openai
API key
AI_GATEWAY_API_KEY
Model ID
microsoft/mai-transcribe-2-streaming

creator/model-name e.g. kwaipilot/kat-coder-pro-v2

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
    base_url="https://ai-gateway.vercel.sh/v1"
)
response = client.chat.completions.create(
    model="microsoft/mai-transcribe-2-streaming",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Pricing on Vercel AI Gateway

Capabilities

MultimodalAudio

About MAI-Transcribe-2-Streaming

MAI-Transcribe-2-Streaming is Microsoft AI's first streaming speech-to-text model, launched 1 October 2026. Audio streams over a WebSocket and transcripts return incrementally while the speaker talks, with partial results that are then finalised. It is offered at an introductory $0.54 per hour of audio through the end of 2026.

Model Specs

Released2026-10-01
ArchitectureAudio / Speech

Provider

Vercel AI Gateway

Vercel