Zhidaily AI · Intelligence · Daily
Zhidaily
Issue 20 · November 19, 2026 · Thu
Today's stories
25 stories · 10 companies
Home / November 19, 2026 / Airbnb's cost-per-task playbook for coding agents on Bedrock
← Back
Guide Official Agents · Airbnb · Amazon·AWS Score78

Airbnb's cost-per-task playbook for coding agents on Bedrock

AWS Machine Learning Blog aws.amazon.com
Nov 19 · 05:48 Read the original ↗
01Summary

Airbnb runs AirChat, an internal coding-agent tool used weekly by thousands of engineers, with all model calls routed through an LLM gateway to Amazon Bedrock. When eight new models shipped in roughly five weeks, the team faced a recurring problem: launch benchmarks don't show how a model handles Airbnb's own work, and a model that looks cheap and good in a test can behave very differently once people start using it.

02Background

Airbnb runs AirChat, an internal coding-agent tool used weekly by thousands of engineers, with all model calls routed through an LLM gateway to Amazon Bedrock. When eight new models shipped in roughly five weeks, the team faced a recurring problem: launch benchmarks don't show how a model handles Airbnb's own work, and a model that looks cheap and good in a test can behave very differently once people start using it.

03Solution

Airbnb's answer is to measure a full task, not a request. A coding agent makes many calls to finish one job, re-reading context each time, so the team prices all four token types Bedrock reports — uncached input, cache reads, cache writes and output — at dated public list prices and sums them across the task. Every model and reasoning-effort setting gets a score and a cost per task side by side, and those numbers set the default model and the maximum effort the gateway will allow. Evals run on seven suites of real tasks, each a folder with a prompt, sandbox, grader and reference solution; a model grader scores runs on eight weighted dimensions, with a cap if the agent needed repeated rescuing. The cautionary case: model A beat the previous best by over three points at similar cost per task, so it shipped. Weeks later, weekly spend per user was several times higher — each request cost about three times more and users sent about three times as many, because the model could work autonomously for long stretches and people let it. Output tokens were only a tenth of cost; cached context dominated. A newer model scored higher at about a sixth the cost per task, and moving heavy users cut their spend to roughly a seventh with similar request volume. On the operations side, CloudWatch metrics (time to first token, output length, derived tokens per second) explain latency, and quota math matters: cache reads don't count against quota, and output burndown rates can make a dashboard showing 30% usage actually sit near 77%.

04Takeaway

Eval cost per task tells you what a model costs on your tasks; production tells you what people do with it, so track cost per request and requests per user after every rollout and keep a cheaper equivalent ready to switch to. Airbnb's four-step release checklist — evaluate on release day, set defaults and effort caps, compare early production to evals, and pre-qualify fallback models — is the reusable part.