IDEs
These guides apply the practice sequence to specific AI coding environments. Each tool has different defaults for models, context attachment, and usage dashboards — the optimization order is the same; the controls are not.
Start with Where to start for the general technique stack, then open the guide for your editor.
Evaluating a switch? See Alternatives for “alternative to X” comparisons ranked by token economics.
Tool landscape
| Tool | Type | Price | Open source | Best for |
|---|---|---|---|---|
| Cursor | Full IDE | $20/mo | ✓ | Primary driver IDE — Composer UX |
| Windsurf | Full IDE | Free* | ✓ | Cascade agent work with SWE model routing |
| Devin | Full IDE + cloud agent | Free* | ✓ | Local agents and autonomous cloud sessions |
| Zed | Full IDE | Free* | ✓ | Speed-focused dev — GPU-rendered UI |
| Trae | Full IDE | Free* | ✕ | Hobbyist experimentation |
| Cline | VS Code extension | Free* | ✓ | Task-driven agentic work |
| GitHub Copilot | VS Code extension | $10/mo | ✕ | Corporate standard |
| Claude Code | Terminal agent | Free* | ✓ | Automated testing and PRs |
| OpenCode | Terminal agent | Free* | ✓ | TUI agent with Plan/Build routing |
| Aider | Terminal agent | Free* | ✓ | Terminal-heavy users — git-native edits |
| OpenRouter | LLM gateway (BYOK) | Pay per use | ✕ | One API key across Cline, Aider, and custom agents |
*Free tier or BYOK — you still pay upstream model providers (or quota allowances) unless the tool includes bundled inference.
Strengths and tradeoffs
| Tool | Strengths | Tradeoffs |
|---|---|---|
| Cursor | Best-in-class UX, Composer | Subscription cost |
| Windsurf | SWE models free on quota plans, strong Cascade | Cognition ecosystem overlap with Devin |
| Devin | Adaptive routing, cloud + local surfaces | Multiple meters (ACUs, credits, quota) |
| Zed | High performance, GPU-rendered | Fewer extensions than VS Code |
| Trae | Adaptive learning, free tier | Data privacy concerns — verify retention settings |
| Cline | Open source, high agency | Requires setup (API keys, MCP) |
| GitHub Copilot | Deep ecosystem integration | Closed models, premium request caps |
| Claude Code | CLI native, direct OS access | No GUI |
| OpenCode | Plan/Build split, compaction | Terminal-only workflow |
| Aider | Excellent git integration | Steep learning curve |
| OpenRouter | 500+ models, one key, routing fallbacks | Gateway fee on top of provider rates |
Many terminal agents and extensions route through OpenRouter for BYOK — read that guide alongside your editor guide if you share one API key across tools.
Guides
Each guide follows the same sequence: measure → model routing → trim context → tighten prompts → set guardrails.
Full IDEs
| IDE | Guide | Dominant waste |
|---|---|---|
| Cursor | Tokenminning in Cursor | Unbounded agent loops, rules/MCP bloat, long chat cache growth |
| Windsurf | Tokenminning in Windsurf | Long Cascade threads, frontier models on routine work, pinned context |
| Devin | Tokenminning in Devin | Cloud session sprawl, always_on rules, MCP tool cap, Arena parallel runs |
| Zed | Tokenminning in Zed | Long assistant threads, default model tier, broad @-style context |
| Trae | Tokenminning in Trae | Builder session sprawl, adaptive context growth, default frontier models |
VS Code extensions
| Tool | Guide | Dominant waste |
|---|---|---|
| Cline | Tokenminning in Cline | Auto-approved tool loops, oversized MCP schemas, marathon task threads |
| GitHub Copilot | Tokenminning in GitHub Copilot | Agent mode context, premium request burn, chat vs inline misuse |
Terminal agents
| Tool | Guide | Dominant waste |
|---|---|---|
| Claude Code | Tokenminning in Claude Code | Bash/tool output in context, CLAUDE.md bloat, headless session sprawl |
| OpenCode | Tokenminning in OpenCode | Long TUI sessions, MCP schema bloat, Build loops without step caps |
| Aider | Tokenminning in Aider | Repo-map bloat, architect/edit cycles, conventions file duplication |
Gateways
| Tool | Guide | Dominant waste |
|---|---|---|
| OpenRouter | Tokenminning with OpenRouter | Frontier defaults, missing fallbacks, no per-key caps, cache-unaware routing |