Skip to content
gentic.news — AI News Intelligence Platform
Connecting to the Living Graph…

Listen to today's AI briefing

Daily podcast — 5 min, AI-narrated summary of top stories

Matei Zaharia's team at Databricks tests coding agents on their polyglot codebase, with open-source GLM-5.2 matching…
AI ResearchBreakthroughScore: 75

Databricks Tests Coding Agents on Its Own Codebase

Databricks benchmarked coding agents on its own polyglot codebase. GLM-5.2 matched top closed models, a minimal harness halved costs, and cheaper-per-token models cost more per task.

·8h ago·5 min read··9 views·AI-Generated·Report error
Share:
Source: pub.towardsai.netvia towards_aiSingle Source
What did Databricks find when benchmarking coding agents on its own codebase?

Databricks CTO Matei Zaharia's team benchmarked coding agents on their own polyglot codebase (Scala, Go, Rust, Java, TypeScript). GLM-5.2 matched top closed models, the minimal Pi harness matched vendor harnesses at half the cost, and cheaper per-token models like Sonnet 5 cost more per task.

TL;DR

GLM-5.2 matches top closed models on Databricks' polyglot codebase. · Minimal Pi harness halves cost vs vendor harnesses with same success rate. · Cheaper per-token models like Sonnet 5 cost more per completed task.

Databricks CTO Matei Zaharia's team benchmarked coding agents on the company's own polyglot codebase. The results show open-source GLM-5.2 matching top closed models and a minimal harness beating vendor harnesses at half the cost.

Key facts

  • Pi harness matched vendor harnesses at 2x less cost.
  • GLM-5.2 matched top closed models on Databricks' polyglot codebase.
  • Sonnet 5 cost more per task than Opus 4.8 despite lower per-token price.
  • Per-token rate cards are 'nearly useless' for agentic workloads.
  • Omnigent open-sourced under Apache 2.0 as a 'meta-harness'.

Public coding benchmarks have a dirty secret: they all look suspiciously alike. SWE-bench and Terminal-Bench are dominated by Python-ish repos with fixed tests — and your codebase probably isn't. So when Databricks CTO Matei Zaharia's team wanted to know which coding agents actually work, they built an internal benchmark on a sample of their own codebase — a polyglot beast of Scala, Go, Rust, Java, TypeScript, Protobuf, Jsonnet, and more — and published what they found According to the source.

The findings are the most useful coding-agent data of the summer, because two of them cut directly against how most teams choose their stack. Zaharia was careful about the epistemics up front: these are results on their sample of their codebase, not meant to be comprehensive — but many companies can run a similar internal benchmark.

Key Takeaways

  • Databricks benchmarked coding agents on its own polyglot codebase.
  • GLM-5.2 matched top closed models, a minimal harness halved costs, and cheaper-per-token models cost more per task.

The top tier is crowded — and open source is in it

How to Run AI Agents on Databricks | by M…

The first result is the least surprising but sets the stage: many models are now competitive at the top tier, including open source. The era when one closed model was unambiguously ahead on real engineering work is over; on Databricks' internal tasks, multiple models cluster at the top. That has a practical consequence: if several models are near-equivalent on your tasks, then model choice stops being the decision that matters most — and the decisions that do matter shift downstream, to the harness and the economics.

GLM-5.2 holds up far from benchmark-land

The sharper version of finding one: GLM-5.2 in particular was a major step forward in open-source coding-agent performance — even on a codebase that looks nothing like SWE-Bench or TerminalBench. The standing objection to open-model benchmark wins has always been distribution overlap: maybe the model is great at the kind of Python-repo task benchmarks measure, and falls apart on your Scala services and Protobuf schemas. Databricks' codebase is close to a worst-case test of that objection — heavy in Scala, Go, Rust, Java, TypeScript, Protobuf, Jsonnet — and GLM-5.2 delivered anyway. This independent, adversarially-different data point confirms that GLM-5.2's FrontierSWE numbers survive contact with messy, unfamiliar reality. Per the arXiv preprint on MLA, the price reversal phenomenon formalizes why cost-per-token metrics mislead for agentic workloads.

