Databricks Benchmarks Coding Agents on its Codebase
Databricks developed an internal benchmark to evaluate coding agents' performance and cost-efficiency on real-world tasks within its multi-million line codebase. The analysis reveals that a mix of models and harnesses is needed for optimal performance, and token price is a poor indicator of overall task cost. This benchmark aims to guide engineers in selecting the most efficient tools for various coding complexities, improving overall engineering productivity.
- →Coding agent performance and cost analysis
- →Coding agents grouped into capability tiers
- →Databricks develops internal benchmark for coding agents
- →Token price is not a reliable cost indicator
- →Harness significantly impacts cost and quality
Features (2) ›
- Coding agent performance and cost analysis
The benchmark results indicate that the Pareto frontier for coding tasks includes models from OpenAI, Anthropic, and open-source options, suggesting a mixed-tool approach is optimal. Open models, like GLM 5.2, are now capable of handling high-difficulty tasks and can be cost-effective alternatives to more expensive models.
- Coding agents grouped into capability tiers
The benchmark identified three distinct capability tiers for coding agents. While high-end models excel at all problem types, they are expensive. Medium and lower-intelligence models are effective and cheaper for common tasks, suggesting a shift towards these for daily development.
Enhancements (2) ›
- Token price is not a reliable cost indicator
Analysis shows that token price is a poor predictor of actual end-to-end task costs. Larger, more token-efficient models can incur lower overall costs despite higher per-token rates. Model efficiency varies significantly, impacting task completion time and token consumption.
- Harness significantly impacts cost and quality
The harness used to call a model dramatically influences both cost and quality. Simple harnesses, like Pi, often performed best on Databricks' workloads, demonstrating the importance of context management in task execution. Model choice is only one part of the efficiency puzzle.
Notes (2) ›
- Databricks develops internal benchmark for coding agents
Databricks has created an internal benchmark to evaluate the performance and cost-effectiveness of coding agents on real-world tasks, using its own multi-million line codebase. This benchmark aims to help engineers make informed decisions about tool selection.
- Methodology for building the custom benchmark
The benchmark was constructed using a rigorous process, filtering recent, human-written pull requests with high-quality tests and self-contained changes. Tasks were carefully crafted to represent typical full-stack development needs across various languages and services used at Databricks.
https://www.databricks.com/blog/benchmarking-coding-agents-databricks-multi-million-line-codebase