<?xml version="1.0" encoding="UTF-8"?><oembed><type>video</type><version>1.0</version><html>&lt;iframe src=&quot;https://www.loom.com/embed/83ecfb95ebe944b0a267235a94adcebd&quot; frameborder=&quot;0&quot; width=&quot;1108&quot; height=&quot;831&quot; webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;</html><height>831</height><width>1108</width><provider_name>Loom</provider_name><provider_url>https://www.loom.com</provider_url><thumbnail_height>831</thumbnail_height><thumbnail_width>1108</thumbnail_width><thumbnail_url>https://cdn.loom.com/sessions/thumbnails/83ecfb95ebe944b0a267235a94adcebd-07e9a4399700c2a9.gif</thumbnail_url><duration>177.348</duration><title>Cost-Aware Model Selection for Coding Agents</title><description>This Loom explains a cost-aware coding agent approach to stop agents from routing every task to the same flagship model. It describes a pipeline with Planner and Schedule, adding a Debate Layer where multiple agents discuss and narrow each user prompt to two different models from a list of five. The system then runs the task on those models, returning generated code along with an exact cost breakdown and critic-based scoring on code quality and performance. The creator notes added latency because two models are used, and mentions Sonnet, Opus, GPT-Mini, and GPT-Nano, with plans to add more models later.</description></oembed>