ES version is available. Content is displayed in original English for accuracy.
Advertisement
Advertisement
⚡ Community Insights
Discussion Sentiment
50% Positive
Analyzed from 305 words in the discussion.
Trending Topics
#claude#cost#token#output#try#itself#json#feels#paint#draw

Discussion (7 Comments)Read Original on HackerNews
You need to know the shape of the solution ...
If you draw a sloppy circle and fill it in, it'll "escape" and try to paint the whole canvas (and back in the day would get my slow computer stuck until I spam "esc").
You have to be able to draw a good circle to use it.
https://stackoverflow.com/questions/1732348/regex-match-open...
And it feels like claude code has gotten more verbose with the multiline comments lately
One thing I found: asking the model to respond in structured JSON (with a strict schema) vs free-form text cuts token output by ~40% on average. The model stops "explaining itself" and just gives you the answer.
Also noticed that including a reference image in vision calls roughly doubles the input cost but improves accuracy enough that you save on retries. Net cost ended up lower for my use case.
Curious if you've measured the difference between asking for "concise" output vs actually constraining the response format.