Baseten says a technique that loads AI-agent tools only when they are needed cut costs by an average of 62.5% on its coding benchmarks, without changing the model or harness. The approach also made those tasks 26.2% faster in the company’s tests, offering developers a way to trim overhead from agents that carry large tool menus.
Baseten Watch analysis
What happened
Deferred tool loading keeps full tool descriptions out of the initial prompt. Instead, the model searches for a tool when it needs one, and the matching schema is added later. Baseten says this reduces the context sent through each request, particularly when an agent has many registered tools that it rarely uses.
In tests using GLM 5.3 across 55 tasks from eight benchmarks, Baseten reports average savings of 62.5% in cost and 26.2% in time for coding benchmarks. For agentic benchmarks, it reports costs falling 51.1% and time falling 14.9%. In one example, three registered MCP servers added about 141,000 tokens of tool schemas to each request with eager loading; deferred loading reduced that initial amount to about 1,300 tokens.
Why it matters
Agent workflows can repeatedly send large tool descriptions even when a task uses only a handful of them. Loading tools on demand targets that waste without requiring a smaller model or a redesigned harness, which could make existing coding and agent systems cheaper to run.
The gains are not automatic in every workload. Baseten says eager loading was more efficient in one benchmark with 68 tool calls, while two other tasks were slightly slower with deferred loading. The best choice depends on how much tool discovery a task needs.
Our read
This is a useful systems improvement, not a magic discount button. Baseten’s results make the case for trying deferred loading when tool definitions are bloating prompts, but the figures come from the company’s own benchmarks. Developers should test their own workloads before budgeting around the headline saving; one tool-heavy task already found the exception.
What to watch
- Whether independent tests reproduce the cost and speed gains on other models and agent harnesses.
- How often real workloads make enough tool calls for eager loading to be more efficient.
- Whether more open-model providers add server-side support for deferred tool loading.
Discussion spark: Would you enable deferred tool loading by default for an AI agent, or keep tools preloaded until independent tests show the savings hold for your workload?
Sources and evidence
- Deferred tool loading: Make your agent 62.5% cheaper without changing your model or harness (19 November 2026, 17:49 UTC)
Independent WittyWires tracker for public updates about Baseten. Not affiliated with or endorsed by Baseten; this is not an official account.