Live data from Hacker News

Reallocating $100/Month Claude Code Spend to Zed and OpenRouter

braw.dev

151–160 of 265 posts

Re: Reallocating $100/Month Claude Code Spend to Zed and OpenRouter

#151
Does anyone use Zed with a monorepo?

I am in a situation where every sub-folder has its own language server settings, lint settings, etc. VSCode (and forks) can handle this by creating a workspace, adding each folder to the workspace, and having a separate .vscode per-folder. I haven't figured out how to do the same with Zed.

I would love to stop using VSCode forks

Re: Reallocating $100/Month Claude Code Spend to Zed and OpenRouter

#152
post #19

I don't think there's currently better value than Github's $40 plan which gives you access to GPT5 & Claude variants. It's pay per request so not ideal for back-and-forth but great for building complex features on the cheap compared to paying per token. Because GH is accessing the API behind the scenes, you should face less degradation when using Sonnet/Opus models compared to a Claude subscription. Keep a ChatGPT $2…

Google $20/mo plan has great usage for Claude Opus. Last time I used it, around Feb, it felt basically unlimited.

Agree, that was Feb. Not now, I cancelled mine on the 7th. Claude Opus via Gemini is just a few prompts then it locks you out for another week.

Re: Reallocating $100/Month Claude Code Spend to Zed and OpenRouter

#153
post #129

On the topic of Zed itself as a VSCode replacement - my experience is mixed. I loved it at first, but with time the papercuts add up. The responsiveness difference isn't that big on my system, but Zed's memory usage (with the TS language server in particular) is scandalous. As far as DX goes it's probably at 85% of the level VSCode provides, but in this space QoL features matter a lot. Oh, and it still can't render e…

QoL features is where WebStorm shines! I don't look forward to when I have to open vscode instead sometimes. Just the floating and ephemeral "Search in files" modal in Jetbrain IDEs would convince me to switch from any other IDE.

I still debate how much productivity I've gained from better AI compared to the loss from switching off WebStorm

But their tab complete situation is abysmal, and Supermaven got macrophaged by Cursor

Re: Reallocating $100/Month Claude Code Spend to Zed and OpenRouter

#154
post #15

