Workload-Based Model Evaluation and Routing for Antigravity CLI

I’ve been experimenting with something beyond the usual question of which AI model is best at coding.

What if model selection was based on actual engineering workloads rather than a single overall benchmark score?

As part of my AGY productivity framework, I evaluated four models across 25 engineering tasks, with each task executed using actual tools in an isolated workspace and validated programmatically.

The experiment

  • 25 engineering tasks

  • 4 models

  • 5 workload categories

  • 100 live tool-enabled evaluations

  • Automated AST, SQL, HCL and unit-test validation

  • A separate 5-task live holdout to validate the routing policy

Overall results

Model Score Avg. tools Mean latency
Gemini 3.8 Flash Low 22/25 7.40 29.0s
Gemini 4 Hydrogen Medium 22/25 4.76 28.2s
Gemini 4 Hydrogen High 21/25 5.32 34.9s
Claude Sonnet 4.6 20/25 7.56 40.7s

Two models tied on overall accuracy, but their strengths were very different.

What the workload breakdown revealed

Workload Primary model Result
Python implementation Gemini 3.8 Flash Low 5/5
BigQuery SQL Gemini 4 Hydrogen Medium 5/5
Repository investigation Gemini 4 Hydrogen Medium 5/5
Terminal debugging Gemini 3.8 Flash Low 5/5
Architecture & infrastructure planning Gemini 3.8 Flash Low 4/5

The interesting part wasn’t the overall ranking. It was how differently the models behaved depending on the workload.

  • Hydrogen Medium was particularly efficient in BigQuery SQL and repository investigation.

  • Flash Low performed strongly in Python implementation and terminal debugging, while consuming substantially fewer output tokens than the higher-reasoning tier.

  • Hydrogen High didn’t automatically improve results despite using significantly more output tokens.

  • Fallback models provided an additional recovery path when primary model execution or validation wasn’t sufficient.

What I did with the results

Rather than stopping at a benchmark table, I used the results to calibrate a workload-based routing policy.

The policy assigns a primary model and fallback sequence by task category. I then ran a separate live holdout through the routed policy, with 5/5 tasks validated successfully across the five categories.

The idea is to avoid using the same model, reasoning tier and resource profile for every engineering task when the evidence suggests otherwise.

I’m interested in how others are approaching model selection in coding-agent workflows.

Are you using one model as your default for everything, manually switching based on the task, or experimenting with automated routing and fallbacks?

For the complete results, see the full benchmark matrix, evaluation methodology, and calibrated routing policy.