# Microsoft Ships 53 GB MAI-Code-1.1-Flash for Local PCs

*Updated on November 6, 2026*

Microsoft has published the on-device engineering specifications and Foundry checkpoints for `MAI-Code-1.1-Flash`, compressing its `137.9-billion-parameter` Mixture-of-Experts (MoE) coding model from roughly `276 GB` at 16-bit precision down to a `53 GB` (`~53 GiB`) mixed-precision local checkpoint. Built to run agentic software development tasks directly on developer workstations with zero per-token cloud charges, the checkpoint activates `6.8 billion` parameters per token while preserving a `256,000-token` (`256K`) maximum context window.

In Microsoft's measured local hardware benchmark on an `NVIDIA RTX Spark` system equipped with `128 GB` of unified memory, the `53 GB` checkpoint delivered a median `51.12 output tokens per second` while processing a `120,000-token` (`120K`) repository input context. Alongside the primary `53 GB` build, Microsoft's Foundry on Windows team also engineered a tighter `46.1 GiB` weight variant (excluding runtime KV cache overhead) to leave extra headroom for local build containers, IDEs, and test runners.

This release matters immediately for enterprise engineering organizations and security-sensitive teams that want GitHub Copilot's router to offload routine repository sweeps, dead-code cleanup, obsolete feature-flag removal, and unit-test scaffolding onto local silicon. Instead of paying cloud API rates or sending proprietary source trees over the wire for every background agent loop, workstations with `120 GB+` of unified RAM can execute multi-file coding subtasks locally and reserve frontier cloud models for hard architectural debugging.

Developers planning hardware refreshes need to pay close attention to runtime memory math rather than static weight size alone. While the `3.3 bits-per-weight` mixed-precision checkpoint occupies `53 GB` on disk, Microsoft's testing shows peak memory usage climbing to `75.5 GB` at the full `256K` context ceiling once key-value (KV) cache allocations and speculative decoding buffers are active. That rules out `64 GB` laptops for full-context runs and establishes `128 GB` unified-memory workstations as the practical floor.

<a aria-hidden="true" id="executive-fast-facts"></a>  Fast Facts

- **Model Architecture**: `MAI-Code-1.1-Flash` (`137.9B` total parameters, `6.8B` active parameters per token, Mixture-of-Experts), documented in the [Microsoft Foundry MAI-Code-1.1-Flash-On-Device catalog](https://ai.azure.com/catalog/models/MAI-Code-1.1-Flash-On-Device).
- **Quantization &amp; Footprint**: Mixed-precision weight quantization averaging `~3.3 bits per weight` shrinks the model from `~276 GB` (`BF16`/`FP16`) to `53 GB` (plus an aggressive `46.1 GiB` weight-only variant).
- **Context &amp; Peak Memory**: Supports up to `256K` input tokens, reaching `75.5 GB` peak total RAM consumption at `256K` context; Microsoft recommends systems with `>120 GB` RAM.
- **Local Throughput**: Achieves a median `51.12 output tokens/second` at a `120K-token` prompt context on `NVIDIA RTX Spark` (`128 GB` unified memory) using quantization paired with speculative decoding.
- **IDE Integration**: Available via Microsoft Foundry and wired into GitHub Copilot's local-model router across VS Code, the GitHub Copilot app, and GitHub Copilot CLI at `$0` inference cost.

## Memory &amp; Throughput Breakdown: Full-Precision Cloud vs. On-Device Checkpoints

Why did Microsoft choose a `137.9B` sparse MoE quantized to `3.3 bits per weight` rather than a dense `32B` model at `8-bit` precision? Sparse MoE models store broad multi-language API and codebase patterns across total parameters while keeping per-token FLOPs down to just `6.8B` active parameters. On memory-bandwidth-bound local systems, combining `3.3-bit` mixed-precision weights with speculative decoding lets a single `128 GB` workstation hit interactive `50+ tok/s` speeds even with `120K` tokens of repository files loaded in context.

| Specification | BF16 Unquantized Baseline | MAI-Code-1.1-Flash On-Device (Primary) | Aggressive Local Variant |
|---|---|---|---|
| **Total / Active Parameters** | 137.9B total / 6.8B active | **137.9B total / 6.8B active** | 137.9B total / 6.8B active |
| **Weight Precision** | 16-bit (~276 GB weights) | **Mixed precision (~3.3 bits/weight)** | Aggressive mixed precision |
| **Static Checkpoint Size** | ~276 GB | **53 GB (~53 GiB)** | **46.1 GiB (weights only)** |
| **Max Context / Peak RAM** | 256K (Multi-GPU server) | **256K (75.5 GB peak RAM)** | Tuned for tighter local RAM |
| **Measured Local Speed** | Datacenter GPU required | **51.12 tok/s median @ 120K (RTX Spark)** | Hardware-dependent |

Rather than quantizing every layer uniformly, which severely degrades MoE router gating accuracy and tool-calling syntax, Microsoft's mixed-precision recipe preserves higher bit-widths on sensitive routing and attention projections while compressing less sensitive expert feed-forward matrices harder. According to Microsoft AI's evaluation notes, this retains comparable coding accuracy to the full-precision checkpoint on `SWE-Bench Verified` and `Terminal-Bench 2.1`, while improving token efficiency by `25%` over Microsoft's June Build baseline.

## Practical Workstation Sizing for Zero-Bill Copilot Routing

In Microsoft's reference Copilot workflow, engineers pointed the local `53 GB` checkpoint at an active codebase to detect dead code paths, unused package dependencies, and stale feature flags across `120K` tokens of source files. Because those maintenance sweeps are token-heavy on input but bounded in reasoning complexity, running them locally eliminates API spend spikes without slowing down interactive editing.

Before rolling out local Copilot routing across an engineering team, platform leads should verify three workstation constraints:

- **Enforce a 128 GB Unified Memory Standard for AI Dev Rigs**: At `75.5 GB` peak model + KV cache memory, a developer running Docker Compose, a browser with 30 tabs, TypeScript language servers, and VS Code needs `128 GB` of unified RAM (such as RTX Spark, Ryzen AI Max+ 128GB, or Apple M-series Max/Ultra) to prevent OS swap thrashing.
- **Verify Linux vs. Windows Driver Firmware Parity**: If deploying on Linux workstations rather than Windows Foundry builds, benchmark sustained `120K`-context prefill and decode clocks first to ensure power-management firmware does not throttle sustained memory bandwidth.
- **Route Bounded Maintenance Tasks Locally, Keep Architecture Reviews in Cloud**: Configure Copilot routing so high-frequency AST refactors, dependency pruning, and boilerplate test generation hit `MAI-Code-1.1-Flash` locally, while cross-service race conditions escalate to frontier cloud models.

  Next Steps

1. **Pull the 53 GB Checkpoint via Microsoft Foundry**: On workstations with `128 GB` RAM, download `MAI-Code-1.1-Flash-On-Device` from Microsoft Foundry and enable local model routing in VS Code or GitHub Copilot CLI.
2. **Run a 120K-Token Dead-Code &amp; Feature-Flag Sweep**: Benchmark median output tokens per second and peak RAM utilization on one of your own repositories at `100K–120K` tokens to confirm local responsiveness alongside your normal Docker/IDE stack.
3. **Update Engineering Laptop Procurement Tiers**: Shift 2027 developer workstation specs from `32 GB / 64 GB` RAM to `128 GB` unified-memory configurations where zero-cost local agent execution can offset `$100–$200/month` per-seat API overages.