Microsoft Releases FastContext-1.0: 4B-Parameter Repository Explorer Cuts Coding Agent Token Use by 60%
Microsoft released FastContext-1.0, a lightweight repository-exploration subagent for LLM coding agents spanning 4B to 30B parameters. The model reduced main-agent token consumption by up to 60% while improving end-to-end resolution rates by up to 5.5% on SWE-bench Pro when integrated with agents like GPT-5.4 and GLM-5.1.
FastContext-1.0-4B-SFT — Quick Specs
Microsoft Releases FastContext-1.0: 4B-Parameter Repository Explorer Cuts Coding Agent Token Use by 60%
Microsoft released FastContext-1.0, a dedicated repository-exploration subagent designed to offload code search tasks from primary coding agents. The model family includes variants at 4B and 30B parameters, with the 4B reinforcement-learning version (FC-4B-RL) matching or exceeding the larger 30B model on several benchmarks.
Architecture and Design
FastContext addresses a core inefficiency in modern coding agents: according to Microsoft's analysis of GPT-5.4 trajectories, repository exploration consumes 56.2% of all tool-use turns and 46.5% of total tokens. The subagent architecture separates exploration from problem-solving — the main agent queries FastContext, which executes parallel read-only operations (READ, GLOB, GREP) and returns focused file paths and line ranges.
The model supports context windows up to 262,144 tokens and is built on Qwen3-4B-Instruct (4B variants) and Qwen3-Coder-30B-A3B (30B variant) backbones. Available variants include FC-4B-SFT, FC-4B-RL (deployment targets), and FC-30B-SFT (scaling reference).
Performance Metrics
Integrating FastContext into Mini-SWE-Agent delivered measurable improvements across three benchmarks:
SWE-bench Pro results (most challenging):
- GPT-5.4 + FC-4B-RL: 78.3% resolution (+5.5 points), 338k tokens (-26.0%)
- GLM-5.1 + FC-4B-RL: 22.5% resolution (+5.0 points), 2.21M tokens (-17.9%)
- Kimi-K2.6 + FC-4B-RL: 33.5% resolution (+2.5 points), 2.16M tokens (-9.4%)
Token reduction extremes:
- GPT-5.4 on SWE-QA: 49.8% fewer tokens (210k vs. 418k)
- GPT-5.4 on SWE-bench Multilingual: 50.7% fewer tokens (206k vs. 418k)
The compact 4B-RL model consistently outperformed the 30B-SFT variant despite having 7.5× fewer parameters — on GLM-5.1 SWE-bench Pro, FC-4B-RL achieved 22.5% versus 20.0% for FC-30B-SFT.
Training Methodology
Microsoft trained FastContext in two stages. The supervised fine-tuning (SFT) phase used three trace types: parallel_toolcalls for broad first-turn search, multiturn_traj for multi-turn evidence gathering, and linerange for citation generation. The reinforcement learning (RL) stage employed GRPO optimization with a reward function combining file-level F1, line-level F1, bounded parallel exploration bonuses, and format penalties.
Technical Details
The model operates through an internal exploration loop: query understanding translates issues into search intents, parallel tool calling issues multiple READ/GLOB/GREP operations simultaneously, observation-driven refinement guides subsequent searches, and final citations return compact file-path and line-range lists.
FastContext can be deployed via SGLang or similar OpenAI-compatible servers. The model exposes only three read-only tools and operates as an on-demand subagent invoked by the main coding agent.
What This Means
FastContext demonstrates that specialized subagents can outperform monolithic coding agents on specific tasks while reducing computational overhead. The 4B model's ability to match 30B performance at one-seventh the parameter count suggests effective reinforcement learning can compensate for model size in narrow domains. For production deployments, the 60% token reduction directly translates to lower API costs and faster response times. The architecture's separation of concerns — exploration versus problem-solving — may become a standard pattern for complex agent workflows.
The model and training code are available under MIT license at https://github.com/microsoft/fastcontext.
Related Articles
AllSpark's Iris-mini and Iris-pro Top Open-Weight Search Agent Benchmarks
Chinese lab AllSpark has released Iris-mini and Iris-pro, two open-weight search agents built on Qwen3 models that claim the top spot among open-weight systems in their size classes on four research benchmarks. The release includes model weights, an agent harness, and evaluation code, with training pipelines to follow.
Tencent Open-Sources AuK, a 1.5B-Parameter Speech Generation and Editing Model
Tencent has open-sourced AuK, a 1.5B-parameter foundation model for speech generation and editing that handles TTS, content editing, and audio enhancement through natural-language instructions. The release includes a distilled AuK-Flash variant for 4-step fast inference, both under MIT license.
Alibaba's Qwen Releases Qwen-Drive-1.0-4B, a Unified VLM for Autonomous Driving Perception and Planning
Alibaba's Qwen team has released Qwen-Drive-1.0-4B, a 4B-parameter vision-language model built on Qwen3.5 that unifies 3D perception, driving question answering, and motion planning in one framework. The model reports strong open-loop, pseudo-closed-loop, and closed-loop driving benchmark results while claiming minimal loss of general vision-language ability.
Alibaba Open-Sources Qwen3.8-2.4T-A95B, Its First Qwen-Max-Class Model With Public Weights
Alibaba's Qwen team released Qwen3.8-2.4T-A95B on August 12, 2026, the open-weight version of Qwen3.8-Max and the first Qwen-Max-class model made publicly available. The 2.4 trillion-parameter mixture-of-experts model activates only 95 billion parameters per token and supports context windows up to 1 million tokens.
Comments
Loading...