Microsoft Cut AI Costs With a Model Mix. Copy the Method.

Developer working on a laptop with code on screen, setting up AI model routing to reduce API costs

Your AI bill probably grows faster than your revenue, because every task goes to the same expensive model whether it needs it or not. Microsoft is reportedly now routing some Office prompts to its own cheaper models instead. You don't need Microsoft's lab to apply the same idea: you need a routing layer, a small test set, and a few weeks of discipline.

Below: what was reported, what is unverified, and a concrete way to build a model mix for a small team.

What Microsoft Reportedly Did (and What We Can't Confirm)

Microsoft has reportedly begun using its in-house MAI models to answer a share of user prompts in Office apps, while still relying on OpenAI and Anthropic models too. TechCrunch reported this on July 7, 2026, citing Bloomberg. Treat it as reported, not confirmed: the reporting rests on Bloomberg and a source familiar with the matter, without an official Microsoft confirmation that I could find.

Some details differ by outlet, so I won't state them as settled:

  • Which apps: TechCrunch says Excel and Word. Other outlets relaying Bloomberg say Excel and Outlook. "Office apps such as Excel" is as far as the evidence goes.
  • Scale: Bloomberg's figure, as relayed by Technology.org, is tens of thousands of prompts per week, which is a small share of Microsoft's overall AI usage. This is not a mass migration. It's a pilot-sized shift.
  • Intent: Microsoft AI chief Mustafa Suleyman said in June 2026 that the goal is to reduce and ultimately eliminate Microsoft's Anthropic costs, per the same Technology.org report.
  • Wider trend: TechCrunch names Amazon, Uber, Meta and Accenture as other large companies that have reportedly moved to curb AI spending, and says some are reportedly looking at Chinese models as cheaper options despite security concerns.

The useful takeaway is the pattern, not the headline. A company with effectively unlimited access to frontier models is still sending some traffic to cheaper ones. If that makes sense at Microsoft's scale, it makes more sense when you're paying per token out of a small-business budget.

The Architecture Idea Worth Stealing: Harness Separate From Model

On Microsoft's July 29, 2026 earnings call, Nadella said the platform design keeps the harness separate from the model, so any model can be swapped at any time, according to TechCrunch.

This is the part that matters for a solopreneur. Model routing only works if your workflow doesn't care which model answers. That means:

  1. Prompts live in files, not in code paths tied to one vendor. One prompt template per task, versioned.
  2. One thin client wrapper. Every model call goes through a single function that takes a task name and returns text or structured output.
  3. Outputs are validated against a schema, so a different model returning slightly different prose doesn't break the downstream step.
  4. Logging per call: task, model, input tokens, output tokens, latency, pass/fail.

If your automations call one vendor's SDK directly from twenty places, you can't route anything. Fix that first. It's an afternoon of refactoring and it pays off whether or not you ever switch models.

Step 1: Sort Your Tasks by How Much Model They Actually Need

Most agent workflows contain a mix of hard and easy steps, and the easy ones are the majority by volume. Start with an inventory. Export a week of calls and label each one:

Task type Typical examples Needs frontier model?
Classification / triage Is this email a lead, invoice, support, spam? Rarely
Extraction Pull invoice number, amount, due date from a PDF Rarely, if output is schema-validated
Rewriting / formatting Turn notes into a clean CRM entry Usually no
Summarization Summarize a thread for a handoff Sometimes
Drafting customer-facing text Replies, proposals, follow-ups Often yes
Multi-step reasoning / planning Agents deciding which tool to call next Often yes
Code generation or review Scripts, formulas, integrations Often yes

Be honest with yourself: "needs a frontier model" is a hypothesis, not a fact, until you test it. I've seen teams assume extraction needs the biggest model, then find a smaller one matches it on their own documents. I've also seen the reverse: a cheap model that looked fine on ten samples fell apart on edge cases.

Step 2: Build a 50-Item Test Set Before You Touch Routing

Vendor benchmarks won't tell you whether a model handles your invoices. Microsoft itself is a good illustration of why. Its own page describes MAI Thinking 1 as a 35B-active, ~1T-total-parameter sparse Mixture of Experts model and says it is toe-to-toe with Claude Opus 4.6 on SWE-Bench Pro. Microsoft also reports 97.0% on AIME 2025 and a blind human evaluation (1,276 tasks, run with Surge) where users preferred it over Claude Sonnet 4.6. All of that is vendor-reported.

Meanwhile, The Decoder reports that the benchmarks released at the time showed the model trailing OpenAI and Anthropic by a wide margin, roughly level with DeepSeek V3.2. I can't resolve that disagreement for you, and neither can either side's marketing. Your own test set can.

How to build one in an hour:

  1. Pull 50 real inputs per task type from your logs (anonymize as needed).
  2. For each, write down what a correct output looks like. For extraction, that's the exact fields. For drafting, it's a short rubric (tone, includes the ask, no invented facts).
  3. Store them as JSONL:
{"task": "invoice_extract", "input_file": "samples/inv_014.txt", "expected": {"vendor": "Acme Co", "amount": 1240.00, "due_date": "2026-12-15"}}
{"task": "lead_triage", "input_file": "samples/email_033.txt", "expected": {"label": "lead", "urgency": "high"}}
  1. Run every candidate model against the same set with the same prompt, and record pass rate, cost, and latency.

Fifty items per task won't give you statistical certainty. It will tell you whether a cheaper model is plausibly good enough or obviously not, which is the decision you need to make.

Step 3: Write the Router (It Can Be Boring)

You don't need a clever classifier-based router to start. A static routing table gets most of the savings:

# routing.yaml
default:
  model: strong-model        # your best model, used when unsure
  max_retries: 1

tasks:
  lead_triage:
    model: cheap-model
    validate: schemas/triage.json
    escalate_on_fail: strong-model
  invoice_extract:
    model: cheap-model
    validate: schemas/invoice.json
    escalate_on_fail: strong-model
  customer_reply_draft:
    model: strong-model
  agent_planner:
    model: strong-model

And the wrapper:

import json
from jsonschema import validate, ValidationError

def run_task(task_name, payload, routing, call_model, load_schema):
    cfg = routing["tasks"].get(task_name, routing["default"])
    model = cfg["model"]

    output = call_model(model, task_name, payload)

    schema_path = cfg.get("validate")
    if schema_path:
        try:
            validate(json.loads(output), load_schema(schema_path))
            return output, model
        except (ValidationError, json.JSONDecodeError):
            fallback = cfg.get("escalate_on_fail")
            if fallback:
                output = call_model(fallback, task_name, payload)
                return output, fallback
            raise
    return output, model

The key pattern is escalate on failure. The cheap model gets the first attempt; if its output fails schema validation, the strong model retries. You pay the strong-model price only for the hard cases, and you log how often escalation fires. If it fires on 40% of calls, the cheap model isn't cheap for that task. If it fires on 3%, you've found real savings.

Cheap models come in several flavors: smaller models from the vendor you already use, in-house or open-weight models you host, or a competitor's budget tier. Which to pick is a test-set question, not a loyalty question.

Step 4: Know the Price Signals (and Their Caveats)

Prices change often and some of the numbers floating around are unreliable, so use these as direction, not gospel, and check current pricing pages before budgeting.

What is documented:

  • The Microsoft Foundry blog lists MAI-Thinking-1 pricing as starting at $2 per 1M input tokens and $8 per 1M output tokens. Microsoft's page, updated August 12, 2026, says the model is in public preview on Foundry. Preview pricing can change, so check the Foundry page for current rates before budgeting.
  • The model has a 256k-token context window, supports function calling, and is compatible with the Chat Completions API (per Microsoft's page). That last point matters for routing: a Chat Completions-compatible endpoint is easy to slot behind your wrapper.
  • TechTarget reports MAI-Code-2 standard pricing of $1 per million input tokens and $5 per million output tokens, and lists GPT-6.1 at $2/$10 and Claude Opus 5.5 at $4/$20 per million tokens. I haven't verified these against the vendors' own pricing pages, so check those before relying on them.

What I'd ignore: viral per-user cost claims and percentage-savings figures from aggregator sites. Microsoft has reportedly claimed that a tuned MAI model reaches the level of a GPT model at much lower cost, but I couldn't trace that to a direct Microsoft source, and secondary sources disagree on which GPT version was the comparison. Treat it as unvalidated.

Instead, do your own arithmetic. Here's a labelled example with round numbers (not real prices): if 70% of your monthly calls are triage and extraction and a cheaper model costs one-quarter as much per call, and 5% of those escalate to the strong model, your blended cost on that 70% slice drops by roughly two-thirds. Plug in your own call volumes and your vendors' current rates. The shape of the math is what matters: savings come from volume on easy tasks, not from shaving the hard ones.

Step 5: Guardrails So Cheaper Doesn't Mean Worse

Cost cutting that quietly degrades output is just a slower way to lose customers. A few rules I'd keep:

  • Never route customer-facing text to an untested model. Drafts that go out under your name stay on the strong model until a human-graded sample says otherwise.
  • Keep a golden set running in production. Re-run your 50-item test set weekly against whatever the router currently uses. Model providers update models; your pass rate can drift without you changing anything.
  • Watch for silent failure modes, not just schema failures: truncated outputs, confident wrong values, dropped fields that your schema marks optional. Make fields required when a missing value would cause harm.
  • Think about data handling before adding any new provider. TechCrunch notes some companies are reportedly looking at Chinese models as cheaper options despite security concerns. For a business handling client data, that's a compliance question to settle before you route a single prompt, wherever the model comes from. Read the provider's data terms and, if relevant, your own client contracts.
  • Set a spend alert per task, not just per account. A routing bug that sends everything to the strong model, or loops retries, shows up fastest as one task's cost spiking.
# nightly cost report from your call log (JSONL with task, model, in_tokens, out_tokens)
jq -s 'group_by(.task) | map({task: .[0].task, calls: length, in: (map(.in_tokens)|add), out: (map(.out_tokens)|add)})' calls.jsonl

Multiply the token totals by your current per-token rates and you have a per-task cost table in one command.

Step 6: What to Do This Week

You don't need a quarter-long project. A realistic sequence for a one-to-ten person team:

  1. Day 1: Put every model call behind one wrapper function with logging.
  2. Day 2: Export a week of logs; label tasks easy/medium/hard; rank by token spend.
  3. Day 3: Build the 50-item test set for your top two spend categories.
  4. Day 4: Run two or three candidate models against it; record pass rate and cost.
  5. Day 5: Ship a static routing table for the one task where a cheaper model passed, with escalate-on-fail enabled and a spend alert.

Then repeat for the next task. Expect some tasks to stay on the strong model permanently. That's fine; the goal is a sensible mix, not a purity test. And keep in mind the lesson from the Microsoft story: even the company with the most to gain from using only its own models reportedly still uses OpenAI and Anthropic models for much of the work. A mix is the realistic end state.

How this looks in practice

The pattern in this post is the one I'd apply to any small-team automation: a thin wrapper, per-task prompts, schema validation, and a routing table that sends cheap, high-volume steps (triage, extraction, formatting) to lower-cost models while keeping a stronger model on the steps where quality is visible to a customer.

If you're auditing your own spend, the same exercise applies: go through your call logs, sort tasks by how much model they need, and be honest about where routing would help and where it wouldn't. Some workflows have nothing worth routing, and that's a fine answer.


Work with BizFlowAI

If you'd rather have this built for you, that's what we do: production AI automation for solo founders and small teams — agents, integrations, and document pipelines that actually ship.

Request a free discovery call — 30 minutes, we map the highest-ROI automation in your workflow. No pitch deck, just engineering.

More guides like this on the BizFlowAI blog.

Frequently asked questions

How can a small team cut AI API costs without losing output quality?

Route each task to the cheapest model that passes your own tests instead of sending everything to a frontier model. Start by labeling a week of real calls by task type, since classification, extraction, and reformatting rarely need the biggest model. Then validate cheap-model outputs against a schema and escalate to a stronger model only when validation fails. This way you pay frontier prices only for the hard cases.

What is LLM model routing and how do I set it up?

Model routing means choosing which AI model handles each request based on the task, not sending everything to one model. A simple start is a static routing table, such as a YAML file mapping each task name to a model, plus one thin wrapper function that every model call goes through. Add per-call logging of task, model, tokens, latency, and pass/fail so you can see where savings come from. You don't need a clever classifier-based router to capture most of the benefit.

How do I test whether a cheaper model is good enough for my workflow?

Build a test set of about 50 real inputs per task type, each with a written expected output or a short scoring rubric. Run every candidate model against the same set with the same prompt, and record pass rate, cost, and latency. Fifty items won't give statistical certainty, but it shows whether a cheaper model is plausibly good enough or clearly not. Vendor benchmarks can't replace this, because they don't reflect your documents or edge cases.

What does escalate-on-failure mean in an LLM pipeline?

Escalate-on-failure means a cheap model gets the first attempt at a task, and a stronger model retries only if the cheap model's output fails validation. Validation is usually a JSON schema check on structured output. You log how often escalation fires: if it triggers on 40% of calls, the cheap model isn't saving money for that task, but if it triggers on 3%, the savings are real.

Why should I separate my prompts and harness from a specific AI model?

If your automations call one vendor's SDK directly from many places, you can't swap or route models without rewriting code. Keeping prompts in versioned files, sending all calls through one wrapper, and validating outputs against schemas makes the model interchangeable. That lets you test cheaper or newer models and switch whenever pricing or quality changes. It's an afternoon of refactoring that pays off even if you never switch.