Hacker News new | ask | show | jobs
by dchuk 127 days ago
curious if the 1m context window will be default available in claude code. if so, that's a pretty big deal: "Sonnet 4.6’s 1M token context window is enough to hold entire codebases, lengthy contracts, or dozens of research papers in a single request. More importantly, Sonnet 4.6 reasons effectively across all that context."
1 comments

Above 200k token context they charge a premium. I think its $10/M tokens of input.
Interesting. Is it because they can or is it really more expensive for them to process bigger context?
Attention is, at its core, quadratic wrt context length. So I'd believe that to be the case, yeah.
I've read that compute costs for LLMs go up O(n^2) with context window size. But I think it is also a combination of limited compute availability, users preference for Anthropic models and Anthropic planning to go IPO.