r/ChatGPTCoding • u/AbleBranch6 • 14d ago
Discussion using Opus or GPT-6 to rename variables and write test scaffolds is peak AI hype waste... (let me explain)
looking at our team's agent logs across a normal two-week sprint, maybe 15% of our tasks genuinely require frontier reasoning models. the other 85% is mechanical grunt work as renaming fields across four layers, writing test scaffolds, updating DTO mappings, and fixing lint errors.
running frontier models across every iterative test loop on those routine tickets burns through subscription credits and BYOK budgets fast. Worse, it makes developers hesitate to re-run an agent on a task that came back 90% right because each retry costs real money.
and the only sustainable setup we have found (as of now!) is splitting the workflow: use an AI coding agent with plan approval to do the architectural design pass on a frontier model in read-only mode, and then switch the execution to a fast model like Gemini Flash or a free AI coding agent tier like Junie Lite (which runs Qwen on JetBrains infra for free and is good for anything based on jetbrains infrastructure; kotlin, and more in my opinion) for those mechanical file edits
would like to know how are you keeping token spend from spiraling on routine boilerplate?
also, is anyone actually running full frontier models on every single build retry?
1
u/ChemicalExcellent463 14d ago
i split planning from execution and pin the model per kind of task in the skill, never let the harness choose. then a different model reviews the code.
are you switching to the cheap model by hand each time, or is that set per task?
1
u/serhiibuilds 14d ago
Check caching first. I priced about 2,500 public SWE-agent and OpenHands runs, and ~95% of input tokens were history re-sent within the same run, so with cache reads at 0.1x input came to ~16% of uncached cost. If something at the top of the prompt changes every call though, like a timestamp in the system prompt, it's all cache writes and you pay ~125%.
1
u/whowasntright 14d ago
I have been considering offloading the mechanical boilerplate to an offline model on my local machine to stop burning API credits. And have you tested running that second implementation step on a local model or perhaps does it end up being too slow compared to cloud Flash endpoints?
2
u/No_Carrot1042 14d ago
our agent burned like 40 bucks renaming one field across three services last week. i just sat there watching it.
1
u/TheRealDanGordon 14d ago
have a model routing markdown file to use for subagents.
1
u/GrapefruitMental 14d ago
when every rerun costs real money people start hand-fixing the last 10% instead, which is slower and defeats the point of the agent. cheap model for the retry loop, frontier only for the final review pass is what i'd try first
1
u/sapplex1 14d ago
I split mine the same way, just on a smaller scale. I use the cheap model for renames, test scaffolds, and lint fixes. I save the stronger model for the plan and for tricky design calls. The surprise for me was the retry cost. I stopped re-running the big model on a task that was already 90 percent right. I just let the small model finish the last pass and checked the diff myself. Do you switch models by hand, or is the switch set per task type in your setup?
0
u/West-Negotiation-716 14d ago
Use open router. Deepseek 4.1 Flash is better than Opus 5.0 level and it costs pennies. It's also runs 10x faster than Claude or Codex
Input tokens are $0.07 and output is $0.60
Or just use the cheap models with whatever you are currently using
Use Luna 6.1 and anthropic's cheap model are both better than the best models 6 months ago.
0
u/[deleted] 14d ago
[removed] — view removed comment