Evaluating Mainstream LLMs at ~$150 Budget: Agent Workloads, Model Choice, and Token Cost
This article explains why agent workloads are a stricter test of large language models than chat or exam scores, reports typical failures seen in a budget-capped API bake-off, and outlines how to measure unit-task token cost and pair models with frameworks for tool use, risk control, and lower spend.
Why Agent Workloads Are a Stress Test for LLMs
Many people judge large language models by conversation quality or reasoning-benchmark scores. In production, agent workloads are much harsher. Completing an end-to-end task typically requires three capabilities at once:
- Intent understanding and task decomposition: turning a vague goal into an executable sequence of steps.
- Tool and skill invocation (function calling): knowing which skills exist in the current environment, choosing the right one, and emitting valid parameters.
- Risk awareness and confirmation: pausing to ask the user before high-risk actions such as deleting data, calling paid APIs, or changing live configuration.
The second and third items are exactly where traditional benchmarks are weakest. Strong math scores do not mean a model will reliably discover and call locally registered skills inside an agent framework, or that it will stop before a dangerous operation.
Three Typical Failures in Practice
In a side-by-side test capped at about a thousand yuan of API spend, mainstream models repeatedly showed the following issues—also common in community reports.
1. Poor fit with the agent framework
Some models, once wired into an agent stack, fail to use the locally registered skill list. They retry nonexistent tools, emit argument structures that do not match the tool definition, or skip tools and hallucinate a result. The usual root cause is weak adherence to the tool schema, or dropping tool descriptions from the system prompt in a long context. Debug by logging full requests and responses and checking returned function names and arguments against the registry:
# Typical check: whether the model's tool call is validdef validate_tool_call(tool_call, registry):if tool_call.name not in registry:log_warning(f"Called unregistered tool: {tool_call.name}")return Falseschema = registry[tool_call.name].parameter_schemaif not validate_params(tool_call.arguments, schema):log_warning(f"Invalid parameters: {tool_call.arguments}")return Falsereturn True
2. Missing confirmation on high-risk actions
An ideal agent, before deleting files, changing config, or sending outbound messages, explains the step and waits for confirmation. Some models instead run straight through with no pause. In a demo that is a UX issue; in production it is a security incident. Do not rely on the model’s “judgment.” Add a hard check at the execution layer: if an action matches a high-risk allowlist, the framework intercepts and forces a confirmation. Whether the model asks is a model-capability issue; whether the action can run must be decided by the framework.
3. Uncontrolled token use
This is the most frequent complaint. For the same task, token use can differ by several times across models. Agents amplify tokens because every tool round re-injects full history, tool definitions, and execution results. At 8K tokens per round and 20 rounds, you start at 160K tokens; billed reasoning traces add more. Users report some models using several times the tokens of others for the same work—so a lower unit price can still mean a higher bill.
How to Measure Real Token Cost
Do not compare unit prices alone. Compare unit-task cost: total tokens to finish the same task × price. A practical approach:
- A standard task set: 20–50 typical jobs (for example, read a CSV and chart it, call a search API and summarize, refactor a code file), covering difficulty and round count.
- A consistent billing view: split input vs. output tokens; some models bill tool definitions again every round.
- Distributions, not only means: record max/min/median per task. Agent spend is high-variance; averages hide tails.
- Free and discounted quotas: many platforms discount or grant credits; long-run cost should include prices after credits run out.
Matching Models to Agent Frameworks
An agent is not “the model alone” but model + framework + task type. In practice:
- Simple tool-call tasks (one-shot lookup, format conversion): prefer fast models with low per-round cost; heavy models are unnecessary.
- Multi-round orchestration (workflows, code generation): prioritize stable function calling and long-context retention. If cost matters, use a stronger model for planning and a lighter one for execution.
- High-value or high-risk tasks: no matter how strong the model, keep human confirmation gates and an audit log in the framework.
Engineering can also cut spend: summarize older turns instead of concatenating everything; inject tool definitions on demand; cache intermediate results. Combined, these often reduce total consumption by 30%–50%.
Conclusion
A roughly thousand-yuan bake-off shows that high leaderboard scores do not mean a model works well as an agent, and a low unit price does not mean a low total cost. Selection should focus on three metrics—tool-call accuracy, confirmation rate on high-risk actions, and token cost per task—plus defensive design in the framework. Models will keep changing; observability, interception, and cost accounting remain the reliable foundation for shipping agents.
