
GitHub Copilot is tackling much more complex work lately. Instead of merely suggesting a few lines of code, it is planning, editing, debugging, and using various tools across extended coding sessions. Handling all this automated work means we have to ensure it runs efficiently. Efficiency here goes beyond simply using fewer tokens. It means being significantly smarter about how we use them.
To pull this off, we are focusing on reducing what Copilot repeats from turn to turn. During a long developer session, the system prepares a massive amount of repeating information. Think instructions, project files, conversation history, available tools, and the current task state. Some of that context is absolutely necessary. A lot of it, however, can be saved, paused, or loaded only when the system actually needs it.
We are tackling this from two main angles. First, we are improving the background system so your session focuses directly on the actual task. Second, we are expanding a feature called Auto. Auto lets Copilot pick the right model for the job so you do not have to make that choice every single time. Right now, our primary focus is driving these improvements in Visual Studio Code and rolling Auto out across all our platforms.
Two major upgrades in Visual Studio Code handle the heavy lifting for token optimization. The first is prompt caching. Tokenization breaks text and code into numbers the machine learning model can read, and tracking these tokens costs processing power. Prompt caching lets Copilot reuse the mathematical state of older prompts. Instead of recalculating the start of a prompt for every request, the system relies on the stored version. This saves a massive number of tokens and speeds up the entire process.
Here is the second big improvement: tool search. In older setups, the system loaded a massive, complete list of tool instructions into the memory window for every single request. That eats up space and creates heavy system overhead. Now, we use on-demand tool search. The model only retrieves and loads tool instructions when a specific task requires them. A session might need terminal commands, file reading operations, or workspace searches. Loading every tool upfront adds a fixed cost to every turn, even if you only need one. Tool search keeps a wide variety of tools available but feeds drastically less unnecessary information into the model.
We also rolled out Auto to answer a highly practical question. Which model is the best fit for this specific task right now? After your first prompt, Copilot looks at your intent and checks the health of our system to make the call. A quick explanation, a focused edit, or a massive multi-file change simply do not require the same level of advanced reasoning.
Our evaluations showed that no single model is always the best choice. Often, a smaller, highly efficient model delivers the exact same high-quality result as a giant one. The heavier models matter most when a task requires deep reasoning. Auto learns exactly where that stronger reasoning improves the final result. It sends complex tasks to a larger model and sticks with an efficient one when the work is straightforward. The goal is not to default to the biggest or cheapest model, but to dynamically route tasks to the perfect fit.
Getting this routing right is tricky. We have to account for how developers actually work. Conversations stretch on, memory builds up, tasks shift, and people code in dozens of languages. To solve this, we rely on cache-aware routing. Switching models on every single turn sounds helpful, but it completely destroys efficiency. When a conversation stays on the same model, the prompt data is cached and reused. Swapping models mid-session wipes that cache, forcing the new model to process all historical data from scratch. Auto avoids this by routing tasks at natural boundaries. The switch happens on the very first turn when there is nothing to lose, or right after the system summarizes older turns and resets the prompt.
Finally, Copilot serves developers globally. This routing system has to work in more than just English. We trained our routing model on conversations across 16 different language families. During testing, routing accuracy stayed incredibly high across all these groups. We are continuing to streamline Copilot across the entire system, ensuring your resources go toward useful work without forcing you to tweak settings manually.
Microsoft's new AI tool, Copilot CoWork, is an extra, pay-as-you-go service with credit-based pricing. Businesses must manage costs wisely.
Google Gemini AI is your new personal assistant, getting rid of jet lag, streamlining travel, calendar, and email management in Workspace for boosted productivity.
AI is revolutionizing science, acting as a sparring partner for researchers. It helps spot patterns, solve complex problems, and accelerate discoveries, as seen with GPT-5 Pro in T-cell research.