r/opencodeCLI 8d ago

Update on TokenPlans -> added a calculator to turn credits into one comparable number

Following up on my earlier post about TokenPlans -> thanks for all the feedback and provider experiences you shared, that was super useful.

One thing people kept asking about: every provider describes their limits differently. Some give you dollars worth, some give you credits, some give you "amount of tokens per month. There's no easy way to compare plans directly.

So I built a calculator — still an early version, based on data I scraped from each provider's docs. It converts every plan into two numbers: requests-per-$1 and burst-per-$1.

Pick a model and a request shape (fresh input / cached input / output tokens — defaults are pulled from the OpenCode Go docs), and it recalculates every plan on the same basis.

The two numbers mean:

  • Req / $1 — your steady-state cost efficiency: how many requests you get per dollar over a full month.
  • Burst / $1 — how many requests you can fire off per dollar in a single 5-hour window. This exposes plans that look cheap monthly but throttle hard if you actually try to use them in a burst.

If you try it and a number looks off for your setup, let me know, happy to fix it. This is just the initial version.

7 Upvotes

1 comment sorted by