{"slug": "microsoft-s-mai-image-2-7-tops-editing-charts-at-one-sixth-the-cost", "title": "Microsoft's MAI-Image-2.7 Tops Editing Charts at One-Sixth the Cost", "summary": "Microsoft released MAI-Image-2.7 and MAI-Image-2.7-Flash in public preview on Microsoft Foundry, with the full model ranking first on Artificial Analysis's AA-Image-Editing v2.1 leaderboard at a normalized $34.82 per 1,000 images — roughly one-sixth the price of the four models ranked immediately below it. The Flash tier costs an estimated $10.24 per 1,000 images, down 47% from MAI-Image-2.6-Flash at $19.46, and both models are available through OpenRouter, Microsoft Foundry, MAI Labs, fal, Genspark and Vercel. MAI-Image-2.7 leads four of the benchmark's seven editing actions — Enhancement and Restoration, Reasoning-Based Edits, Scene and Style, and Text or Symbol Editing — but shows its largest deficit in Object-Level Edit and ranks fourth on text-to-image.", "body_md": "# Microsoft's MAI-Image-2.7 Tops Editing Charts at One-Sixth the Cost\n\nMicrosoft's new MAI-Image-2.7 and 2.7-Flash take #1 on image editing at roughly one-sixth the cost of rival frontier models.\n\n- Microsoft AI launched [MAI-Image-2.7](https://artificialanalysis.ai/image/leaderboard/editing?utm_source=alphasignal) and MAI-Image-2.7-Flash in public preview on Foundry.\n- MAI-Image-2.7 takes #1 on AA-Image-Editing v2.1, beating GPT Image 2.6 Sunburst (max).\n- Priced at $34.82 per 1k images, roughly one-sixth the cost of rival frontier editors.\n- Flash tier drops to $10.24 per 1k images, down from $19.46 for MAI-Image-2.6-Flash.\n- Available via [OpenRouter](https://openrouter.ai/microsoft/mai-image-2.7?utm_source=alphasignal) , Microsoft Foundry, MAI Labs, fal, Genspark and Vercel.\n- Wins on text edits, scene and style, restoration; weaker on object-level edits and lighting.\n\nMicrosoft has released MAI-Image-2.7 and its faster Flash variant in public preview, moving its in-house image stack from a playground demo to callable services. On Artificial Analysis’s [editing leaderboard](https://artificialanalysis.ai/image/leaderboard/editing?utm_source=alphasignal), the full model ranks first on AA-Image-Editing v2.1. Its normalized price is roughly one-sixth of the prices shown for the four models immediately below it.\n\nMicrosoft’s prior October preview offered [no API or pricing](https://windowsreport.com/microsofts-new-mai-image-2-7-model-climbs-to-the-top-of-ai-image-editing-charts/?utm_source=alphasignal), which prevented developers from integrating it into products. The public preview adds metered access through Microsoft Foundry and several third-party platforms.\n\n## The cost curve drops\n\nArtificial Analysis reports full-model rates of $5 per million text input tokens, $8 per million image input tokens, and $34 per million image output tokens. Its normalization converts those rates to an estimated $34.82 per 1,000 images. MAI-Image-2.7-Flash costs an estimated $10.24 per 1,000 images, down 47% from MAI-Image-2.6-Flash at $19.46.\n\n| Artificial Analysis leaderboard snapshot |  |  |  | \n|---|---|---|---|\n| Model | Editing rank | Text-to-image rank | Normalized cost per 1,000 images | \n|---|---|---|---|\n| MAI-Image-2.7 | 1 | 4 | $34.82 | \n| MAI-Image-2.7-Flash | 7 | 11 | $10.24 | \n\nAt 100,000 images, those normalized rates translate to $1,024 for Flash, $3,482 for the full model, and $1,946 for the previous Flash release. Actual invoices will vary with input-image tokens, output dimensions, image count, and provider fees.\n\n## Scene-wide edits lead\n\nAcross the benchmark’s seven editing actions, MAI-Image-2.7 ranks first in four: Enhancement and Restoration, Reasoning-Based Edits, Scene and Style, and Text or Symbol Editing. It also leads the Architecture and Real Estate, Consumer, Frontier, and Marketing and Advertising use-case categories.\n\n- **Scene and Style:** restyling or relighting a scene while preserving the subject’s identity and composition.\n- **Text or Symbol Editing:** replacing lettering while matching the original material, perspective, and lighting.\n- **Enhancement and Restoration:** repairing degraded assets, increasing clarity, and recovering visual detail.\n- **Reasoning-Based Edits:** changing objects or environments while maintaining plausible geometry, shadows, and relationships.\n\nFlash ranks seventh overall for editing, with third-place results in Scene and Style, Frontier, and Animation and Gaming. It ranks fourth in Enhancement and Restoration. That profile makes it a candidate for high-volume drafts, batch variations, and first-pass edits, with the full model available for requests that miss quality thresholds.\n\n## Object edits expose the gap\n\nThe category breakdown shows MAI-Image-2.7’s largest editing deficit in Object-Level Edit. Lighting is its weakest text-to-image category, and its overall text-to-image rank is fourth. The benchmark’s higher-ranked GPT Image and Seedream entries remain stronger candidates for workloads centered on generating new images from prompts. Flash ranks eleventh for text-to-image, reinforcing its focus on cost-efficient editing.\n\nLeaderboard positions summarize aggregate benchmark performance and can shift as models or evaluations change. The cited data covers quality rankings and normalized prices; production latency, rate limits, failure rates, safety behavior, and provider-specific image processing require separate measurement.\n\n## The demo becomes an API\n\nFirst-party access is available through Microsoft Foundry and MAI Labs, whose Canvas experience runs on 2.7-Flash. OpenRouter, fal, Genspark, and Vercel also offer listings or integrations. The [OpenRouter listing](https://openrouter.ai/microsoft/mai-image-2.7?utm_source=alphasignal) provides one route for testing the model through an OpenAI-compatible endpoint.\n\nEach editing request can include text and as many as five reference images. Multiple references allow a single request to carry a target asset alongside style, lighting, composition, or brand references. Prompts should identify each image’s role explicitly because ordering alone may leave the intended relationship ambiguous.\n\nOpenRouter’s chat endpoint can send the target and style reference as data URLs and request an image response:\n\n``` python\nimport base64\nimport mimetypes\nimport os\nfrom pathlib import Path\n\nimport requests\n\ndef data_url(path):\n    mime = mimetypes.guess_type(path)[0] or \"application/octet-stream\"\n    encoded = base64.b64encode(Path(path).read_bytes()).decode()\n    return f\"data:{mime};base64,{encoded}\"\n\npayload = {\n    \"model\": \"microsoft/mai-image-2.7\",\n    \"modalities\": [\"image\", \"text\"],\n    \"messages\": [\n        {\n            \"role\": \"user\",\n            \"content\": [\n                {\n                    \"type\": \"text\",\n                    \"text\": (\n                        \"Use the first image as the target. Use the second \"\n                        \"only as a lighting and style reference. Place the \"\n                        \"product in a sunlit Scandinavian kitchen.\"\n                    ),\n                },\n                {\n                    \"type\": \"image_url\",\n                    \"image_url\": {\"url\": data_url(\"product.png\")},\n                },\n                {\n                    \"type\": \"image_url\",\n                    \"image_url\": {\"url\": data_url(\"style_ref.png\")},\n                },\n            ],\n        }\n    ],\n}\n\nresponse = requests.post(\n    \"https://openrouter.ai/api/v1/chat/completions\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['OPENROUTER_API_KEY']}\",\n        \"Content-Type\": \"application/json\",\n    },\n    json=payload,\n    timeout=120,\n)\nresponse.raise_for_status()\n\nmessage = response.json()[\"choices\"][0][\"message\"]\nimages = message.get(\"images\", [])\n\nif not images:\n    raise RuntimeError(\"The response contained no image.\")\n\nimage_url = images[0][\"image_url\"][\"url\"]\n\nif image_url.startswith(\"data:\"):\n    encoded = image_url.split(\",\", 1)[1]\n    Path(\"edited.png\").write_bytes(base64.b64decode(encoded))\nelse:\n    print(image_url)\n```\n\nPreview status makes endpoint behavior, response formats, quotas, regional availability, model revisions, service-level commitments, and data-handling terms provider-specific. Applications should follow the selected provider’s current documentation and avoid depending on unversioned response fields without validation.\n\n## Build the production eval\n\nA production evaluation should route the same representative assets through Flash, full 2.7, and an existing baseline while recording both quality and operating data:\n\n- Instruction fidelity and preservation of untouched regions\n- Identity, product geometry, logos, and embedded text\n- Consistency across repeated requests and reference-image combinations\n- Latency, timeout rate, retry rate, and provider limits\n- Actual billed cost at required resolutions and output counts\n- Moderation behavior, retention terms, licensing, and regional processing\n\nA two-stage routing pattern can send bulk variants to Flash and retry failed acceptance checks on the full model. At the normalized rate of about one cent per Flash image, that design supports workloads such as personalized advertising, catalog variations, architectural staging, and large-scale asset restoration while retaining a higher-quality path for difficult edits.", "url": "https://wpnews.pro/news/microsoft-s-mai-image-2-7-tops-editing-charts-at-one-sixth-the-cost", "canonical_source": "https://alphasignal.ai/news/microsoft-s-mai-image-2-7-tops-editing-charts-at-one-sixth-the-cost", "published_at": "2026-11-17 18:11:34+00:00", "updated_at": "2026-11-17 21:40:08.106854+00:00", "lang": "en", "topics": ["artificial-intelligence", "generative-ai", "ai-products", "ai-tools"], "entities": ["Microsoft", "MAI-Image-2.7", "MAI-Image-2.7-Flash", "Artificial Analysis", "Microsoft Foundry", "OpenRouter", "GPT Image 2.6 Sunburst", "Seedream"], "also_reported_by": [], "takeaway": "MAI-Image-2.7 tops AA-Image-Editing v2.1 at a normalized $34.82 per 1,000 images, while the Flash tier at $10.24 per 1,000 images ranks seventh and suits high-volume drafts, with the full model reserved for requests that miss quality thresholds.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/microsoft-s-mai-image-2-7-tops-editing-charts-at-one-sixth-the-cost", "markdown": "https://wpnews.pro/news/microsoft-s-mai-image-2-7-tops-editing-charts-at-one-sixth-the-cost.md", "text": "https://wpnews.pro/news/microsoft-s-mai-image-2-7-tops-editing-charts-at-one-sixth-the-cost.txt", "jsonld": "https://wpnews.pro/news/microsoft-s-mai-image-2-7-tops-editing-charts-at-one-sixth-the-cost.jsonld"}}