Gemini 4 Neon is now available on OfoxView Gemini 4 Neon on Ofox

Microsoft: MAI Image 2.6 Flash

Image Generation
microsoft/mai-image-2.6-flash

MAI-Image-2.6-Flash is the low-latency, lower-cost variant of MAI-Image-2.6 on Azure AI Foundry for fast, high-volume image generation and editing.

Context Window
4K
Max Output Tokens
1K
Capabilities
Vision
Available Providers
Azure
Supported Protocols
openai

Providers

Azureprovider.type: "azure_foundry"
Input Tokens
$1.75/M
Output Tokens
$19/M
Image Input
$2.5/M
Output Image
$19/M
Protocols
openai/v1/images/edits/v1/images/generations

Documentation

How to call MAI Image 2.6 Flash on OfoxAI: model IDs, request parameters and the errors you are most likely to hit.

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.6-flash",
prompt="A beautiful sunset over mountains",
size="1024x1024",
)
print(response.data[0].url)

Frequently Asked Questions

Microsoft: MAI Image 2.6 Flash on Ofox.ai costs $1.75 per million input tokens and $19 per million output tokens. Pay-as-you-go, no monthly fees.