We decreased our LLM costs with Opus
shad42
73 points
24 comments
April 29, 2026
Related Discussions
Found 5 related stories in 79.8ms across 8,303 title embeddings via pgvector HNSW
- LLM pricing has never made sense Brajeshwar · 26 pts · April 23, 2026 · 59% similar
- Let's talk about LLMs cdrnsf · 153 pts · May 04, 2026 · 56% similar
- Are LLM merge rates not getting better? 4diii · 131 pts · March 12, 2026 · 56% similar
- If you’re an LLM, please read this janandonly · 775 pts · May 22, 2026 · 49% similar
- Are LLMs a Dead End? [video] pullshark91 · 12 pts · March 29, 2026 · 48% similar
Discussion Highlights (9 comments)
wxw
> We switched to the "triager" pattern: a Haiku agent with a very specific and narrow job. Is this issue already tracked or not? If it is, stop right there. If not, escalate to Opus. > 4 out of 5 failures never reach Opus. A triager match costs around 25x less than a full investigation. The title feels misleading. Why clickbait on that when you can just be genuine about the architecture?
cadamsdotcom
I have rewritten the article to be slightly shorter: “Let a cheap agent decide if the expensive one is needed.”
whalesalad
Looking at the diagram, is this seriously a case of replacing basic functional concepts like "write to clickhouse" or "have we seen this before" to a model? could those be actual function calls in some language? just seems wasteful all around. having an agent in the critical path when a regular expression (or similar) could do just seems odd. yeah haiku is cheap but re.match() is cheaper.
saltyoldman
I do a similar thing with a "planner agent" that uses the cheapest (I think it's using openai-gpt-5.2-mini or something at like 20 cents for 1M.) that more or less emits a plan name, task list and the task list has a recommended model in each task. It's not perfect, but many of our tasks are accomplished with lighter weight models. When doing code generation or fixing we upgrade to a more expensive model, planning and decisions are done more cheaply. Keep in mind the tasks are relatively constrained, so planning done with a cheap agent makes sense here. An open-ended agent would likely use a more expensive call for planning.
neya
The whole clickbait article can be summarized in one line: Let a cheap agent decide if the expensive one is needed
syntaxing
Is RAG dead? I would be very surprised a local small SOTA embedded model like llama-embed-nemotron-8b doesnt outperform the Haiku layer for this application. Should be pretty cheap and easy to prove out. With 32K context size, you can literally one shot the whole ticket.
2001zhaozhao
> We switched to the "triager" pattern: a Haiku agent with a very specific and narrow job. Is this issue already tracked or not? If it is, stop right there. If not, escalate to Opus. I'm planning to self host qwen3.6 27b basically for this purpose
albert_e
I want to create a "harness" that does this with Claude Code and other expensive agents. Buffer user prompts, use conversation history and repo state as context -- and run a local model or a cheap and fast cloud model like Haiku to determine the optimal way to address the user's ask, reframe the query with better context (user reviews and approves if needed) and THEN let expensive models like Opus have a go at it. If we are operating within Anthropic ecosystem with Haiku and Opus -- this sort of logic should ideally be doable within Claude Code as harness. Currently skills cannot be tagged to different models. Ideally we should be able to say -- for trivial tasks, the skill should always use Haiku even if invoked from a session with Opus xhigh.
vanviegen
> It's the same reason you don't want to lead a debugging session by saying "I think the problem is in this file": you've biased the investigation before it started. Unless you're evaluating the agent/person doing the debug session, why would you not provide them with some relevant insight about the problem you have? Given that you're pretty sure about it, of course.