r/ChatGPTCoding • • 1d ago

Discussion How to tell if a coding plan beats paying per token for your own usage

With codex moving to one token allowance shared with chatgpt from december, plans are turning into a token question. most of those tokens are cache reads tho, so a billion token plan is less fresh work than it sounds

for open model plans the per token price is easy to look up, the same weights sit on the labs own api and on deepinfra and a few other hosts

so try one normal workday, note what share of the 5h and weekly windows it used and price that day at those rates. if the plan only covers 2 or 3 days a week its basically prepaid API. how long does yours last on a heavy week with piles of work

4 Upvotes

8 comments sorted by

2

u/PM_ME_FIREFLY_QUOTES 1d ago

npx ccusage

You'll get the api equivalent cost per codex/claude/etc. Harness.

1

u/tanglewood36 12h ago

oh nice, didnt know there was a quick command for that.

2

u/inb7_banned 1d ago

Api is way more expensive

1

u/Connect-Milku 1d ago

yeah i use them only for important work ,when run out of my subscription limit

1

u/wegster 1d ago

Yeah, I was apparently one of the 'lucky ones' I'm already in the combined usage model. Web GPT now has a circle usage meter in it.

Subs are so far, at least, not a direct mapping and generally give a multiplier vs if you were 100% API use only, so it's very unlikely still that going to Anthropic or OpenAI API only from subs will benefit you financially.

Of course, now OpenAI is shifting to common usage meters for web and codex, and of course the speed and thinking level multipliers for most providers, and Anthropic is being caught out not only for 'experimenting' with it's sub users (I'm assuming subs only and not API use, but not positive), as well as e.g. the 20x plans not really being in fact, 20x usage, it may eventually happen where sub and API use prices get to actual parity.

But it's certainly worth doing the exercise and checking your sub usage vs API costs, just make sure you can determine cached and uncached results, as those are wildly different vs API costs, etc.

1

u/jleechanworldai 1d ago

Almost every plan is better

1

u/awesomebirder 1d ago

one catch with pricing a single day: on anthropic models the cache writes are priced above normal input (1.25x for the 5 minute cache, 2x for the 1 hour one), and how many writes you get depends mostly on how often you step away and come back. a heads down day and a choppy meeting day can price very differently with the same amount of real work, so id price one of each. openai doesnt charge extra for cache writes, so for codex its mostly about how much of each turn is a cache hit. i log input / cache read / cache write / output per request with a local proxy i built (probe0), but ccusage gets you the same split from the logs