How Airbnb uses cost per task to operate coding agents on Amazon Bedrock
Airbnb runs evals on real engineering tasks and uses Amazon Bedrock observability to choose models for its coding agents and control production costs. This post shows how cost per task guides model selection, why production spending can differ from eval results, and how to monitor latency, manage quotas, and attribute spend.
First seen by Oriel on .
AI summary
This AWS post explains how Airbnb combines coding-agent evals, cost per task, and Amazon Bedrock production metrics to select models and manage operational trade-offs.
- Airbnb’s AirChat sends coding-agent requests through an LLM gateway to Amazon Bedrock, serving thousands of engineers and engineering-adjacent users weekly.
- Cost per task sums uncached input, cache-read, cache-write, and output-token costs across every request needed to complete an agent task.
- Airbnb evaluates models using sandboxed tasks, graders, and reasoning-effort sweeps, producing scores and costs for seven task suites by the next morning.
- A production model cost roughly three times more per request and prompted three times as many requests, while a newer model reduced heavy users’ spend to about one-seventh.
- CloudWatch signals expose latency, throttling, and token usage; lowering max_tokens from 4,096 to 1,024 reduced initial quota reservations by about 65 percent.
#amazon bedrock #coding agents #cloudwatch #model evaluation
Generated by gpt-5.6-sol. Check the original for details.
Aliases
| Source | External ID | URL |
|---|---|---|
| AWS Machine Learning Blog | 894cf5f974d052ae129273f3503e15ca222b6c15 | https://aws.amazon.com/blogs/machine-learning/how-airbnb-uses-cost-per-task-to-operate-coding-agents-on-amazon-bedrock/ Read discussion |