medium.com 6 min read Original Source

I Ditched Cursor for Free AI Coding Agents — 4 Tools, $0 Spent, Honest Results

OpenCode, pi, T3 Code, and Kilo are all free and open-source. I spent two weeks using each one on real projects. Here’s what actually works — and what doesn’t.

I was paying $60/month for Cursor and another $20/month for Copilot before I asked myself a stupid question: what if I just didn’t? The open-source AI coding agent space has exploded in 2026, and four tools keep showing up in every developer forum I read. So I stopped paying and spent two weeks rotating through OpenCode, pi, T3 Code, and Kilo on my actual production work. No toy demos. No “hello world” tests. Real code, real deadlines, real frustration.

Here’s what happened.

The Tools Nobody’s Talking About (But Should Be)

Let me be clear about what these tools are. They’re not AI models. They’re not trying to be GPT-5 or Claude Opus. They’re harnesses — thin layers that sit between you and whatever model you want to use. You bring your own API key, pick your model, and the agent handles context management, file editing, command execution, and multi-step reasoning.

The four I tested:

OpenCode — Terminal-first, supports 75+ providers, strong “Build” and “Plan” workflow modes. The most polished TUI experience of the bunch.

pi — Self-described as a “minimal terminal coding harness.” Maximum customizability through extensions, skills, and prompt templates. Built for power users.

T3 Code — GUI-first approach by Theo (of T3 Stack fame). Clean visual layer over agentic coding. Less terminal, more mouse.

Kilo — Editor and team-workflow oriented. Structured modes, code reviews, cloud execution. Actually a fork of OpenCode with a broader platform vision.

All four are free to install. All four are open-source. The cost comes from whatever API keys you plug in — and that’s where things get interesting.

What “Free” Actually Costs (I Tracked Every Penny)

This is the part most articles skip. “Free” doesn’t mean zero cost. These tools need a model behind them, and models cost money. I tracked my API spending across all four tools over two weeks of real work.

My baseline: I was spending roughly $80/month across Cursor ($60 Max) and Copilot ($20). Here’s what the open-source tools cost me:

With Claude Sonnet 4.6 via API: About $12–18/day during heavy coding sessions. That adds up fast — $60–90/week if you’re coding full-time. This is the “premium” experience and it shows. Code quality is excellent, multi-file refactoring actually works, and the agent rarely gets stuck in loops.

With GPT-4o via API: $6–10/day for similar workloads. Cheaper, and the general knowledge is better for debugging obscure library issues. But the code quality is noticeably rougher around the edges — more hallucinated imports, more “let me rewrite this entire file” when you asked for a three-line fix.

With local models via Ollama: $0/day. I ran Qwen 2.5 Coder 32B and DeepSeek Coder V2 on my M2 MacBook Pro. Response times were 8–15 seconds versus 2–3 seconds for cloud APIs. For simple edits and boilerplate, this was genuinely good enough. For complex multi-file refactors, it struggled badly.

The real winner? Model switching. This is where open-source agents crush proprietary tools. Cursor locks you into their ecosystem. These tools let you use Sonnet for complex tasks, GPT-4o for debugging, and a local model for quick edits — all in the same day. My two-week spend was $94 total. That’s less than one month of my previous setup.

The Setup Tax: What Nobody Warns You About

Here’s the honest part that might save you an afternoon.

OpenCode took about 20 minutes to set up. Install, add your API key, done. The TUI is intuitive if you’ve used tools like lazygit or htop. The Build/Plan workflow is genuinely smart — Plan mode gives you a read-only pass to think before you commit to changes. I burned zero time on configuration.

pi took me two hours. Not because it’s broken, but because it’s a toolkit, not a product. You’re supposed to spend time configuring it. That’s the point. Once I had my extensions set up, prompt templates tuned, and provider switching mapped to keybindings, it felt like a coding environment built specifically for me. The learning curve is real, but the payoff is proportional.

