<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ashan Dhanapala on Medium]]></title>
        <description><![CDATA[Stories by Ashan Dhanapala on Medium]]></description>
        <link>https://medium.com/@craters_inroads.4x?source=rss-45ac6b7f4a31------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Jx3irWyOQSuwkOPOthC7pg.png</url>
            <title>Stories by Ashan Dhanapala on Medium</title>
            <link>https://medium.com/@craters_inroads.4x?source=rss-45ac6b7f4a31------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 17:08:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@craters_inroads.4x/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Does It Even Matter? Cursor Router and Claude Code Compared]]></title>
            <link>https://medium.com/@craters_inroads.4x/does-it-even-matter-cursor-router-and-claude-code-compared-1b1efed30d1c?source=rss-45ac6b7f4a31------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b1efed30d1c</guid>
            <category><![CDATA[cursor]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Ashan Dhanapala]]></dc:creator>
            <pubDate>Sun, 06 Sep 2026 19:22:20 GMT</pubDate>
            <atom:updated>2026-09-07T05:28:42.007Z</atom:updated>
            <content:encoded><![CDATA[<h3>TL;DR</h3><p>The harness matters more than the model. Claude Code’s agentic loop is what drives quality for complex work, not the model underneath.</p><h3><strong>The Problem Statement</strong></h3><p>In a rapidly overwhelming AI world, looking for the best fitting AI model could be the most perplexing task you would face. Nevertheless, I am convinced that at any given moment a software engineer has a confirmation bias towards one or more AI model to help write code.</p><p>Mainly there are two approaches to choose an AI model. Pick it yourself or let the IDE(Cursor) pick it for you. Between these two, I prefer letting the IDE pick for me because changing the model in context always gets lost in your thinking process. It gets overshadowed by the multiple <em>worktrees</em> you have to manage while working with multi-agent workflows.</p><p>However, there is more nuance rather than relying on convenience to choose an approach. Quality of the output, context window, cost per million tokens, velocity of token usage, monthly subscription, tech sovereignty and the list goes on. Therefore, I ran real tests to evaluate deterministic results instead of trusting the feeling and convenience.</p><h3><strong>The Background</strong></h3><p>Cursor Auto has not worked the way most people think since July 2026. They introduced a classifier called Router to the auto mode. Cursor router directs users to different cost efficient models depending on the query. There are three modes that reflect intelligence and cost.</p><p>The modes are;</p><ol><li>Cost (equivalent to legacy auto mode)</li><li>Balance (Optimises intelligence and cost)</li><li>Intelligence (Routes to most capable models for complex tasks and has a lower cost than running single frontier model ex. Fable)</li></ol><p>Cursor router routes users across below models;</p><ol><li>GPT-5.5</li><li>Claude Opus 5</li><li>Grok 4.5</li><li>Claude Fable 5.1</li></ol><p>In addition, Cursor Grok 4.5 is a requirement for the router. Blocking GPT-5.5 or Claude Opus 5 will reduce routing quality and blocking both disables the router.</p><p>Cursor claims there is a 30% to 50% cost reduction whilst producing frontier model output.</p><p>A caveat in the auto mode is that you will be billed at the list price of model of each request routed to. By default, the routed model is hidden from the users in order to judge the output based on the merit and satisfaction. However, this can be changed to a visible state by the account administrator.</p><p>See more pricing — <a href="https://cursor.com/docs/models-and-pricing#auto-modes">https://cursor.com/docs/models-and-pricing#auto-modes</a>.</p><p>Cursor states:</p><blockquote>We found that Auto Intelligence mode <strong>lands near Fable on user satisfaction of output at about 60% lower cost for teams</strong>, while also lifting satisfaction about 15% over Opus 4.8 at nearly the same cost.</blockquote><p>Cursor determines satisfaction based on the user moving to the next feature and keep rate (agent generated code kept in the codebase).</p><figure><img alt="Cursor Router produces frontier-quality results at a 60% reduction in cost" src="https://cdn-images-1.medium.com/max/1024/1*sCEZZf4VW5HyhhMTQNaSTQ.jpeg" /></figure><p>Which means quality of output is subjective and there is no deterministic way to calculate how good a given output is.</p><p>Hence, I was more convinced to run my own tests to determine the outcome.</p><p>Therefore, I compared a classifier, a model choice, and with a different harness; Claude Code.</p><h3><strong>The Research &amp; Evaluation</strong></h3><h4>Evaluation Process</h4><p>The assessment procedure involved a prompt (Appendix 1) examined through four distinct AI model approaches, compiling data across eight separate categories.</p><h4>Data Collection &amp; Known Limitations</h4><p><strong>Prompt</strong><br>Identical verbatim prompt across all four runs: MVVM, Swift Data, Splash Screen, Login (admin/admin), Animations, iOS 17+.</p><p><strong>Cursor token source<br></strong>Cursor usage panel / CSV export. ‘Input w/ Cache Write’ + ‘Input w/o Cache Write’ = fresh input. Cache write not exposed by Cursor for routed models.</p><p><strong>Claude Code token source<br></strong>Exact from JSONL session files. Fields: input_tokens, cache_creation_input_tokens, cache_read_input_tokens, output_tokens aggregated across all turns.</p><p><strong>Time measurement<br></strong>Cursor: wall-clock timer from prompt submission to full output.<br>Claude Code: derived from JSONL first/last timestamps.</p><p><strong>Quality scoring<br></strong>Scored manually against rubric.</p><h4>Results</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*5Hvhn0fyt87Uco3jW5_8vg.png" /></figure><h3>So, does it even matter?</h3><p>Yes!, but not in the way I expected.</p><p>I assumed this would be a quantitative evaluation about model choice and approaches. Which approach produces the best output while considering the cost? Does Claude Code Opus 5 premium justify over Cursor Auto Balance? Those turned out to be the wrong questions entirely.</p><p><strong>The real finding is about the harness you choose.</strong></p><p>At three minutes and $0.37, Cursor Auto Balance surprised me the most. It was the fastest and cheapest to run. However, the quality of the output was not up to the standard. It used only Grok 4.6 and generated 12,188 tokens. Perhaps Grok 4.6 is not the correct model for a Cursor Auto Balance mode.</p><p>Cursor Auto Intelligence and Cursor Auto Cost both scored 3 on the quality scale for their outputs. It needed some rework despite a 4.5× cost difference ($0.47 vs $5.58) and a 13× time difference (5 minutes vs 40 minutes). In my opinion, it is hard to justify Cursor Auto Intelligence for complex work. Cursor Auto Cost mode delivered comparable quality output at a fraction of a cost and time.</p><p>Cursor Auto Intelligence is the worst value proposition in this benchmark. It is nearly four times the cost of Claude Code at $117/M output tokens. It still produced the same quality as Cursor Auto Cost Mode.</p><p>The most enlightening comparison in this data set is between Cursor Auto Intelligence and Claude Code. The same Opus 5 model ran through two completely different harnesses.</p><p>Cursor Auto Intelligence generated 47,535 tokens. In Claude Code’s Opus 5 agentic loop, the same model generated 170,797 tokens across 79 tool-call turns. It remarkably outperformed all other outputs.</p><p><strong>The nuance is that the model did not change. The agentic loop did.</strong></p><p>This is not a criticism of Cursor. Cursor has its own advantages with its integrated experience. However, given the nature of work this benchmark represents — multi-file architecture, a persistence layer, an authentication flow, and animations — the agentic loop is not just a convenience feature when you look at the results. It is where the quality lives. Therefore, Claude Code with Opus 5 scored the highest in this comparison while justifying its cost and capabilities</p><h3>Appendices</h3><p>Appendix 1</p><pre>You are a senior iOS engineer. Build a production-grade SwiftUI todo list application with the following architecture and features.<br><br>**Architecture:**<br>- Use MVVM pattern with separate ViewModel and Model layers<br>- Use Swift Data for persistence (@Model, @Query)<br>- Implement proper dependency injection<br>- Separate concerns: Views → ViewModels → Data models<br><br>**Authentication (Login Screen):**<br>- Login screen shown first (before todo list)<br>- Hardcoded credentials: username &quot;admin&quot;, password &quot;admin&quot;<br>- On successful login, navigate to main app<br>- Add logout button in todo list (returns to login)<br>- Store login state using @AppStorage or in-memory state<br><br>**Splash Screen:**<br>- Show a branded splash screen on app launch (2-3 seconds)<br>- Transition smoothly to login screen<br>- Use DispatchQueue.main.asyncAfter for timing<br><br>**Todo List Features:**<br>1. Display persisted todo items (via Swift Data)<br>2. Text input field at top to add new todos<br>3. &quot;Add&quot; button next to input<br>4. Each todo row shows:<br>   - Leading checkbox (tap to toggle completion)<br>   - Center text (strikethrough when completed, with animation)<br>   - Trailing delete button<br>5. Persist all changes to Swift Data automatically<br>6. Display count of completed vs. total todos<br>7. Logout button (top-right) returns to login screen<br><br>**Animations:**<br>- Fade-in animation on splash screen<br>- Scale transition when adding a todo<br>- Opacity/strikethrough animation when toggling completion<br>- Delete animation (slide-out + fade)<br><br>**Data Model:**<br>- TodoItem: id (UUID), text (String), isCompleted (Bool), createdAt (Date)<br>- Use @Model decorator for Swift Data persistence<br>- Use @Query for fetching todos<br><br>**Technical Requirements:**<br>- iOS 17+ (Swift Data availability)<br>- Use @Query, @Model, and ModelContainer<br>- Navigation via NavigationStack or NavigationSplitView<br>- Implement proper error handling for login<br>- No force unwraps<br>- Follow Swift naming conventions<br>- Code must compile without warnings<br>- Use @EnvironmentObject or @Environment for dependency injection<br><br>**Output:**<br>- Return ONLY the Swift code<br>- Wrap in ```swift ... ```<br>- Include all views: SplashScreenView, LoginView, TodoListView<br>- Include all ViewModels: LoginViewModel, TodoListViewModel<br>- Include TodoItem model with @Model decorator<br>- Include App struct with ModelContainer setup<br>- Do not include build configuration or asset files<br><br>**Do not:**<br>- Use UserDefaults instead of Swift Data<br>- Add external packages (Alamofire, Firebase, etc.)<br>- Add multiple feature screens beyond login and todos<br>- Use custom state management libraries<br>- Hardcode UI colors/fonts without constants<br>- Include navigation debugging or print statements</pre><h3>References</h3><p><a href="https://cursor.com/docs/cursor-router">Cursor Router | Cursor Docs</a></p><p><a href="https://cursor.com/help/models-and-usage/available-models">https://cursor.com/help/models-and-usage/available-models</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b1efed30d1c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>