The harness result nobody should skip

Harnesses make a huge difference in cost-performance. Specifically — the very simple Pi harness (Mario Zechner's minimal, four-tool agent) achieved the same success rate as the LLM vendors' own harnesses running Opus and GPT-5.5 — at 2x less cost. The mechanism, per Zaharia: mainly smaller inputs to the LLM. Every token of scaffolding a harness injects — tool descriptions, boilerplate instructions, machinery — is a cost you pay on every model call of every step. Pi's minimalism turns out to be economics.

The price-tag trap: cheaper per-token ≠ cheaper per-task

Build Multi-agent Apps with Databricks & OpenAI | Medium

The subtlest finding is the one most likely to be costing you money right now: cheaper per-token does not imply cheaper per-task. In Databricks' runs, Sonnet 5 costs less per token than Opus 4.8 — but used more tokens, resulting in higher total cost and lower quality. The cheaper model took more steps, more retries, more verbose reasoning to do the same work — and lost on both axes. Zaharia points to research from his former student Lingjiao Chen formalizing it as the "Price Reversal Phenomenon" — the first systematic study showing listed API prices routinely misrepresent actual inference costs for reasoning models. The company's blog post provides the full write-up on how the benchmark was built.

What Databricks is doing about it

The findings explain two of the company's recent bets. Omnigent — the open-source (Apache 2.0) "meta-harness," a harness of harnesses in Zaharia's phrase — exists because you want to switch and compose agents and harnesses per task rather than marry one. And Unity AI Gateway exists because someone needs to analyze and gate LLM usage centrally, since costs hide in places rate cards don't show. But the most transferable takeaway isn't a product — it's the method: sample your own codebase, run the candidates through it, and measure success rate and cost-per-task yourself.

What to watch

Watch for adoption of Omnigent by other enterprises running internal agent benchmarks, and whether the 'Price Reversal' paper influences how major cloud providers price agentic workloads. The Q3 enterprise spending reports from Databricks and Snowflake will reveal whether cost-per-task metrics replace per-token pricing in procurement decisions.


Source: pub.towardsai.net


Sources cited in this article

  1. Zaharia
Source: gentic.news · · author= · citation.json

AI-assisted reporting. Generated by gentic.news from 1 verified source, fact-checked against the Living Graph of 4,300+ entities. Edited by Ala SMITH.

Following this story?

Get a weekly digest with AI predictions, trends, and analysis — free.

AI Analysis

The Databricks benchmark is significant not for its leaderboard — which is explicitly non-generalizable — but for its methodology and the structural insights it reveals. Finding 3 (harness cost) and Finding 4 (price reversal) together challenge the entire procurement logic that has dominated enterprise AI spending. Most teams optimize for model quality first, then accept the vendor's recommended harness and the listed per-token price. The Databricks data suggests this is backwards: harness design may dominate both cost and quality outcomes, and per-token pricing is actively misleading for agentic workloads. GLM-5.2's strong showing on a non-Python codebase is a meaningful data point for the open-source argument. The standing objection that open models only win on benchmark distributions that overlap with their training data is harder to sustain when a model performs well on Scala, Go, Rust, and Protobuf tasks — languages that are underrepresented in most training corpora. This suggests that the model's coding ability may be more general than skeptics assumed. The Pi harness result is the most actionable finding. If a minimal four-tool agent can match vendor co-trained harnesses at half the cost, then every company running agents at scale should audit their harness's input footprint before negotiating model contracts. The optimization target isn't model choice — it's the sum of tokens per completed task across the full agent loop.
Compare side-by-side
GLM-5.2 vs Claude Sonnet 5
Enjoyed this article?
Share:

AI Toolslive

Five one-click lenses on this article. Cached for 24h.

Pick a tool above to generate an instant lens on this article.

Related Articles

From the lab

The framework underneath this story

Every article on this site sits on top of one engine and one framework — both built by the lab.

More in AI Research

View all