Skip to content

Products

GPU CloudNVIDIA H200 by the hour.
Dedicated ClustersPreviewPrivate, interconnected GPU clusters for sustained workloads.
SandboxesPreviewIsolated, short-lived environments for developers and AI agents.
Serverless GPUPreviewGPU containers that scale with requests, down to zero.
Serverless InferenceOpen models behind one OpenAI-compatible endpoint.
Dedicated EndpointsReserved serving capacity for one model, billed per GPU-hour.
PlaygroundSend a prompt to any model your workspace can reach.
Model DeploymentsPreviewImmutable deployments with instant promote and rollback.
Fine-tuningLoRA fine-tunes on the open models in our catalog.
Model TrainingPreviewFoundation-model training runs, managed end to end.
EvaluationsPreviewBenchmark suites and model comparisons you can rerun.
DatasetsManaged and synthetic training data, versioned and ready to use.
Data ManagementPreviewDatasets, connections and storage, with lineage across the platform.
PipelinesPreviewVersioned DAGs that automate data, training and deployment.
Data RoomsPreviewSecure document sharing with guests, NDAs and an audit trail.
NokuvaPreviewThe AI-native design editor.
TavocPreviewA Rust-native code platform: IDE and desktop apps.
FoltracComing soonMulti-cloud deployment with autonomous operations.
W0rkTreeComing soonVersion control for agent fleets.
Identity & AccessMembers, roles, policies, SSO and audit for every workspace.
Billing & CostUsage, invoices, credits and budgets in one place.
Logs & MonitoringRequest logs, latency and error rates across services.
Project CanvasPreviewSee and change a project's resources on one live canvas.

Pages

Home/
Platform/platform
All products/products
Pricing/pricing
GPU pricing/pricing#compute
Inference services/services/inference
Model training services/services/model-training
Protocol design/services/protocol-design
Research partnerships/services/research-partnerships
Protocols/protocols
Datasets/datasets
Documentationdocs.legionedge.ai
Changelog/changelog
News/news
Research/research
Blog/blog
Articles/articles
Events/events
Startup Program/programs/startup
Ambassador Program/programs/ambassador
Partner Program/programs/partner
Event Program/programs/events
Company/company
Careers/careers
Partners/partners
Contact/contact
Statusstatus.legionedge.ai
Terms of Service/legal/terms
Privacy Policy/legal/privacy

All blog posts

Measuring context waste in production agents

Most context windows are mostly filler. Instrumenting the waste was step one toward 50x compression.

Category
Research notes
Published
Reading time
1 min
Source
Engineering blog

Before we built context compression, we measured context waste — and the numbers were worse than we guessed. In the production agent traffic we instrumented for our MCP field study, the median request spent under a fifth of its tokens on content that influenced the output.

Where does the rest go? Three places, in order: tool definitions re-sent on every request, conversation history that’s long since stopped mattering, and structural boilerplate — markup, schemas, formatting — that models need to see once, not every turn.

The interesting methodological problem is attribution: how do you know a token didn’t matter? We use ablation probes — re-run a sampled request with a span removed and measure output divergence. It’s expensive, so we sample, but it turns “context feels bloated” into a number you can regress against.

That number is what made the efficiency case concrete. Waste percentages this high mean you don’t need smarter models to cut inference cost dramatically — you need better plumbing between the application and the model. Better AI, less compute.

The instrumentation approach is written up in the field study, and the compression work it motivated is published alongside it. If you run agents in production, measure your waste first — the fix follows from the numbers.

Share

Want the build notes as they happen?

The blog is written by the engineers shipping Nokuva, Tavoc, and Foltrac — deep dives land here as the work does, and the authors answer questions.