Skip to content
Dashboard
Vercel Live

Nov 12: Intro to AI Gateway

MAI-Image-2.7-Flash

A faster, lower-cost variant of MAI-Image-2.7 with the same generation and editing capabilities, including output up to 2048x2048 and transparent backgrounds. Your use is subject to Microsoft AI's Terms & Privacy Policies.

Input and output price
Input $1.75, Output $10, Per 1M tokens
import { experimental_generateImage as generateImage } from 'ai';
const result = await generateImage({
model: 'microsoft/mai-image-2.7-flash',
prompt: 'A red balloon on a wooden table.'
});
Read docs

Copy link to headingPlayground

Try out MAI-Image-2.7-Flash by Microsoft AI. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.

microsoft logo
Prompt
Describe what you want the model to generate.
Reference images(optional)
Add up to 4 images
Images to generate
microsoft logo

Your generated image will appear here

Copy link to headingProviders

Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.

Checking availability for your team
Provider
Input
Output
Cache
Search
Capabilities
ZDR
No Training
Regional Inference
Free AI Gateway Credit
Release Date
$1.75/M+1 more
$10/M
—
—11/17/2026

Copy link to headingMore models by Microsoft AI

Model
Context
Latency
Throughput
Input
Output
Cache
Search
Capabilities
Providers
ZDR
No Training
Free AI Gateway Credit
Release Date
—
$5/M+1 more
$34/M
—
azure logo
11/17/2026
—
$0.04/M
—
azure logo
11/17/2026
—
$5/M+1 more
$38/M
—
azure logo
10/13/2026
—
$1.75/M+1 more
$19/M
—
azure logo
10/13/2026
33K
$0.04/M
—
azure logo
10/09/2026
—
$0.10/hr
—
azure logo
09/03/2026