A white AWS blog card. An orange kicker at the top left reads "AWS ARTIFICIAL INTELLIGENCE BLOG", then the title "How Airbnb uses cost per task to operate coding agents on Amazon Bedrock" appears in black. The line "Read the blog post >" sits at the lower left. A green-to-purple color bar runs along the right edge, showing a cropped partial "aw" of the AWS logo.
The social card from Amazon Web Services' 18 November 2026 blog post on how Airbnb uses cost per task to operate coding agents on Amazon Bedrock. The right edge of the original wide card was cropped to 16:9., Amazon Web Services

On 18 November 2026, Amazon Web Services published a Machine Learning blog post titled "How Airbnb uses cost per task to operate coding agents on Amazon Bedrock." The authors are Alan Yao, a senior staff software engineer at Airbnb who leads model evaluation for AI-assisted engineering, and three AWS colleagues, Rashim Gupta and Jayadev Vadakkanmarveettil of Amazon Bedrock, and Sang Kong, a principal solutions architect. The post is co-authored by AWS and Airbnb, not an independent audit.

Airbnb says thousands of engineers and engineering-adjacent people use AirChat, its internal tool for running coding agents, every week. The agents send requests through a company gateway that runs on Amazon Bedrock, the AWS service for calling foundation models, the large general-purpose models supplied by vendors. Bedrock, the post says, processes Airbnb's code, prompts, and model responses within AWS. "Eight new models came out in about five weeks. By mid-October, about two thirds of the requests our engineers sent through coding agents went to those new models." The scarce metric in that setting, the authors argue, is not a launch-day benchmark chart but cost per completed task on Airbnb's own evals, the company's fixed tests of work its engineers actually do.

[1]

Score and list-price cost, measured together

Launch charts, the authors write, "don't show how a model handles our engineers' work." Airbnb therefore runs two systems side by side. Before a rollout, it runs evals on its own tasks and records each model's score and cost per task. "Cost per task is the list-price cost of all the tokens an agent uses to finish one task." Tokens are the chunks of text a model reads and writes. After a rollout, production monitoring is checked against those eval results.

A coding agent takes many requests to finish one task, and the model re-reads the context on each request, so they price the whole task rather than a single call. Bedrock reports four kinds of tokens, each at its own public list price dated for that run: uncached input, cache reads, cache writes, and output. Cache reads cost less than uncached input, and cache writes can cost more, depending on the model. The average cost is recorded next to the score and includes low-scoring attempts.

The evals also vary reasoning effort, a setting that controls how much a model reasons before it responds. Airbnb uses those results to choose each default, the model and effort the coding tools use unless an engineer picks another, and each effort ceiling, the highest effort allowed for a model, which the gateway enforces. "On one model we tested, moving from low to high effort raised the score by 0.8 points. Cost per task was 2.5 times as high."

Tasks come from real code changes, review comments, and decisions the original ticket did not spell out. Each has a starting repository state, a prompt an engineer would write, and a grader, the program or model that scores the work. Airbnb has seven suites of related tasks and spreads hundreds of tasks across them. The post says a new model can be run through all suites between the afternoon of its release and the next morning, enough, the team says, for a deployment decision.

[1]

What production showed that the evals missed

The post gives a worked example, using a model it calls only "model A." In the evals, it scored more than three points above the previous best model on Airbnb's coding tasks, at about the same cost per task, with the same grader. The team rolled it out, capped effort at high, and asked people to use low or medium for most work. A few weeks later, list-price spend per user per week on model A was several times higher than on the model before it. Each request cost about three times as much, and the average user sent about three times as many requests. Output tokens were only a tenth of a request's cost. Most of the cost went to cached context, reread on every request. Model A could work on its own for a long time, so people started long, self-directed sessions. "The eval measured the model on a task. Production measured how people chose to work with it."

Later, a newer model scored higher than model A on the same tasks and grader, at about a sixth of its cost per task. Airbnb moved model A's users to it with a configuration change, then checked that change on the heavy users of model A. In their first full week, the group sent about the same number of requests to their main model, and spend on that model fell to about a seventh.

Capacity can tighten before the bill does. Bedrock checks a tokens-per-minute quota, or TPM, when a request arrives, before the model writes anything. It reserves uncached input and cache writes, plus max_tokens, the most output the request is allowed. Cache reads never count against the quota. In one session example, each request initially reserved 600 uncached input tokens plus a max_tokens of 4,096, totaling 4,696 tokens. Responses were about 800 tokens at p99, the size below which 99 percent of responses fell. Lowering max_tokens to 1,024 cut the reservation to 1,624 tokens, about 65 percent smaller.

After a rollout, Airbnb watches CloudWatch, AWS's monitoring service, for latency, throttling, and the four token counts, including cache. Named signals include InvocationLatency, TimeToFirstToken, published only for streaming APIs, OutputTokenCount, OTPS, or output tokens per second, InvocationThrottles, and EstimatedTPMQuotaUsage. Model invocation logging is off by default and can hold full prompts, responses, and the caller's identity.

[1]

The stronger reading

Airbnb is describing a concrete operating loop at a company where coding-agent traffic already moved with the model release cycle. The loop is its own evals, list-price cost per task, effort ceilings, and a later check against production spend. That is more useful to an engineering desk than another vendor leaderboard. The model A episode is the point. A higher score at similar eval cost was not the same as a similar bill once people used the model in long sessions that re-read cached context.

[1]

What the post does not settle

The post does not name the eight new models, Airbnb's default model names, or the absolute dollars per task. The eval set is described as hundreds of tasks across seven suites, without a precise size. The 0.8-point score gain and 2.5-times cost result is for "one model." "Thousands" of weekly AirChat users is unsized. Spend figures for model A are ratios, "several times," "about three times," "about a sixth," "about a seventh," not dollar amounts. The piece is published on AWS's blog and co-authored by Bedrock product managers. The capacity numbers come from a session walkthrough, not an outside audit.

[1]

What would make the claim easier to test

The test over the next six months is whether other firms start choosing defaults by score and list-price cost on their own tasks, then check those figures against live spend, and whether Airbnb publishes named models and dollar costs that an outsider can check. A shift this fast, about two-thirds of requests moving to models that were weeks old, will keep making launch-day charts a poor guide to both cost and traffic.

[1]