T3 Code was the fastest to start — about 10 minutes. Install, open the GUI, connect your API. If you’ve used VS Code, you already know how to use T3 Code. The visual diff viewer is excellent. But I hit a wall when I tried to switch models mid-session. You can’t. You pick a provider and you’re locked in for that session. For simple work, that’s fine. For my workflow where I bounce between models based on task complexity, it was limiting.

Kilo was about 30 minutes, mostly reading documentation. The modes system (code, review, architect) is well thought out. Local model support through Ollama worked on the first try, which surprised me. The code review mode caught issues I would have missed. But it’s bigger and heavier than the others — if you want something minimal, Kilo might feel like overkill.

Real Project Testing: Where Each Tool Shines and Struggles

I used each tool for different parts of my actual work week.

OpenCode on a Node.js API refactor: This is where OpenCode earned its keep. I had a REST API with 40+ endpoints that needed middleware restructuring. OpenCode’s Plan mode mapped out the changes across 12 files before touching anything. Then Build mode executed the refactor cleanly. One run. No broken imports. No orphaned functions. I was genuinely impressed. The terminal-first workflow meant I never left my keyboard.

pi on a React component library: pi’s extensibility showed here. I wrote a custom skill that enforced my component structure conventions — prop types, test files, Storybook stories, barrel exports. pi followed the pattern perfectly across 15 new components. The prompt template system let me codify rules that other tools would need repeated instructions for. Setup took time, but the consistency payoff was massive.

T3 Code on a Python data pipeline: The GUI shone for this work. Visualizing data transformations, seeing diffs side-by-side, clicking through file changes — this is where TUI tools fall behind. T3 Code handled the pipeline logic well, and the visual feedback made debugging easier. But when I needed to switch to a cheaper model for the repetitive ETL boilerplate, I couldn’t without starting a new session. Annoying.

Kilo on a team onboarding doc and code review: Kilo’s review mode is its killer feature. I pointed it at a junior developer’s pull request, and it produced a structured review with severity ratings, suggested fixes, and references to our style guide. Not perfect — it missed a subtle race condition — but good enough to save me 30 minutes of manual review. The cloud execution mode let me run checks without tying up my local machine.

The Anthropic Situation: Read This Before You Choose

This matters and most coverage glosses over it. Anthropic has been cracking down on tools that use Claude Pro/Max subscriptions through unofficial plugins. OpenCode used to autoload a Claude subscription auth plugin — they removed it in version 1.3.0 after Anthropic pushed back legally.

What this means for you:

  • OpenCode: API keys only for Anthropic models. No subscription access.
  • pi: Still officially supports Claude Pro/Max subscriptions. If you have a Claude sub and want to use it with an open-source agent, pi is currently your best bet.
  • T3 Code: Supports Claude if you have Claude Code CLI installed and signed in. A workaround, but it works.
  • Kilo: API keys only. No subscription support.

If you’re paying for Claude and want to use that subscription with an open-source agent, this narrows your choices significantly. If you’re API-key-first anyway, it doesn’t matter.

Honest Verdict

After two weeks, here’s where I landed.

OpenCode is the best overall pick for most developers. Terminal-first, provider-agnostic, minimal setup, and the Plan/Build workflow is genuinely useful. If you’re comfortable in a terminal and want something that works immediately, start here.

pi is the best pick if you’re a power user willing to invest setup time. The customization depth is unmatched. If you code 6+ hours a day and want an environment that conforms to your workflow (not the other way around), pi rewards the investment.

T3 Code is the best pick if you want a GUI. Full stop. The visual layer is clean, the setup is instant, and the model-locking limitation is the only real downside. If you do most of your coding in focused sessions with one model, you won’t even notice.

Kilo is the best pick for teams and editor-first workflows. The code review mode alone justifies the install. If you do code reviews regularly or want structured modes for different tasks, Kilo delivers.

I’m not going back to Cursor. My $80/month habit is now $40–50/month in API costs with better model flexibility and zero vendor lock-in. The tools are real. The quality is there. The only thing missing is the marketing budget.