Gemini 3.7 Flash Lands on Devin: Challenging Claude Sonnet 5 at Half the Cost

Gemini 3.7 Flash joins Devin, promising Claude Sonnet 5-level coding at under half the cost.
Google's Gemini 3.7 Flash model has been integrated into Devin's Desktop and CLI platforms, with claims of matching Claude Sonnet 5's coding performance at less than half the cost. The Flash series leverages model distillation and compression techniques to deliver high capability at lower inference costs, making it particularly suited for token-heavy coding workflows. A two-week 50% introductory discount aims to drive adoption and gather real-world feedback from developers.
Devin Integrates Gemini 3.7 Flash: A New Balance Between Coding Performance and Cost
AI coding assistant Devin recently announced that Google's latest Gemini 3.7 Flash model has officially launched on both the Devin Desktop and Devin CLI platforms. Devin is an AI software engineer platform developed by Cognition AI, which first drew industry attention in 2024 with its positioning as "the world's first AI software engineer." Unlike traditional code completion tools (such as GitHub Copilot), Devin is positioned as an autonomous agent capable of independently completing complex software engineering tasks, including planning, coding, debugging, and deployment.
From a technical architecture perspective, Devin employs a multi-step plan-execute-feedback loop architecture, similar to the ReAct (Reasoning and Acting) paradigm widely adopted in the LLM Agent space — where the model reasons at each step and decides on the next action. This enables it to handle complex tasks requiring multiple tool calls, such as executing terminal commands, reviewing outputs, modifying code, and re-running tests. This architecture demands not only code generation capability from the underlying model, but also tool use, long-term memory management, and self-correction abilities. Devin Desktop is its desktop client, while Devin CLI is a command-line tool for terminal users, covering different developer workflow preferences.
The most notable aspect of this update is its cost-effectiveness: the company claims the model achieves Claude Sonnet 5-level performance on coding tasks at less than half the cost. To attract developers, Devin is also offering a 50% discount for two weeks.
For developers who have long relied on high-performance large models for coding assistance, this news is significant. In the past, pursuing top-tier code generation quality often meant steep API costs, and the addition of Gemini 3.7 Flash provides an extremely attractive new option for teams seeking a balance between performance and budget.

