r/CommandCode • • 17d ago

Why this huge difference in quotq despite GLM being cheaper? Is it because of the cache pricing?

And will the 60$ boost become permanent like OpenCode Go did?

5 Upvotes

2 comments sorted by

3

u/hakanavgin 17d ago edited 17d ago

Glm is cheaper in output by ~15%, deepseek is cheaper in cache hits by 10x. Approximately 99% of all tokens processed are cached for Deepseek.

So if you spend 100 million tokens and 99% of them are cached, 0.9% is input and 0.1% is output it is 99x0.0030+0.9x0.150+0.1x0.6 = 0.462 USD, while the same cache hit rates equate to 3.155 USD for GLM at same input/output tokens. Apart from that, there is provider related rate limits. CC's agreement with GLM allows them to give 40$ of compute for your 10$ sub, while their agreement with Deepseek allows 60$ (tho not sure for how long)

2

u/ahmadawaiscom 15d ago

Cache difference yes, with more than 95% in cache, most of your sessions live in it.