MAI Image 2.5 API: Pro, Standard or Flash?
Choose an Ofox MAI Image 2.5 model, compare image output token prices and use reported image output tokens to compare generation and edit costs.
Based on the documented model roles, start with MAI Image 2.5 Flash for batches or drafts, standard 2.5 for localized edits and Pro for finished compositions with tighter consistency requirements. Through Ofox, those variants use the same image endpoint family, with different model IDs and token rates. The model choice depends on the cost of each accepted image, including any rerenders.
| Use case | Ofox model ID | Output image tokens, USD / 1M |
|---|---|---|
| Preview several directions or produce a batch of low-risk drafts | microsoft/mai-image-2.5-flash | $19.50 |
| Edit a bounded object or text area while keeping the rest of the image consistent | microsoft/mai-image-2.5 | $47.00 |
| Compose a final frame with several objects or strict consistency requirements | microsoft/mai-image-2.5-pro | $106.00 |
Ofox catalog rates checked November 23, 2026. Microsoft describes standard and Flash and the Pro variant in its own announcements. The recommended starting points above are based on those documented roles and the Ofox MAI Image guide. They are not results of an Ofox side-by-side generation test.
Estimate image spend using token usage
The output-image column uses the dedicated output_image price from the Ofox catalog. Use it for the image output component. An image’s pixel dimensions alone do not establish its charged token count. For an estimate, multiply actual output image tokens by the model’s rate per million. Include text and reference image input and all attempts when reconciling the complete charge.
For example, if one output uses 1,000 billed image tokens, the illustration is $0.01950 for Flash, $0.04700 for standard and $0.10600 for Pro before input. These are synthetic calculations. A standard edit that finishes in one acceptable request can be cheaper on its output component than three Flash runs at the same output-token count ($0.047 versus $0.05850). Decide based on the intended result and check the reported usage for your route.
For a batch, keep two counters: usable images and all returned images. Divide the total batch charge by usable images. Count rerenders even when you discard their output. For an edit, preserve your original source so you can compare how much of the frame changed.
Generate one image and verify the file
Use a server-side Ofox key and the image generation reference. This documentation-based Python template asks Flash for a neutral, synthetic product scene. Set OFOX_API_KEY before running it with the OpenAI Python SDK installed.
import base64
import os
from pathlib import Path
from openai import OpenAI
client = OpenAI(
api_key=os.environ["OFOX_API_KEY"],
base_url="https://api.ofox.io/v1",
timeout=600,
)
result = client.images.generate(
model="microsoft/mai-image-2.5-flash",
prompt="One unbranded ceramic cup on a pale grey shelf, soft light from the left.",
size="1024x1024",
)
if not result.data or not result.data[0].b64_json:
raise RuntimeError("Check the image response format before writing to disk.")
Path("mai-cup.png").write_bytes(base64.b64decode(result.data[0].b64_json))
Open the saved file and check that it decodes, has the requested dimensions and contains one cup with the requested background. If using a route that returns a URL instead of base64, save the result through that format before applying the same acceptance checks. Check usage and the request log if you are calibrating cost. For a local edit, send multipart form data to /v1/images/edits with model=microsoft/mai-image-2.5, image=@mai-cup.png and a prompt such as “Change the cup to navy blue and preserve its shape, shadows and shelf.” See the MAI Image edit instructions. Compare the edited result to the original before accepting it.
Decide when another model fits
For a catalog preview, Flash is a low-output-rate starting point. For a single local change, try standard first and compare the untouched region against the input. For a finished multi-object scene, run Pro on the same brief and judge the result on layout and consistency before switching the batch default.
If your output is an editable SVG or a GIF, choose a route that explicitly supports it, such as the workflows in the GPT Image 2.6 guide to GIF and SVG billing. For another raster editing workflow, compare Seedream 5.5 on the actual image task. If a request fails after adding a reference image, first check the MAI edit format and the MAI Image documentation’s Common errors section, then verify the key and exact model ID before resubmitting.


