DigestAI news desk

Cut through the AI noise.

Agents & Tools13 min read

Airbnb uses cost‑per‑task metric to choose Bedrock coding models

Airbnb runs its internal AirChat coding agents on Amazon Bedrock and decides which foundation model to use by measuring a “cost per task” – the list‑price cost of all tokens an agent consumes to finish a single coding task. Before each rollout the team runs evals on a fixed suite of real‑world tasks, records each model’s score and cost per task, and picks a default model and reasoning‑effort…

1 source primary source

Key points

  • Airbnb evaluates Bedrock models on real coding tasks, measuring score and cost per task before rollout
  • Production monitoring showed model A cost three times per request and raised user spend several‑fold
  • Switching to a newer model cut cost per task to about a sixth and reduced spend to about a seventh

After deployment, CloudWatch metrics such as InvocationLatency, TimeToFirstToken, OutputTokenCount and token‑quota usage are compared with the eval results. When production data diverges – for example, a model that scored three points higher in evals (model A) ended up costing three times more per request and drove several‑fold higher weekly spend per user – Airbnb switches users to a newer model that scores higher at about a sixth of the earlier cost. The process lets the engineering organization quickly assess new models (often within hours) and continuously optimise spend, latency and capacity.

The blog also outlines practical prerequisites: access to Bedrock models, streaming APIs, logging, and a gateway that records model, client, team and token counts. It describes how to derive metrics like output tokens per second and how to set proactive throttling alarms, helping other teams replicate the cost‑per‑task approach for their own AI‑driven coding agents.

Full story from AWS Machine Learning Blog · by Alan Yao primary sourceOpen source ↗

How Airbnb uses cost per task to operate coding agents on Amazon Bedrock

AWS Machine Learning Blog · 18 November 2026

Loading the full article…

This text was published by AWS Machine Learning Blog and written by Alan Yao. It is reproduced here with attribution so you can read it in full; the rights remain with the publisher. Read it at the source ↗

Topics · follow one to build your own front page

The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.

Comments

via GitHub Discussions

More in Agents & Tools

All →

Related stories