Erik Hanchett on reducing agent token costs

AI Engineer5m 55s
Erik Hanchett beside the headline Cut Agent Costs.
0 comments · 0 votesOpen discussionClose discussion
Sign in to join the discussion

    Erik Hanchett demonstrates caching system promptsPrompt caching reuses compatible computation from previously processed prompt content to reduce repeated model-input work. and routing tasks to different modelsAI model routing sends each request to a model chosen for that request's complexity, cost, speed, privacy, or other requirements. according to difficulty. His examples use Strands Agents and show how repeated context can affect cost.

    Hanchett recommends offloading or summarizing large tool results and setting limits on tool-loop iterations. He suggests using observabilityAI agent observability makes an agent's state, actions, tool use, failures, resource use, and outcomes visible enough to understand and operate it. to measure calls before choosing appropriate limits.

    For multi-turn agents, he describes a sliding history window and summarization as a tradeoff: fewer repeated tokensAI token efficiency measures how effectively a model or workflow turns consumed input and output tokens into useful results. can mean losing information from earlier messages.

    Original YouTube thumbnailWatch on YouTube

    Video topic coverage

    • Agents & workflows100
    • Coding & tools70
    • Models & learning55
    • Infrastructure & compute50
    • Research & evaluation25
    • Safety & security0
    • Business & productivity65
    • Creative & media0
    • Robotics & perception0
    • Society & policy0

    Share this video

    Erik Hanchett beside the headline Cut Agent Costs. With WWW.ARTIFICIAL-INTELLIGENCE.VIDEO, 28 June 2026 and duration 5m 55s.

    Erik Hanchett presents five practical approaches to reducing repeated token use in AI agents.