# Cost per task: Using cheap classifiers to route across Gemini models and thinking levels

DevFeed: [Cost per task: Using cheap classifiers to route across Gemini models and thinking levels](<https://devfeed.tech/articles/cost-per-task-using-cheap-classifiers-to-route-across-gemini-models-and-thinking-levels-116088.md>)

Original publisher: [Read original article](<https://developers.googleblog.com/cost-per-task-using-cheap-classifiers-to-route-across-gemini-models-and-thinking-levels/>)

Author: Sergio Villani

Published: 2026-11-04T10:13:45.411814Z

Content type: article

Language: en

Sources: [Google Developers Blog](<https://devfeed.tech/sources/google-developers-blog.md>)

Topics: [cloud cost management](<https://devfeed.tech/topics/cloud-cost-management.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [AI Models](<https://devfeed.tech/topics/ai-models.md>), [agentic-coding](<https://devfeed.tech/topics/agentic-coding.md>), [google-antigravity](<https://devfeed.tech/topics/google-antigravity.md>)

Tags: [classifiers](<https://devfeed.tech/tags/classifiers.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [cost](<https://devfeed.tech/tags/cost.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [models](<https://devfeed.tech/tags/models.md>), [route](<https://devfeed.tech/tags/route.md>), [thinking](<https://devfeed.tech/tags/thinking.md>), [token](<https://devfeed.tech/tags/token.md>)

## AI overview

In a single-run, 50-task coding-agent benchmark, Gemini 3.8 Flash on low thinking solved all tasks and cost less than default thinking; a Jev router that tried Flash-Lite first and escalated complex tasks also solved all 50 and reduced cost and response time versus low thinking on every task. Jev classified 48 of 50 tasks correctly overall, while a frozen keyword-and-length heuristic scored 70.6% on 34 unseen tasks. Broad simple/complex questions underperformed; one atomic yes/no Noul question improved routing. A low output-token cap did not reduce thinking on easy tasks and caused seven hard-task failures. The authors recommend starting with low thinking, then considering Jev for short, standalone tasks. Routing across models can undermine model-specific context-cache discounts, so they advise keeping long, context-heavy turns on one model. Results are limited to one run, 50 hand-labeled prompts, and simple automatic grading; costs and latency may vary.

## Source excerpt

Per-token API prices keep falling, yet engineering bills for autonomous coding agents keep climbing....