Microsoft API pricing & API key
Every Microsoft model on one page: 8 models. Get one Microsoft API key from YepAPI and pay per request — no subscription, no Microsoft account or waitlist.
Takes 30 seconds.
Microsoft API pricing (8 models)
YepAPI prices per 1M tokens (text) or per output (media), cheapest first. Updated October 23, 2026.
Image Generation
| Model | Price |
|---|---|
| MAI-Image-2.6 Flash | from $0.05/image |
| MAI-Image-2.6 | from $0.09/image |
| MAI Image 2.5 | from $0.11/image |
| MAI Image 2.5 Pro | from $0.24/image |
Text to Speech
| Model | Price |
|---|---|
| MAI-Voice-2.1 Flash | $0.0316/1K chars |
| MAI-Voice-2 Flash | $0.0317/1K chars |
| MAI-Voice-2.1 | $0.0464/1K chars |
| MAI-Voice-2 | $0.0465/1K chars |
All Microsoft models
Image Generation
MAI Image 2.5 Pro
Image GenerationMicrosoft MAI Image 2.5 Pro from $0.24 per image — flagship-quality generation on the unified media endpoint.
MAI Image 2.5
Image GenerationMicrosoft MAI Image 2.5 from $0.11 per image — general-purpose generation through one API key.
MAI-Image-2.6 Flash
Image GenerationMicrosoft MAI-Image-2.6 Flash from $0.05 per image — lower-latency generation and editing for production.
MAI-Image-2.6
Image GenerationMicrosoft MAI-Image-2.6 from $0.09 per image — design-ready generation and editing through one API key.
Text to Speech
MAI-Voice-2
Text to SpeechMAI-Voice-2 text to speech — expressive speech in 15 languages, billed on input length.
MAI-Voice-2 Flash
Text to SpeechMAI-Voice-2 Flash text to speech — low-latency speech for voice agents, billed on input length.
MAI-Voice-2.1 Flash
Text to SpeechMAI-Voice-2.1 Flash text to speech — low-latency expressive speech in 23 languages, billed on input length.
MAI-Voice-2.1
Text to SpeechMAI-Voice-2.1 text to speech — studio-grade speech in 23 languages, billed on input length.
Microsoft API through YepAPI
YepAPI provides access to Microsoft models through a unified API endpoint. Instead of managing a separate Microsoft API key and billing account, use your single YepAPI key to call any Microsoft model alongside 277 other AI models from OpenAI, Anthropic, Google, Meta, and more.
All Microsoft models use the same OpenAI-compatible request format. Switch between models by changing the model parameter — no SDK changes, no code rewrites. Pay per token with no monthly minimums.
How to get a Microsoft API key
- Sign up at yepapi.com with Google or email — about 30 seconds.
- Open the dashboard and create an API key (it starts with yep_sk_).
- Call any Microsoft model with that key — the /v1/media/queue endpoint.
- Top up any amount; usage is billed per request.
Microsoft API FAQ
- How much does the Microsoft API cost?
- Each Microsoft model is billed per request — see the pricing table above. There is no monthly fee.
- How do I get a Microsoft API key?
- Sign up at yepapi.com (about 30 seconds), open the dashboard and create an API key. The one key works for all 8 Microsoft models and 277 models from other providers — no separate Microsoft account.