My own set of heuristics 1. Use less subagents. The act of using subagent already needs dumping adequate amount of context for subagent to work effectively 2. Refactor when file grows large. Reasonably scoped files is easier to understand, for both human and agents, and consume less tokens because less guessing which section of the file to read 3. More capable models for planning, learning. Cheap models for execution…
The audit point is especially interesting. Is your Claude token-audit tool available anywhere?
I burned all my tokens researching how to save tokens
191–200 of 237 posts
Re: I burned all my tokens researching how to save tokens
#192Earlier quoted context omitted.
Trust me there are plenty of us using cloud AI to actually ship stuff. We just aren't writing blog posts about it.
what did you ship?
Fixed small several bugs last week without even open the editor. It wrote tests that confirmed the bugs, then fixed them. Then I manually confirmed as well.
It built a double entry event log. A single application event produces two logs, one for the person doing the action, one for the person being acted upon.
For a nasty problem we have, we had AI prototype 2 different solutions. Then we reveiewed them as a team. We threw those out but it was very helpful input into our decision making.
Re: I burned all my tokens researching how to save tokens
#193Re: I burned all my tokens researching how to save tokens
#194The reason most people burn through their allocated limits is mostly because of sub-agents. Stop using them and you will find out that even the Pro tier is enough for daily 8-12h coding sessions. Don't use Fable though.
Fable is great, but overkill for most tasks. Sonnet and Opus are already good enough for the execution work. I find Fable much more useful for planning, orchestration, advising, and judgment.
Re: I burned all my tokens researching how to save tokens
#195Earlier quoted context omitted.
Your fundamental math is wrong
no ur wrong
How could this be verified?
I don't think I'm good enough at math and ai research to find a reliable way.
Re: I burned all my tokens researching how to save tokens
#196Earlier quoted context omitted.
Whenever I've answered this question, the reply was always "this is shit", so I don't bother now. Bad faith questions just shouldn't be answered.
If you characterise questions as bad faith so you don’t have to answer, sure. Since this is my thread, and since I am an exasperated freelancer who has made most of his post-dot-com career from writing exactly the kind of quite small, simple, unambitious, often internal things for smaller customers that nobody would confuse with anything cool, who is trying to understand how AI is going to make his life any better wh…
Re: I burned all my tokens researching how to save tokens
#197It sometimes feels to me that cloud AI providers have convinced people that cloud AI is worth it because of all the ways people have been able to use cloud AI to write blog posts about using cloud AI to make cloud AI more efficient for something that they haven't shipped yet and aren't really ready to talk about.
For me personally, the only reason why i don't use it 24/7 is cost.
Token costs, energy cost, usage limit due to token/subscription cost.
Re: I burned all my tokens researching how to save tokens
#198Earlier quoted context omitted.
Dying? Really? https://github.com/ByteTerrace/Puck/blob/main/src/Puck.Maths... Some of us aren't just slopping it up like @theo and all the other AI influencers are, as I developed nearly every single line of this by hand over the span of the past decade. Agents recently became capable of factchecking it and helped find bugs that my other unit testing never caught. Software engineering has never been more alive! http…
I am just confused on how you know that all of what has been generated is valid. When you write the code generator yourself, you have that level of confidence.
A form of recursion is also doing a lot of heavy lifting because the emulators are their own separate deterministic engines that are dynamically plumbed into the primary loop. This not only allows us to embed diegetic devices (as in, you can literally pick up a glowing brick in the world, hold it to your face, and play it), but also validates that the primary loop is coded accurately because the outer loop runs at X Hz while humble bricks must run at ~59.7275 Hz. Pacing inaccuracies in the main loop cause us to fail the brick suites that we test against. This concept of having features reinforce one another is applied as often as possible.
The obsession with determinism goes so far that both the DirectX and Vulkan backends are validated against each other for pixel level differences. If they differ more than the expected maximum then code is refactored until the drift is back within acceptable range.
Re: I burned all my tokens researching how to save tokens
#199TFA says "no hallucinations" but you can't fix hallucinations with rules or other models. I know I'm screaming into the void but whatever.
And Anthropic clearly shows that we can reduce hallucination in models. Progress is made which you can see in benchmarks.
And at the end of the day, a normal human being doesn't 'hallucinate' but 'missunderstand' things or just doesn't know what they are missing.
A LLM doesn't has to be perfect, it just has to be cheaper with the min. same quality as a human.
So why are you screaming into the void? Because LLM leave deterministic world? A lot of people don't even life in that world anyway.