Vibeleaderboard
← All Intel
Intel / blog

How we make AI coding more cost efficient without sacrificing task quality

Source
github.blog
Publisher
GitHub
Author
Erik Kristensen
Date
From the Daily Brief

GitHub documented four changes intended to reduce the cost of Copilot’s coding agent without reducing task quality. The team trimmed repetitive tool output, removed formatting that consumed tokens without helping the model, shortened instructions and returned completed background work without an extra retrieval step. Each change was checked with offline benchmarks and then an A/B test, which matters because fewer tokens per call can still increase total cost if the agent needs another turn to recover missing context. The transferable lesson is to optimize cost per successful task rather than prompt size or request price in isolation. Teams running their own harnesses can apply the same measurement discipline even when their tools differ.

Read the 2026-09-03 Brief →

Context

GitHub found an example of information-free work in Copilot CLI: line-number prefixes attached to every line of every the agent read. Its editing tools now locate changes through surrounding code, so those prefixes consumed model input without helping the normal editing . Engineering account

Removing the prefixes cut average daily model-inference cost per user by about 3% in the company's online experiment with Copilot CLI users, with no material regression detected in the quality or satisfaction measures it tracked. File contents stayed intact. The example shows why cost reduction can come from changing what the surrounding software sends, without withholding source information from the model.

Terms in this piece · Glossary
  • File — A named unit of stored data that keeps its contents while no program is using it.
  • Process — A running instance of a program, with its own working memory, open files and identity.
  • Harness — The software that sends a model its context, recognizes tool calls, runs or refuses them, returns results and keeps the record.
  • Retrieval — Selecting evidence relevant to the current request.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source github.blog
Recommended reads