Coding, Decisions, and Image Editing: Which AI Models Should Your Business Use?
When it comes to selecting an AI model, it’s not just about having the highest score on a leaderboard. Different tasks such as developing software, assessing permissions for actions, or modifying a product image all come with their own specific criteria for success.
The code should be functional and should pass scrutiny. Decisions need to be made quickly without disrupting genuine operations. Images should maintain both the product’s details and the brand’s identity โ they must not just appear realistic. A sensible enterprise solution delegates each task to a model that fits its requirements instead of relying on one pricey, all-purpose model.
In this article, we’ll take a closer look at MAI-Code-2, MAI-Code-2-Flash, Microsoft-Decision-1.1, and MAI-Image-2.7. Weโll tie these models to real business applications, mainstream alternatives, and deployment choices using three public evaluation pages.
Below is a handy Markdown comparison table. The associated SVG is derived from the same table, excluding Mermaid, and features the English text mentioned here.
It’s important to note two key distinctions. Flash operates as a distinct model, rather than just a speed adjustment for Code-2. The coding and image sections focus on MAI models, while the decision section discusses Microsoft-Decision-1.1. Throughout this article, we will compare the four models by their purposes rather than collectively calling them MAI models. Historical screenshots will reflect the original labels from the sites. 1, 2, 3
Imagine a retailer setting up an internal workspace for product content and operations. The four models might handle various tasks as follows. Bear in mind that this is a proposed structure, not an already implemented integration on the three evaluation pages.
| Workflow | Suggested Role | Business Rationale |
|---|---|---|
| Develop approval workflows, enhance the backend, create operational dashboards | MAI-Code-2 | Needs a solid grasp of the repository, multi-file adjustments, business logic, and testing |
| Clarify existing code, modify a field, resolve a specific issue | MAI-Code-2-Flash | Routine, well-defined tasks benefit from a lower-cost coding approach |
| Direct a request or determine if a tool action requires approval | Microsoft-Decision-1.1 with deterministic policies | Separates factual decisions from the authority to act |
| Alter product backgrounds or devise packaging and campaign variations | MAI-Image-2.7 with human oversight | It’s crucial to maintain the original product over simply creating a similar one |
The operational flow can be summarised as request โ decision and routing โ model specialisation โ tests or human review โ authorised execution and publication. Any sensitive tool calls must undergo another policy check right before execution; merely checking the initial request isn’t enough.
A decision model doesn’t replace access control. Elements like authentication, permissions, spending limits, and approval status are still governed by software. The model provides semantic evaluations that can’t be expressed solely through fixed fields and straightforward rules.
MAI-Code-2 is designed for the intricate engineering tasks that enterprises encounter daily: extensive debugging, multi-file implementations, repository-wide logic, and frontend development. In contrast, Flash focuses on explanations, minor edits, routine fixes, and quick iterations. Microsoft has clarified that these models aren’t yet fine-tuned for basic scientific research or long-term autonomous tasks.1
Provide context about the repository, reproduction steps, allowable scope, required tests, and behaviour that must remain unchanged. Review the resulting differences and test evidence โ not just the coherence of the explanation.
| Published Comparison | Reported Result | Interpretation |
|---|---|---|
| Code-2 vs GPT-6.1 Sol | 98% of average coding performance at around 40% of the cost | This is an average specific to workload, not a guaranteed saving of 60% on every project |
| Code-2 vs Claude Opus 5.5 | 96% of average performance at about 5% of the cost | This doesnโt prove that total ownership costs drop by 95% |
| Flash vs GPT-6 Luna / Claude Haiku 5.5 | Similar performance at roughly 65% / 20% of the cost | Relevant for frequent coding tasks but doesn’t imply universal quality |
Microsoft published these comparisons on November 17, 2026. These models were tested under maximum reasoning effort. Code-2’s four benchmarks were DeepSWE 1.1, TerminalBench 2.1, SWE Atlas, and FrontierCode 1.1; Flash utilised the first three. MAI costs are based on 50% promotional pricing. These details are just as significant as the main figures.1
Access the coding benchmark. This benchmark saved the Terminal-Bench 2.0 experiment which planned to complete 59 of the official 89 tasks across 14 categories. The initial environment was set up on Windows + ARM64 and Linux ARM64 Docker, used low reasoning effort, and allowed one attempt per task. Some tasks required environmental adjustments or repairs. This is not an official full leaderboard entry.
| Model | Passed / Validly Graded | Provisional Pass Rate | Execution Errors | Mean Agent Time | Known Usage-Value Subtotal |
|---|---|---|---|---|---|
| MAI-Code-2 | 45 / 58 | 77.59% | 1 | 235.1 s | $1.363 |
| MAI-Code-2-Flash | 39 / 55 | 70.91% | 4 | 173.6 s | $0.147 |
| GPT-6.2-Sol | 44 / 55 | 80.00% | 4 | 113.9 s | $5.125 |
| Gemini-4-Hydrogen | 44 / 55 | 80.00% | 4 | 152.5 s | $4.125 |
Source: saved run 0ff12f517c1349afb3a7c9f79b35f59d, executed November 21โ22, 2026. Each model had 59 assigned tasks. Pass rates are calculated by dividing passes by validly graded tasks. Dollar figures represent partial known usage-value subtotals, not full costs or other invoices.
The results show some trade-offs. Code-2 managed to pass more of its validly graded tasks, but Flash demonstrated a significantly lower known usage value. Ultimately, Code-2 also had the longest mean agent time in this run: the evidence doesn’t conclude that โMAI is always faster.โ
The 80% and 77.59% figures do not determine a clear winner. Differences in graded coverage, errors, adjusted environments, and incomplete costs all play a role. Mean agent time accounts for agent executions in grading tasks and does not include verification; it isnโt simply about how quickly one model responds. To make a well-informed decision on procurement, the same task set, controlled environments, and comprehensive cost records should be employed.
Microsoft-Decision-1.1 is tailored for tasks such as classification, routing, prioritisation, verification, and workflow control. Its main outcome is a structured decision delivered with confidence rather than a lengthy response. Version 1.1 also supports image inputs, including photos and screenshots, although this particular experiment primarily focused on text-based tool actions, not the multimodal capabilities.2
For instance, โclean up filesโ could involve either clearing regenerable cache files or deleting original customer records. The model evaluates the factual premises concerning the intended action. The application code aligns these evaluations with permissions and approval statuses, resulting in an ALLOW, ASK, or BLOCK decision.
Establish independent rules and clear boundaries, call the Decision API, and apply thresholds in your code. If context is missing, uncertainty arises, or the API encounters a failure, this should trigger an escalation or cautious handlingโnever an automatic approval.
Microsoft has reported a score of 68 on the Artificial Analysis Decision Index v2.1, surpassing Jev 1.14, Gemini Decision 1, and GPT-6 Luna (Decisions). The index combines quality, calibration, and latency; 68 does not equate to 68% accuracy. 2
Access the decision experiment. In ten governance scenarios, each showcases one unsafe and one safe synthetic action, totalling 20 actions. Each request assesses ten rules. Three models and two prompting conditions generate 120 requests and 1,200 rule evaluations, operating at a fixed 0.5 threshold. Proposed tool actions are classified but not executed.
| Model: Definitions + Boundary Examples | Rule Recall | Rule False-Positive Rate | Unnecessary Interruption Rate | P50 / P95 | Estimated Cost Per 1,000 Requests |
|---|---|---|---|---|---|
| Microsoft-Decision-1.1 | 100.0% | 0.0% | 0.0% | 446 / 843 ms | $0.05254 |
| Decision-1.0 (Site Label) | 100.0% | 0.0% | 0.0% | 538 / 619 ms | $0.04812 |
| GPT-6 Luna Decisions | 91.7% | 0.0% | 0.0% | 2,878 / 6,251 ms | Unknown: one API error |
The current Foundry input prices are $0.042 per million tokens for the Global Standard, $0.046 for the US Data Zone, and $0.05 for the EU/APAC Data Zone. Output tokens are free.2
For 1,000 input tokens per request, the cost for the Global Standard model is roughly $0.042 per 1,000 requests. Longer rules and added context will increase input costs; the experiment’s $0.05254 is not a fixed price per request. Other expenses, like gateways, storage, and monitoring, also apply.
Microsoft focuses on detailed edits: adjusting an object’s colour, material, or position while keeping everything else in the image intact. Image-2.7 facilitates consecutive edits and transparent backgrounds. This is vital for product photography, brand adjustments, and portrait tasks that rely on maintaining identity and detail.3
As of November 16, 2026, Microsoftโs release notes noted first place on AA-Image-Editing v2.1 with a score of 1,215 Elo from 5,478 votes, four Elo ahead of GPT Image 2.6 Sunburst (maximum). The announcement stated that Image-2.7 costs about $35 per 1,000 images, making it almost one-fifth of the competitor’s price.3
This indicates a useful market insight but does not imply dominant superiority. A four-Elo lead shouldn’t be considered statistically significant without proper confidence intervals. Additionally, an editing position doesn’t guarantee being the best performer for every task or assured commercial viability.
Access the image-editing benchmark. This benchmark features ten commercial editing briefs, synthetic reference images generated by GPT-Image-2, and fixed English brief guidelines. Seven models have 70 saved results that include portraits, product backgrounds, packaging labels, web banners, application screens, and logo modifications.
The packaging brief clearly illustrates acceptance: adjust only the blue accent band to green. The product name, package shape, typography, barcode, shadows, and background must all remain unchanged. An appealing overall result does not prove that all the specified details are accurate; small text and barcodes need thorough inspection, possibly involving OCR or scanning.
| Review Dimension | Commercial Acceptance Question |
|---|---|
| BRF: Baseline Requirement Fulfillment | Did all requested edits occur without modifying protected text or features? |
| VEQ: Visual Execution Quality | Are elements like artifacts, lighting, materials, composition, and text clarity satisfactory? |
| CNS: Commercial Necessity Satisfaction | Were unedited areas, identity, and product characteristics kept intact with natural edit boundaries? |
The outputs that were published do not include completed human BRF, VEQ, CNS scores, or acceptance assessments. This article will not fabricate average quality scores or elevate the gallery into rankings. The experiment relies on ServImage; it is not a comprehensive representation of that paper’s unique benchmark.4
The following averages are calculated from 70 saved outputs dated November 18, 2026: ten per model. Cost estimates are based on the site’s references. Timing is measured from end to end at the API boundary of the application.
| Site Model Label | Mean Time Per Image | Mean Estimated Cost Per Image |
|---|---|---|
| MAI-Image-2.7 | 35.18 s | $0.0350 |
| MAI-Image-2.7-Flash | 27.76 s | $0.0100 |
| FLUX.2-pro | 17.42 s | $0.0465 |
| FLUX.2-flex | 23.49 s | $0.1049 |
| gpt-image-2 | 41.91 s | $0.0397 |
| gpt-image-2.5-sunburst | 34.02 s | $0.0314 |
| gpt-image-2.5-flare | 30.83 s | $0.0334 |
Itโs important to start with defined tasks rather than immediately allowing an agent to control production.
| Pilot | Approach | Measures |
|---|---|---|
| Engineering | Contrast Code-2, Flash, and your existing model on the same actual issues and features | Evaluate results, reviewer approval, rework, completion times, and total costs |
| Decisions and Controls | Utilise a set of safe, hazardous, and imprecisely defined actions; standardise transfer and warm-up | Misses, false alarms, escalations, API failures, P50/P95 |
| Commercial Images | Adjust references, instructions, and output requirements; conduct blind evaluations | BRF/VEQ/CNS, acceptance rate, rework, cost per accepted output |
The most effective approach is to distribute tasks: use Code-2 for complex engineering, Flash for routine bounded changes, Decision for structured decision-making and routing, and Image for controlled visual production.
Official benchmarks are great for identifying potential candidates. Independent tests reveal trade-offs. In the end, your own acceptance criteria will guide whether to deploy. The best solution is one that consistently provides acceptable results at a reasonable cost and risk โ not just the model that boasts the best results on the surface.
- Microsoft: MAI Code 2 and Code 2 Flash โ capabilities, access, evaluation settings, and promotional pricing.
- Microsoft: Microsoft-Decision-1.1 general availability โ official naming, Decision Index, image inputs, access, and regional prices.
- Microsoft: MAI Image 2.7 โ editing, public preview, Elo results, and reference prices.
- ServImage paper and decision-governance paper โ methodologies referenced by the sites, not sources of this experiment’s scores.
- GitHub Copilot models and pricing โ usage, caching, and AI-credit tracking.
- Coding benchmark ยท Decision experiment ยท Image-editing benchmark.
Share this content:
Discover more from Qureshi
Subscribe to get the latest posts sent to your email.