model releaseMicrosoft

Microsoft Releases FastContext-1.0: 4B-Parameter Repository Explorer Cuts Coding Agent Token Use by 60%

TL;DR

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.

2 min read
0

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

model release

Baidu open-sources ERNIE 5.5 Flash Base, an MoE model with 1M-token context for fine-tuning and inference

Baidu open-sourced ERNIE 5.5 Flash Base on November 5. It is a Mixture-of-Experts base model pretrained on 33.5 trillion tokens, with 128K pretraining context and up to 1M tokens in fine-tuning and inference. Baidu claims it sets state-of-the-art results among models of the same size.

model release

Salesforce launches Koa Decisions, a Gemma-based model that classifies text, image and audio requests

Salesforce introduced Koa Decisions on November 6, 2026. The decision model is built from Google's open-weight Gemma and accepts text, images and audio. It is the next version of HyperClassifier.

model release

Underdog releases Woof, a 31M-parameter open text-to-speech model that runs in a browser

Underdog's new text-to-speech model Woof has 31 million parameters and weighs 31.7 MB. The company says it runs on most devices without an internet connection, and the weights are open to download. Underdog demonstrated it with a browser game posted on November 5, 2026.

model release

ByteDance Seed releases Cola2, a 9B continuous-latent language model with 60.10 eight-task average

ByteDance Seed has published Cola2, a 9B-parameter base language model that generates continuous latent blocks with a diffusion transformer and realizes them as discrete tokens. Trained on 346.03B source tokens, it reports a 60.10 average across eight tasks. Weights are on Hugging Face; training code is not included.

Comments

Loading...