Technical Positioning and Cost-Effectiveness Analysis of Gemini 3.7 Flash
Why the Flash Series Is Well-Suited for AI Coding Scenarios
Google's Gemini series has always employed a tiered strategy, with the Flash series focused on "speed, low cost, and high throughput," designed specifically for scenarios requiring large-scale, low-latency inference. Specifically, Google's Gemini series adopts an Ultra/Pro/Flash three-tier architecture: Ultra targets the most complex reasoning tasks, Pro offers balanced general capabilities, and Flash uses Model Distillation — training a smaller model using the outputs of a larger model as training signals — to retain core capabilities while significantly reducing parameter count.
The core idea of model distillation originates from Hinton et al.'s 2015 paper. Through the "teacher-student" paradigm, smaller models learn the soft label distribution of larger models, achieving a better balance between inference efficiency and capability. In the Gemini Flash series, the application of distillation technology goes far beyond simple knowledge transfer. Google likely combines multiple model compression techniques, including Structured Pruning, Quantization-Aware Training, and attention mechanism optimizations (such as Grouped Query Attention, GQA). These techniques work together to dramatically reduce the GPU memory and computation required during inference, allowing more concurrent requests to be processed on a single GPU, directly lowering the marginal cost per inference. This explains why the Flash series can maintain high capability while pricing its API at a fraction of the Pro series.
In the specific context of AI coding, models need to frequently handle code completion, bug fixing, refactoring suggestions, and other tasks that often involve substantial token consumption. Large model APIs are typically billed based on token count, with separate pricing for input tokens and output tokens. Token consumption in coding scenarios has unique characteristics: code is typically denser than natural language — a single line of code may contain multiple tokens (variable names, operators, brackets, etc.) — and coding tasks often require extensive context (related files, type definitions, test cases) to produce high-quality output. Using a GPT-4-level tokenizer as an example, a 500-line Python file might consume 2,000-3,000 tokens. When developers need the model to understand an entire module's context, input token counts can easily exceed 100,000.
In such high-token-consumption scenarios — for example, a mid-sized development team performing hundreds of AI-assisted coding sessions daily — monthly token consumption can reach millions or even tens of millions. Even small differences in price per million tokens are significantly amplified at scale, creating enormous differences on the monthly bill. Therefore, unit cost directly impacts the actual user experience and the team's monthly expenses. If Gemini 3.7 Flash can truly achieve coding capabilities close to Claude Sonnet 5 at less than half the cost, it will significantly lower the barrier to using professional-grade AI coding tools.
What It Means to Benchmark Against Claude Sonnet 5
Devin's choice of Claude Sonnet 5 as a performance benchmark is no coincidence. Anthropic's Claude series has consistently excelled in code comprehension, long-context processing, and complex logical reasoning, making it the preferred model for many AI coding tools. Claude Sonnet 5 is Anthropic's mid-to-high-end model released in 2025, which has demonstrated outstanding performance on authoritative coding benchmarks like SWE-bench (Software Engineering Benchmark). SWE-bench evaluates a model's software engineering capabilities by having it solve real issues from GitHub repositories, covering multiple dimensions including code comprehension, problem localization, and patch generation. The Claude series has become the default recommended model for mainstream AI coding tools like Cursor and Windsurf, thanks to its excellent instruction-following ability and low hallucination rate.
Directly benchmarking Gemini 3.7 Flash against Claude Sonnet 5 sends a clear market signal: high-performance coding models are no longer synonymous with high prices.
It's important to note that the claim of "achieving Sonnet 5-level performance" comes from official sources, and actual performance still needs to be verified by developers in real projects. While SWE-bench is currently one of the most authoritative AI coding evaluations, it has known limitations: its test set primarily comes from well-known Python ecosystem open-source projects (such as Django, scikit-learn), with limited coverage of other languages and domains; it tests the ability to "generate patches given an issue," while real software engineering also involves higher-level tasks like requirements understanding, architecture design, and performance optimization; additionally, the industry has found that some models may achieve high scores by memorizing similar patches from training data rather than truly understanding the problem. Different types of coding tasks — from simple scripts to large-scale codebase refactoring — place vastly different demands on models, and actual results may vary by scenario. Therefore, developers should combine standardized benchmarks with actual testing in their own projects when evaluating models.
Practical Impact on Developers
Reshaping the Cost Structure of AI Coding
For teams using Devin, the diversification of model choices brings more flexible cost management options. Developers can switch between different models based on task complexity: using the more cost-effective Gemini 3.7 Flash for simple, high-frequency tasks while reserving budget for complex tasks that truly require top-tier reasoning capabilities.
This "choose on demand" pattern is becoming the mainstream trend for AI tool platforms. In the industry, this practice is called "Model Routing" — its core principle is intelligently distributing requests to different models based on task complexity, latency requirements, and cost budgets. The technical implementation of model routing faces several challenges: first, task complexity assessment — how do you quickly determine task difficulty without actually running the large model? Common approaches include input length-based heuristics, keyword detection, or using lightweight classification models for pre-judgment. Second, latency management — response times across different models can vary by several multiples, and routing systems need to balance cost savings against user experience. Finally, quality monitoring — the system needs to continuously track each model's performance across different task types and dynamically adjust routing strategies.
Some advanced implementations introduce meta-classifiers that automatically determine which model is best suited for the current task, without requiring manual switching by users. Companies like OpenRouter and Martian already offer commercial model routing solutions, and many enterprises are beginning to build internal routing layers to optimize AI call costs. This architectural pattern is becoming the standard design paradigm for AI-native applications. Multi-model integration not only frees platforms from dependence on a single vendor but also gives end users greater autonomy in balancing performance and cost.
The Strategic Intent Behind the Two-Week Limited Discount
Devin's two-week 50% discount for Gemini 3.7 Flash is essentially a classic market penetration strategy. By lowering the cost of trial, it encourages existing users to switch and try the new model, thereby collecting real usage data and feedback. For developers, it's also a low-risk window to evaluate whether the new model suits their workflow.
The Competitive Landscape in AI Coding
This update reflects the increasingly fierce competition in the AI coding space. As Google, Anthropic, OpenAI, and other companies continuously release stronger and cheaper models, AI coding tools are undergoing a rapid cycle of capability upgrades and cost reductions.
For AI software engineering platforms like Devin, rapidly integrating the latest and most cost-effective models is key to maintaining competitiveness. Whoever can be first to offer users "stronger and more affordable" options will capture developer mindshare.
For the developer community, this is an optimistic trend: the model arms race ultimately translates into lower usage costs and improved tool capabilities. Interested developers are encouraged to take advantage of the two-week discount period to test Gemini 3.7 Flash's coding performance in their real projects, using actual results to verify the official performance claims.
Key Takeaways
Related articles

SVD (Singular Value Decomposition) for Beginners: From Theory to Practical Applications in Image Compression and Recommendation Systems
A beginner-friendly guide to SVD (Singular Value Decomposition), covering its mathematical principles and practical applications in image compression, noise removal, and recommendation systems.

Harness Engineering: A Complete Guide to Enterprise-Level AI Development with Claude Code
A deep dive into Harness Engineering methodology—from Prompt Engineering to Context Engineering to Harness Engineering—with hands-on Claude Code demonstrations of Skill-driven enterprise full-process automated development.

AI Risks Are Real but Manageable: A Pragmatic Guide to Addressing Artificial Intelligence Challenges
AI risks are real but manageable. This guide analyzes short-term risks, long-term risks, and governance pathways for pragmatically addressing AI challenges without blind optimism or excessive panic.