
I changed one line in my Claude Code config — dropped my API bill by 90%
The .claude/ folder nobody talks about If you're using Claude Code, you've probably got a .claude/ folder sitting in your project right now. Most developers ignore it. That's expensive. Hacker News lit up this week with a thread about the anatomy of the .claude/ folder — 226 points, 117 comments. The thing people kept coming back to: Claude Code's default configuration sends everything to Anthropic at full retail price. Here's what the config looks like out of the box: { "model" : "claude-opus-4" , "maxTokens" : 8192 } Nothing wrong with that. Except Anthropic charges $15 per million input tokens for Opus. If you're using Claude Code for a real project, you'll burn through tokens fast. The one-line fix Change your base_url to point at a cheaper API proxy: { "model" : "claude-sonnet-4" , "maxTokens" : 4096 , "baseUrl" : "https://simplylouie.com/api" } That's it. One line. Claude Code doesn't care where the API lives — it just needs a compliant Anthropic-format endpoint. What you actuall
Continue reading on Dev.to Webdev
Opens in a new tab




