Earlier quoted context omitted.
Yep I learned this the hard way after racking up big bills just using Sonnet 3.7 in my IDE. Gemini is just as good (and not nearly as willing to agree with every dumb thing I say) and it’s way cheaper.
> Gemini is ... way cheaper. Yep. Here are the API pricing numbers for Gemini vs Claude. All per 1M tokens. 1. Gemini 2.5: in: $0.15; out: $0.60 non-thinking or $3.50 thinking 2. Claude 3.7: in: $3.00; out: $15 [1] https://ai.google.dev/gemini-api/docs/pricing [2] https://www.anthropic.com/pricing#api
Claude Code: Best practices for agentic coding
171–180 of 268 posts
Re: Claude Code: Best practices for agentic coding
#172Earlier quoted context omitted.
> let alone 100+ per month that claude code would require I find this argument very bizarre. $100 is pay for 1-2 hours of developer time. Doesn't it save at least that much time in a whole month?
what happened to the "$5 is just a cup o' coffee" argument? Are we heading towards the everything-for-$100 land? On a serious note, there is no clear evidence that any of the LLM-based code assistants will contribute to saving developer time. Depends on the phase of the project you are in and on a multitude of factors.
Re: Claude Code: Best practices for agentic coding
#173The "ultrathink" thing is pretty funny: > We recommend using the word "think" to trigger extended thinking mode, which gives Claude additional computation time to evaluate alternatives more thoroughly. These specific phrases are mapped directly to increasing levels of thinking budget in the system: "think" I had a poke around and it's not a feature of the Claude model, it's specific to Claude Code. There's a "megathi…
Re: Claude Code: Best practices for agentic coding
#174Earlier quoted context omitted.
Oh wow. Reading your comment guarantees I'll never use Claude Code. I use Aider. It's awesome. You explicitly specify the files. You don't have to do work to limit context.
Not having to specify files is a humongous feature for me. Having to remember which file code is in is half the work once you pass a certain codebase size.
Re: Claude Code: Best practices for agentic coding
#175Earlier quoted context omitted.
Oh wow. Reading your comment guarantees I'll never use Claude Code. I use Aider. It's awesome. You explicitly specify the files. You don't have to do work to limit context.
>I use Aider. It's awesome. What do you use for the model? Claude? Gemini? o3?
Re: Claude Code: Best practices for agentic coding
#176The "ultrathink" thing is pretty funny: > We recommend using the word "think" to trigger extended thinking mode, which gives Claude additional computation time to evaluate alternatives more thoroughly. These specific phrases are mapped directly to increasing levels of thinking budget in the system: "think" I had a poke around and it's not a feature of the Claude model, it's specific to Claude Code. There's a "megathi…
Weird code to have in a modern AI system! Also 14 string scans seems a little inefficient!
Re: Claude Code: Best practices for agentic coding
#177Surprised that "controlling cost" isn't a section in this post. Here's my attempt. --- If you get a hang of controlling costs, it's much cheaper. If you're exhausting the context window, I would not be surprised if you're seeing high cost. Be aware of the "cache". Tell it to read specific files (and only those!), if you don't, it'll read unnecessary files, or repeatedly read sections of files or even search through f…
The productivity boost can be so massive that this amount of fiddling to control costs is counterproductive. Developers tend to seriously underestimate the opportunity cost of their own time. Hint - it’s many multiples of your total compensation broken down to 40 hour work weeks.
Substitute “cost” with “time” in the above post and all of the same tips are still valuable.
I don’t do much agentic LLM coding but the speed (or lack thereof) was one of my least favorite parts. Using any tricks that narrow scope, prevent reprocessing files over and over again, or searching through the codebase are all helpful even if you don’t care about the dollar amount.
Re: Claude Code: Best practices for agentic coding
#178Earlier quoted context omitted.
was it a wget call feeding into html2pdf?
no it's a few hundred lines of python to parse weird and inconsistent HTML into json files and CSV files, and then a sync script that can call the WP API to create all the authors as needed, update the articles, and migrate the images
Re: Claude Code: Best practices for agentic coding
#179Earlier quoted context omitted.
Do you actually understand the code Claude wrote?
Do you understand all of the code in the libraries that your applications depend on? Or your coworker for that matter? All of the gate keeping around llm code tools are amusing. But whatever, I’m shipping 10x and making money doing it.
But if you are making money by using LLMs to write code then all power to you. I just despair at the idea of trillions of lines of LLM generated code.
Re: Claude Code: Best practices for agentic coding
#180The "ultrathink" thing is pretty funny: > We recommend using the word "think" to trigger extended thinking mode, which gives Claude additional computation time to evaluate alternatives more thoroughly. These specific phrases are mapped directly to increasing levels of thinking budget in the system: "think" I had a poke around and it's not a feature of the Claude model, it's specific to Claude Code. There's a "megathi…
Similarly, I do miss an —add command line flag to manual specify the context (files) during the session. Right now I pretty much end up copy pasting the relative paths from VSCode and supply to Claude. Aider has much better semantics for such stuff.