News for hackers. Stuff that matters.
Re:Claude 3.7 Sonnet and Claude Code by simonw on Tuesday February 25, 2025 @01:21PM (#43175433)
I got this working with my LLM tool (new plugin version: llm-anthropic 0.14) and figured out a bunch of things about the model in the process. My detailed notes are here: https://simonwillison.net/2025/Feb/25/llm-anthropic-014/

One of the most exciting new capabilities is that this model has a 120,000 token output limit - up from just 8,000 for the previous Claude 3.5 Sonnet model and way higher than any other model in the space.

It seems to be able to use that output limit effectively. Here's my longest result so far, though it did take 27 minutes to finish! https://gist.github.com/simonw/854474b050b630144beebf06ec4a2...

Re:Claude 3.7 Sonnet and Claude Code by tedsanders on Tuesday February 25, 2025 @01:33PM (#43175552)
No shade against Sonnet 3.7, but I don't think it's accurate to say way higher than any other model in the space. o1 and o3-mini go up to 100,000 output tokens.

https://platform.openai.com/docs/models#o1

Re:Claude 3.7 Sonnet and Claude Code by simonw on Tuesday February 25, 2025 @02:59PM (#43176556)
Huh, good call thanks - I've updated my post with a correction.
Re:Claude 3.7 Sonnet and Claude Code by Citizen_Lame on Tuesday February 25, 2025 @01:30PM (#43175527)
How much did it cost?
Re:Claude 3.7 Sonnet and Claude Code by mrbonner on Tuesday February 25, 2025 @01:33PM (#43175562)
$1.8
Re:Claude 3.7 Sonnet and Claude Code by rvnx on Tuesday February 25, 2025 @02:11PM (#43176004)
I have a very long request to do like this, did you use a specific CLI tool ? (Thank you in advance)
Re:Claude 3.7 Sonnet and Claude Code by simonw on Tuesday February 25, 2025 @03:03PM (#43176599)
I used my own CLI tool LLM, which can handle these long requests in streaming mode (Anthropic won't let you do a non-streaming request for long output replies like this).

  uv tool install llm
  llm install llm-anthropic
  llm keys set anthropic
  # paste in API key
  llm -m claude-3.7-sonnet -o thinking 1 'your prompt goes here'
Re:Claude 3.7 Sonnet and Claude Code by rvnx on Tuesday February 25, 2025 @04:21PM (#43177581)
Thank you very much
Re:Claude 3.7 Sonnet and Claude Code by dot1x on Wednesday February 26, 2025 @08:07AM (#43183287)
Simon, do you write anywhere how do you manage to be so... active? Between your programming tools, blogging, job (I assume you work?) where do you find the time/energy?
Re:Claude 3.7 Sonnet and Claude Code by simonw on Wednesday February 26, 2025 @08:34AM (#43183486)
The trick is not to have an employer: I'm "freelance" aka working full time on my open source projects and burning down my personal runway from a startup acquisition. At some point I need to start making proper money again.