Has anyone (other than OpenClaw) used pi? ( https://shittycodingagent.ai/ , https://pi.dev/ ) Any insights / suggestions / best practices?

Its really fantastic. I can't imagine why you'd go through the effort using Claude Code with other models when pi is a much better harness. There's tons of extensions already available, and its trivial to prompt an LLM to create your any new extension you want. Lacking creativity and want something from another harness? > Run in tmux and interrogate it how feature X works, then build me the equivalent as a pi extensi…

> but right now it works so much better to experiment and try new approaches and prompts and flows, and pi is the easiest one to tweak and make it your own.

That’s what really appeals to me. I’ve been fighting Claude Code’s attempts to put everything in memory lately (which is fine for personal preferences), when I prefer the repo to contain all the actual knowledge and learnings. Made me realise how these micro-improvements could ultimately, some day, lead to lock-in.

> Run in tmux and interrogate it how feature X works, then build me the equivalent as a pi extension.

I’ll give it a try!

Re: Reallocating $100/Month Claude Code Spend to Zed and OpenRouter

#155
I just so happen to be doing a price comparison for different cloud LLM providers right now. It turns out some of the cheapest providers with the highest limits are ones you might not have heard of.

OpenCode Go has the simplest plan at the highest rate limits for any subscription plan with multiple model families, and it's $10/month ($5/month for first month). With the cheapest model in the plan (MiniMax M2.5), it is a 13x higher rate than Claude Max, at 1/10th the price. The most expensive model (GLM 5.1) gives you a rate of 880 per 5h, which is more than any other $10 plan. I don't expect this price to last, it makes no sense. OpenCode also has a very generous free tier with higher rates than some paid plans, but the free models do collect data.

The cheapest plan of all is free and unlimited - GitHub Copilot. They offer 3 models for free with (supposedly) no limit - GPT-4o, GPT-4.1, and GPT-5-mini. I would not suggest coding with them, but for really basic stuff, you can't get better than free. I would not recommend their paid plans, they actually have the lowest limits of any provider. They also have the most obtuse per-token pricing of any provider. (FYI, GitHub Copilot OAuth is officially supported in OpenCode)

The next cheapest unlimited plan is BlackBox Pro. Their $10/month Pro plan provides unlimited access to MiniMax M2.5. This model is good enough for coding, and the unlimited number of requests means you can keep churning with subagents long after other providers have hit a limit.

The next cheapest is MiniMax Max, a plan from the makers of MiniMax. For $50/month, you get 15,000 requests per 5-hours to MiniMax M2.7. This is not as cheap as OpenCode Go, which gives you 20,000 requests of MiniMax M2.5 for $10, but you are getting the newer model.

If you don't want to use MiniMax, the next cheapest is Chutes Pro. For $20/month, you get a monthly limit of 5,000 requests.

I'll be adding more of these as I find them to this spreadsheet: https://codeberg.org/mutablecc/calculate-ai-cost/src/branch/...

Note: This calculation is inaccurate, for multiple reasons. For one, it's entirely predicated on working 8 hours a day, 22 days a month; I'll recalculate at some point to find cheapest if you wanted to churn 24/7. For another, some providers (coughANTHROPIC) don't actually tell you what their limits are, so we have to guess and use an average. But based on my research, the calculations seems to match up with the per-request API cost reported at OpenRouter. Happy to take suggestions on improvements.

Re: Reallocating $100/Month Claude Code Spend to Zed and OpenRouter

#156
post #109

I think you are kidding if you think you are going to be remotely approximately the quantity/quality of output you get from a $100/max sub with Zed/Openrouter. I easily get $1K+ of usage out of my $100 max sub. And that's with Opus 4.6 on high thinking.

Yeah — I just created an anthropic API key to experiment with pi, and managed to spend $1 in about 30 minutes doing some basic work with Sonnet. Extrapolating that out, the subscription pricing is HEAVILY subsidized. For similar work in Claude Code, I use a Pro plan for $20/month, and rarely bang up against the limits.

And it scales up - the $200 plan gets you something like 20x what the Pro plan gets you. I've never come close to hitting that limit.

It's obviously capital-subsidized and so I have zero expectation of that lasting, but it's pretty anti-competitive to Cursor and others that rely on API keys.

Re: Reallocating $100/Month Claude Code Spend to Zed and OpenRouter

#157
post #96

Earlier quoted context omitted.

had been using claude max/opus with pi and the results have been incredible. Having pi write an AGENTS.md and dip your feet into creating your own skills specific to the project. With the anthropic billing change (not being able to use the max credits for pi) I think I have to cancel - as I'm whirring through credits now. Going to move to the $250/mo OpenAI codex plan for now.

I was looking into this as well since Claude models are costing too much with the Extra Usage changes. Is OpenAI codex not also charging by usage instead of subscription when using pi?

pi is what OpenClaw runs on, and so far OpenAI seems committed to it. No telling how long it will last.

Re: Reallocating $100/Month Claude Code Spend to Zed and OpenRouter

#158
post #150
post #106

Earlier quoted context omitted.

The main thing about Openrouter is also that they take 100% of the risk in case of overcharges from the models, you have an actual hard cap. The minus is that context caching is only moderately working at best, rendering all savings nearly useless.

Is there any risk? Don't the model providers also bill by the token?

The accounting could be asynchronous, so you could overshoot your budget by a few requests before you're blocked.

Re: Reallocating $100/Month Claude Code Spend to Zed and OpenRouter

#159
post #130
post #35

I also dropped Claude Code Max. I switched to OpenCode Zen + GitHub Copilot. For some reason, Claude Code burns through my quota really quickly. https://opencode.ai/zen

I dislike how Zen (and many similar cases, not picking on Zen here) report being not for profit or transparent, while the auto-recharge mechanism guarantees they are sitting on a float of at least $5 per account, and presumably an average of at least $10. That's something like 50 cents of interest income per year per account. It's not nothing and it's hardly egregious fraud, but I feel if they will do this when it's…

Yeah man, it's a grand scheme to skim 50 cents off you per year. All combined, that might be just enough to cover their website hosting costs.

Re: Reallocating $100/Month Claude Code Spend to Zed and OpenRouter

#160
post #105

Earlier quoted context omitted.

COO of OpenRouter here. Thats right — we haven’t done it to date but we can’t have unlimited liabilities stacking up forever. At some point we will start expiring credits from accounts that have seen zero activity in over a year.

> we can’t have unlimited liabilities stacking up forever The liabilities are completely offset by prepayments from your customers though. Even better, you can earn interest on the deposits without paying any out. If you just dont want the liabilities on the books, issue refunds. Expiring credits feels like a cash grab.

It's just basic bookkeeping, storing money over fiscal years is a nightmare to manage. (At least over here, dunno about whatever country Openrouter is based in)
Post reply on HN