logoalt Hacker News

wilbur_whateleyyesterday at 4:29 PM6 repliesview on HN

Claude with Sonnet medium effort just used 100% of my session limit, some extra dollars, thought for 53 minutes, and said:

API Error: Claude's response exceeded the 32000 output token maximum. To configure this behavior, set the CLAUDE_CODE_MAX_OUTPUT_TOKENS environment variable.


Replies

amarcheschiyesterday at 4:48 PM

And on the seventh day, API Error: Claude's response exceeded the 32000 output token maximum

show 1 reply
couchdb_ouchdbyesterday at 5:29 PM

I don't think i'd let it think more than 5 minutes without killing the process.

show 1 reply
2ndorderthoughtyesterday at 9:57 PM

I hope this doesn't come out wrong but. When this happens do agentic/vibe coders message their boss and say "sorry can't work until tomorrow?"

show 2 replies
jansenmacyesterday at 5:23 PM

Just copy and past the error back to Claude and you will be able to continue. I have seen this many times over the past few months. I thought it was related to AWS bedrock that I have been using - but probably not.

jasonlotitoyesterday at 4:39 PM

Just curious, what version of Max are you on: 5x or 20x?

giancarlostoroyesterday at 4:39 PM

You're using it within their high usage rate window. I hope you're aware of this, if you use it out of the high usage time window it's supposed to use less, but it does seem a little odd that Sonnet uses so much, even on Medium.

show 1 reply