20% off all GPT ๐ŸŽ‰ 30% off DeepSeekLearn more

Microsoft: MAI Image 2.5 Flash

Image Generation
microsoft/mai-image-2.5-flash

MAI Image 2.5 Flash is the low-latency variant of Microsoft's MAI image family, released in June 2026, tuned for fast, high-volume image generation and editing with median generation times several times faster than comparable models while staying diverse and coherent across creative and design scenarios. It supports both text-to-image generation and image-to-image editing, output capped at 1024ร—1024 (no upscaling or higher-resolution tiers). Accessible via the OpenAI-compatible /v1/images/generations and /v1/images/edits endpoints through Ofox.

Context Window
4K
Max Output Tokens
1K
Released
2026-06-02
Capabilities
Vision
Available Providers
Azure
Supported Protocols
openai

Providers

Azure
Input Tokens
$5/M
Output Tokens
$26/M
Image Input
$1.75/M
Output Image
$19.5/M
Protocols
openai/v1/images/edits/v1/images/generations

Code Examples

from openai import OpenAI
client = OpenAI(
base_url="https://api.ofox.io/v1",
api_key="YOUR_OFOX_API_KEY",
)
response = client.images.generate(
model="microsoft/mai-image-2.5-flash",
prompt="A beautiful sunset over mountains",
size="1024x1024",
)
print(response.data[0].url)

Frequently Asked Questions

Microsoft: MAI Image 2.5 Flash on Ofox.ai costs $5/M per million input tokens and $26/M per million output tokens. Pay-as-you-go, no monthly fees.