Remix.run Logo
▲ tyre a day ago

How much does pi cost you when you’re using 5.5 via API?

I feel like the max CC plans are incredible value.

▲flaburgan a day ago | parent [-]

Why would you use it via the API?

I personally don't use Pi but Zed, but Claude is plugged using ACP on my Pro plan. I would never pay the API prices that's way too expensive.

▲jrmg a day ago | parent [-]

How are you doing this?

I was under the impression that using Pro or Max from any harness but Claude Code was clamped down upon and likely to result in a ban so haven’t pursued it.

▲jrmg a day ago | parent | next [-]

[Answering myself…]

Huh, I guess not.

You can still use harnesses/adapters that use ‘claude -p’ to connect behind the scenes. But the billing is extremely unclear, and it sounds like they use ‘more plan per token’ than just using Claude Code.

The Support page is very unclear, mentioning that you now get an allowance of tokens (and not mentioning the Pro plan at all in that section), and also saying that they’re backing off on plans they previously announced in June without saying what those those plans were, or what the status quo before them was:

https://support.claude.com/en/articles/15036540-use-the-clau...

…and there’s also this GitHub issue showing that tokens are ‘more expensive’ when using `-p`:

https://github.com/anthropics/claude-code/issues/97074

▲tyre 9 hours ago | parent | prev | next [-]

Yeah this was also my impression, which is why I asked.

Claude seems to think that the only possible path is piping through `claude -p` in the CLI, but Pi doesn't do that out of the box. There are extensions (e.g. opius) that do, and it's not clear if A\ will ban you for it.

https://claude.ai/share/a1e4f4be-ef6a-4db1-a656-bddcf30540d0

▲flaburgan a day ago | parent | prev | next [-]

Zed GUI allows you to do it it's very straightforward, you click on new Claude thread, subscription, your browser opens, you allow the access and that's it.

▲TranquilMarmot 20 hours ago | parent | prev [-]

https://zed.dev/docs/ai/external-agents

In Zed, Claude over ACP is still using the Claude Code harness but the rendering is done in the editor. It works really well.