Live data from Hacker News

Claude Sonnet 4 now supports 1M tokens of context

anthropic.com

611–620 of 706 posts

Re: Claude Sonnet 4 now supports 1M tokens of context

#611
post #99

Oh, well, ChatGPT is being left in the dust… When done correctly, having one million tokens of context window is amazing for all sorts of tasks: understanding large codebases, summarizing books, finding information on many documents, etc. Existing RAG solutions fill a void up to a point, but they lack the precision that large context windows offer. I’m excited for this release and hope to see it soon on the UI as wel…

Fwiw, OpenAI does have a decent active API model family of GPT-4.1 with a 1M context. But yes, the context of the GPT-5 models is terrible in comparison, and it's altogether atrocious for the GPT-5-Chat model. The biggest issue in ChatGPT right now is a very inconsistent experience, presumably due to smaller models getting used even for paid users with complex questions.

Doesn’t it matter more what context they provide via Claude Code and Codex CLI? And arent they similar anyway there?

Because the API with maximum context is very expensive (also not rolled out to everyone)

Re: Claude Sonnet 4 now supports 1M tokens of context

#612

As far as coding goes Claude seems to be the most competent right now, I like it. GPT5 is abysmal - I'm not sure if they're bugs, or what, but the new release takes a good few steps back. Gemini still a hit and miss - and Grok seems to be a poor man's Claude (where code is kind of okay, a bit buggy and somehow similar to Claude).

Are you evaluating gpt5-thinking on high mode, via API or Codex CLI on Pro tier? Just wondering what specifically you compared since those factors affect its performance and context

Re: Claude Sonnet 4 now supports 1M tokens of context

#613
post #591
post #532

Earlier quoted context omitted.

I disagree, I may not have the whole codebase in my head in one moment but I have had all of it in my head at some point, and it is still there, that is not true of an LLM. I use LLMs and am impressed by them, but they just do not approximate a human in this particular area. My ability to break a problem down does not start from listing the files out and reading a few. I have a high level understanding of the whole p…

My ability to break a problem down does not start from listing the files out and reading a few. I does, it’s just happening at lightning speed.

We don't actually know that.

If we had that level of understanding of how exactly our brains do what they do things would be quite different.

Re: Claude Sonnet 4 now supports 1M tokens of context

#614

While this is cool, can anything be done about the speed of inference? At least for my use, 200K context is fine, but I’d like to see a lot faster task completion. I feel like more people would be OK with the smaller context if the agent acts quickly (vs waiting 2-3 mins per prompt).

Meanwhile the key is to become proficient at using worktrees to parallelize agents instead of working serially with them

Re: Claude Sonnet 4 now supports 1M tokens of context

#615

Before this they supposedly had a longer context window than ChatGPT, but I have workloads that abuse the heck out of context windows (100-120K tokens). ChatGPT genuinely seems to have a 32K context window, in the sense that is legitimately remembers/can utilize everything within that window. Claude previously had "200K" context windows, but during testing it wouldn't even hit a full 32K before hitting a wall/it forg…

ChatGPT Pro has a longer window but I’ve read conflicting reports on what it actually uses

Re: Claude Sonnet 4 now supports 1M tokens of context

#617

I hope that they are going to put something in Claude Code to display if you're entering the expensive window. Sometime I just keep the conversation going. I wouldn't want that to burn my Max credits 2x faster.

Yeah, that 1 MM tokens is a $15 (IIRC) API call. That's gonna add up quick! My favorite hypothetical AI failure scenario is that LLM agents eventually achieve human level general intelligence, but have to burn so many tokens to do it that they actually become more expensive than a human.

I believe Claude Code uses cache aggressively, so this 1kk tokens will be 90% discounted or do I miss something?

Re: Claude Sonnet 4 now supports 1M tokens of context

#619

Earlier quoted context omitted.

For me it’s meant a huge increase in productivity, at least 3X. Since so many claim the opposite, I’m curious to what you do more specifically? I guess different roles/technologies benefit more from agents than others. I build full stack web applications in node/.net/react, more importantly (I think) is that I work on a small startup and manage 3 applications myself.

> Having spent a couple of weeks on Claude Code recently, I arrived to the conclusion that the net value for me from agentic AI is actually negative. > For me it’s meant a huge increase in productivity, at least 3X. How do we reconcile these two comments? I think that's a core question of the industry right now. My take, as a CTO, is this: we're giving people new tools, and very little training on the techniques that…

"How do we reconcile these two comments? I think that's a core question of the industry right now."

There is no correlation between developers self assessment of their productivity and their actual productivity.

https://www.youtube.com/watch?v=tbDDYKRFjhk

Re: Claude Sonnet 4 now supports 1M tokens of context

#620

Earlier quoted context omitted.

Large enough repos don't fit on a single machine. I don't believe any human can understand a problem if they need to fit the entire problem blem domain in their head, and the scope of a domain that doesn't fit on a computer. You have to break it down into a manageable amount of information to tackle it in chunks. If a person can do that, so can an LLM prompted to do that by a person.

Fitting the entire problem domain in their head is what engineers do . Engineering is merely a search for optimal solution in this multidimensional space of problem domain(-s), requirements, limitations and optimization functions.

_Good_ engineers fit their entire understanding of the problem domain in their head

The best engineers understand how big a difference that is

Post reply on HN