MAI Image API
4 MAI Image models on one OpenAI-compatible API and one prepaid balance, billed per use at the official price.
MAI Image models and prices 4
| Model | Price | Discount |
|---|---|---|
| MAI-Image-2.6microsoft/mai-image-2.6 | $5.00 / $38.00 per 1M tokens | — |
| MAI-Image-2.6 Flashmicrosoft/mai-image-2.6-flash | $1.75 / $19.00 per 1M tokens | — |
| MAI-Image-2.5 Promicrosoft/mai-image-2.5-pro | $5.00 / $108.00 per 1M tokens | — |
| MAI-Image-2.5microsoft/mai-image-2.5 | $5.00 / $47.00 per 1M tokens | — |
Prices as of November 5, 2026. Official price: the model maker's list price. Tier 1–3: OceanToken's standing discounts by cumulative top-up, not limited-time offers.
Same prompt, 8 models
One prompt, sent to each model through the OceanToken API on November 1, 2026. Every image is that model’s own output, only resized.
Prompt: “A white lighthouse on a rocky coastline at golden hour, waves breaking on the rocks, a few seagulls in the sky, cinematic wide shot, photorealistic”
Call the MAI Image API
Any OpenAI-compatible SDK works: set the base URL to https://api.oceantoken.ai/v1, use your OceanToken key and the model id as written.
from openai import OpenAI
# Your API Key from the OceanToken console
client = OpenAI(base_url="https://api.oceantoken.ai/v1",
api_key="YOUR_API_KEY")
result = client.images.generate(
model="microsoft/mai-image-2.6",
prompt="A lighthouse on a cliff at dawn")
print(result.data[0].url or "image returned as base64")Why use MAI Image on OceanToken
- One API key and one prepaid balance for nearly 500 models from 73 publishers.
- OpenAI-compatible: change the base URL and the key, and keep your code.
- Prepaid, with no subscription and no platform fee. Each API key can have its own spending limit.
MAI Image compared
Nano Banana 2 Lite vs MAI-Image-2.6 · Seedream 5.0 Pro vs MAI-Image-2.6 · GPT Image 2 vs MAI-Image-2.6 · FLUX 3 Image vs MAI-Image-2.6 · Qwen Image 3 vs MAI-Image-2.6 · Recraft V4.1 Flash vs MAI-Image-2.6 · All comparisons
Frequently asked questions
How much does the MAI Image API cost?
On OceanToken MAI-Image-2.6 costs $5.00 / $38.00 per 1M tokens. The lowest-priced MAI Image model is MAI-Image-2.6 Flash, at $1.75 / $19.00 per 1M tokens. Every model is billed per use from a prepaid balance, with no subscription.
Are these the official MAI Image models?
Yes. You call each model by its own name and get that model. Every model page shows the official price next to ours before you call it.
How do I call the MAI Image API?
Create an API key in the OceanToken console, set the base URL to https://api.oceantoken.ai/v1 and use the model id, for example microsoft/mai-image-2.6. The OpenAI SDKs and any OpenAI-compatible client work.
Do I need a subscription to use MAI Image?
No. You add credits by card, and each request is billed at the model’s price. Purchased credits are valid for 12 months.
Other model APIs
Nano Banana API · Seedream API · GPT Image API · FLUX API · Qwen Image API · Grok Imagine API · Recraft API · Kimi API · MiniMax API · Claude API · GPT API · Gemini API · Grok API · Mistral API · Llama API · Gemma API · Nemotron API · Hunyuan API · Seed API · Sonar API · Command API · Nova API · Veo API · Kling API · Wan API · Hailuo API · Whisper API · Voyage API







