AI Agent Model Selection and Reliability Evaluation on a Budget of About 1,000 CNY
Selecting a foundation model for an AI agent is not about finding the strongest model; it is about finding a configuration that completes a defined task reliably at an acceptable cost. This article presents a practical evaluation method covering task classification, reproducible test sets, local skill troubleshooting, hard safety boundaries, full-task cost accounting, budget allocation, tiered routing, and an auditable evidence table for final selection.
1. The Goal Is Reliable Task Completion, Not the “Strongest Model”
Selecting a foundation model for an agent differs from choosing a model for everyday question answering.
In a Q&A setting, users can usually inspect the output directly and correct issues through follow-up questions. An agent, by contrast, must execute a sequence of actions: understand the request, read materials, choose tools, modify files, verify results, and, when necessary, replan based on failure information. A deviation at any step can be amplified by later steps.
Therefore, an agent’s actual performance is not a simple mapping of model reasoning capability. It is the combined result of multiple factors:
- Whether the model understands the goal and constraints;
- Whether tool definitions are clear and returned information is complete;
- Whether local skill instructions can be discovered and used correctly;
- Whether the context contains the information needed for execution;
- Whether permission control is independent of model judgment;
- Whether the task can recover after failure;
- Whether budget, concurrency, and runtime are constrained.
A model with strong reasoning capability may not be suitable for long-running autonomous execution if it repeatedly rereads files, ignores tool errors, or fails to converge in time. Conversely, a model that is inexpensive on simple tasks and stable at tool calling may not be able to handle complex architecture design.
The core of model selection should shift from “which model is strongest” to “which configuration can reliably complete a specific task at an acceptable cost.”
This article discusses general evaluation methods. It does not provide untested model rankings or cite unverifiable prices, parameter counts, or performance rumors.
2. Define Tasks First, Then Discuss Reasoning Effort
“Enable higher reasoning effort by default” is an intuitive but not economical strategy.
Higher reasoning effort may help handle complex constraints, locate hidden errors, and create multi-step plans, but it may also increase response latency and billing consumption. For tasks such as format conversion, explicit field extraction, and local text edits, additional reasoning may not bring corresponding benefits.
A more reasonable approach is to classify tasks first.
1. Simple tasks with high determinism
These tasks usually have clear inputs, fixed rules, and automatically checkable outputs, such as structuring data, modifying a small number of configuration items, or extracting specified information from documents.
Evaluation should focus on format accuracy, instruction following, and unit task cost. When the task itself does not require complex planning, unnecessary reasoning and tool rounds should be reduced first.
2. Moderately complex tasks requiring localization and verification
Examples include fixing a local code defect, adding tests, or analyzing correlations among multiple logs.
These tasks require not only generating an answer but also finding evidence and verifying it through tools. Evaluation should include file localization accuracy, whether the modification scope is reasonable, whether tests are actually executed, and whether effective adjustments can be made after failure.
3. Complex tasks involving multiple constraints
Examples include cross-module changes, compatibility analysis, and business process design that includes permission boundaries.
In these cases, higher reasoning investment may be valuable, but execution boundaries must also be set. A complex task should not be interpreted as allowing the model to think indefinitely, retry indefinitely, or arbitrarily expand the modification scope.
If a service provides reasoning effort options, different settings can be tested separately on the same task set. If there is no explicit controllable option, actual runtime behavior should be recorded; internal reasoning effort should not be guessed from output length.
3. Build a Reproducible Task Set and Avoid Being Misled by Single Experiences
A single successful demonstration or a single severe failure is not enough to represent long-term performance. Reliable evaluation requires a fixed task set, consistent run conditions, and complete execution records.
1. Every task needs clear acceptance criteria
A task description should not only say “optimize the program” or “fix the issue.” It should also state the goal, the allowed modification scope, and the acceptance method.
For example, a defect-fix task can include:
- An input that reproduces the problem;
- The expected behavior;
- Relevant files and necessary instructions;
- Modules that must not be modified;
- A requirement to add or pass specified tests;
- A requirement to explain the rationale for the changes.
This makes it possible to distinguish “looks like a lot of work was done” from “the task was actually completed.”
2. Test both normal and abnormal paths
In real environments, tools do not always return successfully. Local files may be missing, execution processes may time out, and dependent services may be temporarily unavailable.
Therefore, the task set should cover tool errors, insufficient permissions, missing inputs, verification failures, and irrelevant information in the context. The focus should be on whether the agent interprets errors correctly, whether it retries blindly, and whether it gives a clear blocking reason when it cannot continue.
For tasks that include image inputs, image understanding and subsequent execution capability should also be evaluated separately. Correctly describing an image does not mean the information in the image can be accurately converted into executable actions.
3. Repeat runs and retain failure samples
Model outputs usually fluctuate, so the same task should be run independently multiple times. Each run should start from a consistent initial state to avoid files or caches left by the previous run affecting the result.
Records should include at least the task version, model configuration, tool definitions, input and output usage, latency, call counts, final artifacts, and failure reasons.
If prompts, tool structure, or skill instructions are changed, they should be treated as a new configuration rather than mixed directly with old results. Small-sample results can be used to discover issues, but they should not be packaged as stable capability conclusions.
4. Troubleshoot Local Skill Recognition Failures Along the System Chain
If an agent does not correctly use local skill instructions, the cause may be related to model capability, or the framework may not have provided the information properly.
Here, a “skill” can be understood as a set of operating norms, step instructions, or resource indexes for specific tasks. It is not a local object that the model can naturally perceive. Only after discovery, reading, and context passing can the relevant content participate in decision-making.
Troubleshooting can follow this chain:
Skill discoverable → content readable → information enters context → model understands requirements → tool execution meets requirements.
1. Check whether the skill is actually visible
First confirm that the skill file exists, that the runtime environment has read permission, and that the retrieval entry includes the corresponding location.
If tools can only access certain directories while the skill file is in an inaccessible area, the failure is first an environment configuration issue and cannot be directly attributed to the model not following instructions.
2. Check whether the skill content is executable
Skill instructions should clearly state applicability conditions, execution order, prohibited actions, and verification methods.
“Complete the modification according to the specification” is too vague. “Read interface constraints before modification, run the specified verification after modification, and do not report task completion if verification fails” is easier to execute and check.
When skills conflict with each other, the framework should also provide a clear priority so that the model does not have to guess which instruction is more important.
3. Check execution evidence, not just model statements
A model claiming that it “has read the specification” does not prove that it actually read the relevant file. Tool call records should be used to confirm that the read action occurred and to check whether subsequent operations comply with the specification.
At the end of the task, an external acceptance program should also check the result. Skill execution success cannot be determined solely from the agent’s own summary.
5. High-Risk Operations Must Have Hard Boundaries Set by the System
Operations such as deleting files, overwriting important data, changing access permissions, and performing external writes should not rely only on the model’s judgment about whether to ask the user.
Prompts can help the model understand risk, but prompts are not a reliable permission control mechanism. Especially in long tasks, multi-turn tool calls, and external content interference, safety rules must be independently enforced by the tool layer and execution environment.
1. Classify permissions by action impact
Operations can be divided into:
- Read-only operations, such as querying information and reading files;
- Reversible writes, such as modifying files in an isolated workspace;
- High-risk writes, such as deleting critical data or changing permissions;
- External-impact operations, such as sending messages, publishing content, or triggering remote execution.
Different categories should use different authorization conditions rather than having all tools share the same permission.
2. Bind approval to a specific action
Before a high-risk operation is executed, the target object, operation scope, expected impact, and recovery method should be shown. What the user approves should be a specific action, not “any modification can be made next.”
If the operation parameters change materially, the original approval should not automatically carry over. The framework should also ensure that denied operations cannot bypass restrictions by being expressed through a different tool.
3. Use isolated environments and least privilege
During experimentation, temporary directories, desensitized data, short-lived credentials, and restricted network access should be preferred. Even if the model misjudges, it should not directly gain the ability to irreversibly modify production resources.
In addition, web pages, documents, and tool return content should be treated as data to be analyzed and should not automatically gain the authority of system instructions. If external content contains text requesting privilege escalation, information leakage, or skipping approval, the execution layer should still maintain the original boundaries.
6. Cost Evaluation Must Cover Complete Tasks, Not Single Calls
Agent tasks usually consist of multiple rounds of calls. A low price per request does not mean the task is cheaper to complete.
Costs may increase due to repeated reading, long history resending, invalid retries, oversized tool outputs, and missing stop conditions. When a model’s billing consumption is clearly high, the first step should be to locate where the consumption occurs, rather than immediately concluding that it “thinks more” or is “less efficient.”
1. Use a consistent accounting scope for complete tasks
The total cost of a single attempt should include all model calls plus actually incurred execution environment and external service fees.
The following formula can be used:
Cost per attempt = sum of model call costs across rounds + execution environment cost + other actual costs
Different services may distinguish billing items such as input, output, cache, reasoning usage, or image input. Actual bills and service documentation should be used, and it should not be assumed that all services use the same basis.
2. Calculate both success rate and cost per successful task
Comparing only the average cost of successful tasks hides the waste caused by failed attempts. A more useful metric is:
Cost per successful task = total cost of all attempts ÷ number of tasks that pass acceptance
All attempts must include failed runs, timed-out runs, and runs requiring human takeover. If there are no successful tasks, the metric has no finite value and should be clearly reported as no valid completed result.
The number of human interventions and intervention time should also be recorded separately. A low bill cost that depends on extensive manual correction may not be economical for the team.
3. Distinguish quota limits from task consumption
Subscription quotas, call quotas, and pay-as-you-go billing cannot necessarily be converted directly. A task consuming a high percentage of quota only indicates that it used more resources under a specific billing rule; it cannot be used to infer the absolute cost of other options.
During evaluation, quota units, recovery cycles, concurrency limits, and behavior after overrun should be recorded to avoid treating short-term trial experience as long-running capability.
7. How to Allocate a Budget on the Order of 1,000 CNY More Effectively
A budget on the order of 1,000 CNY is suitable for exploratory evaluation but is usually not enough to prove long-term performance across all task categories. Experiment design should prioritize reducing wasted consumption.
It is recommended to divide the budget into three parts: environment calibration, formal testing, and retest reserve.
Environment calibration is used to confirm that tools, skills, and acceptance programs work properly. Formal testing should cover tasks of different complexity rather than spending most of the budget on a few high-difficulty demonstrations. The retest reserve is used to validate anomalous results and distinguish intermittent failures from stable defects.
Each run should have a cost cap, a tool-call count cap, and an execution time limit, and should define clear stop conditions:
- Acceptance passes; end the task;
- Repeated actions occur continuously; pause and report;
- Necessary permissions or materials are missing; request supplementation;
- The budget or time boundary is reached; output completed parts and unresolved issues.
Configurations whose preliminary results clearly fail to meet safety requirements should not continue to undergo large amounts of expensive testing. Permission control or environment issues should be fixed first, and then task capability should be evaluated.
8. Use Tiered Routing Instead of One Configuration for All Tasks
For tasks of varying complexity, tiered routing is usually easier to control cost with than uniformly using the highest reasoning configuration.
A general process is:
Task classification → initial execution → external acceptance → escalate when necessary → human takeover or end.
Simple tasks use a lower-cost configuration. When verification fails, constraints conflict, or task complexity increases, switch to a configuration better suited to complex reasoning. When high-risk actions are involved, independent approval is required regardless of which model is used.
Escalation conditions should be as observable as possible, such as persistent test failures, repeated invalid calls, conflicts among input materials, or insufficient remaining budget to continue trying. Escalation should not be decided solely based on the model claiming that it is “not confident,” because such self-assessment is not necessarily reliable.
Context management is equally important. Repeated large tool outputs can be organized into structured state, but error messages, permission constraints, and acceptance requirements must not be discarded arbitrarily. Summaries should retain access to the original materials for later verification.
9. Final Selection Should Produce an Auditable Evidence Table
Evaluation results should not be only a single composite score. At minimum, the following dimensions should be presented separately:
| Evaluation Dimension | Question to Answer |
|---|---|
| Task completion rate | Did it pass external acceptance, rather than merely generate an answer? |
| Tool-call correctness | Are parameters, order, and error handling reasonable? |
| Skill compliance | Did it discover, read, and execute relevant specifications? |
| Safety boundaries | Were unauthorized actions effectively blocked by the execution layer? |
| Cost per successful task | What was actually spent to complete valid tasks? |
| Execution latency | Does it meet business response requirements? |
| Runtime stability | Can it recover under long tasks and abnormal conditions? |
| Human intervention needs | How much manual inspection and correction is required? |
Different businesses can set different weights, but safety boundaries should usually serve as admission criteria rather than ordinary metrics that can be offset by other high scores.
The final choice should also be a complete configuration, not just a model name: applicable task scope, reasoning settings, tool permissions, skill loading method, budget boundaries, acceptance rules, and escalation mechanisms.
The right fit for an agent is not a single winner on a capability leaderboard, but the synergy among the model, tools, execution environment, and governance mechanisms. Only by placing reliable completion, controllable risk, and explainable cost in the same evaluation table can a limited budget be turned into valuable engineering conclusions.
