Can Small Models Handle the Execution Layer of Enterprise AI Agents?
This article examines whether open-weight small language models, with parameter counts in the tens of billions, can take on execution-layer tasks in enterprise AI agents. It explains how to read benchmark results within their scope, how to split agent tasks by difficulty, and how to route work between small and frontier models. It also covers domain-specific evaluation, total cost accounting, and key risks.
1. Background: Why Small Models Are Being Compared With Large Models
Over the past year, open-weight models with parameter counts in the tens of billions have iterated quickly. Their instruction following, tool calling, and structured output have all improved noticeably. As a result, teams have started asking a concrete question: can these models enter production enterprise environments and handle some of the work that frontier large models currently do?
The discussion usually starts with a single benchmark result. That result shows that, in one specific scenario, the final answer quality of a small model is close to that of a frontier large model. Conclusions like this are easily overinterpreted, so they need to be read in the context of the specific evaluation conditions.
2. Understanding the Scope of an Evaluation Result
An evaluation result depends on three factors: task type, evaluation environment, and scoring method.
- Task type: Financial research, customer support Q&A, and code generation each have different difficulty distributions. The same model can perform very differently across these tasks.
- Evaluation environment: If every model uses the same retrieval system and the same context, retrieval quality narrows some of the gap between models. In that case, the answer quality reflects the overall effect of “retrieval plus generation,” not only the intrinsic ability of a single model.
- Scoring method: Human grading, rule matching, and using another model as a judge can produce different rankings. When the scoring criteria are not transparent, the results are harder to compare.
A reasonable reading, then, is this: within a defined domain and under given retrieval conditions, a small model can reach final answer quality close to that of a large model. This does not mean small models match large models in general reasoning, long-horizon planning, or unfamiliar problems.
3. Task Layering in Enterprise Agents
A complete agent run usually includes many steps, and their difficulty varies widely. They can be roughly divided into three categories.
- Mechanical tasks: Information extraction, field filling, text classification, format conversion, keyword filtering, and summarization after simple retrieval. These tasks have clear input and output boundaries, and errors can usually be caught by validation rules.
- Medium-difficulty tasks: Multi-condition judgment under explicit rules, or synthesizing information from multiple documents. These tasks require stable instruction following, and their boundaries need to be confirmed through evaluation.
- High-difficulty tasks: Open-ended planning, clarification of vague requirements, cross-domain reasoning, and risk-sensitive decision recommendations. These tasks should still go to more capable large models.
Teams can analyze real call logs over a period and calculate the share of each category. If mechanical tasks make up a large share, moving them to a small model will noticeably reduce calls to the frontier model. This share must be calculated from the team’s own business data and should not be borrowed from someone else’s numbers.
4. Organizing Agents Around a Controller and Executors
A common architecture has a frontier model handle planning and final decisions, while a small model carries out specific execution. The controller model breaks a large task into subtasks, assigns each subtask to a suitable execution unit, and then gathers the results back into a final output.
The routing logic can be expressed in pseudocode as follows:
function route(task):if task.type in MECHANICAL_TYPES and task.risk == LOW:return small_model_worker(task)if task.requires_long_planning or task.risk == HIGH:return frontier_model(task)result = small_model_worker(task)if validator.check(result) passes:return resultreturn frontier_model(task) # Escalate to the frontier model when validation fails
This logic has three design points. First, static routing by task type and risk level keeps the rules clear and easy to audit. Second, deterministic checks on small model outputs, such as field completeness, format validity, and whether values fall within reasonable ranges, catch problems early. Third, when validation fails, the task escalates automatically to a large model, which prevents errors from passing silently downstream.
5. Building a Reliable Evaluation Method
Only evaluation on your own business data can show whether a given small model is ready for production. The following steps are recommended.
- Build a domain evaluation set: Pull representative samples from real logs, covering common scenarios and edge cases, and label them with reference answers.
- Fix the evaluation environment: All candidate models should use the same retrieval configuration, prompt templates, and context length so that the comparison is consistent.
- Set multi-dimensional metrics: In addition to answer accuracy, track format compliance rate, refusal rate, latency, and per-call cost.
- Include a control group: Evaluate the model currently in production as a baseline.
- Check whether differences are significant: With small sample sizes, a gap in scores may just be random variation. Use confidence intervals or results from repeated runs to judge.
A simplified evaluation loop looks like this:
for model in candidate_models:results = []for case in eval_set:output = model.run(case.input, config=FIXED_CONFIG)results.append({"correct": grader.score(output, case.expected),"format_ok": validator.check(output),"latency": output.latency,"cost": output.cost,})report(model, aggregate(results))
6. Calculating Cost Correctly
Comparing unit prices alone often leads to misleading conclusions. Total cost breaks down as follows:
Total cost = frontier model calls × frontier cost per call + small model calls × small model cost per call + retry and escalation cost + infrastructure and operations cost
Retry and escalation costs cannot be ignored. If a small model has a high failure rate, many tasks flow back to the large model, and total cost can rise instead of fall. A lower per-call cost for the small model is only a precondition. The task pass rate determines how much of the savings is actually realized.
Infrastructure costs also need to be included. Self-hosting a model requires compute resources, monitoring, autoscaling, and version management. Calling a managed service requires attention to billing rules and quota limits. The break-even point between the two approaches depends on call volume and usage patterns. Low-traffic scenarios usually fit managed calls better.
The following is a hypothetical example. The numbers only illustrate the calculation method. Suppose a team processes 10,000 tasks per day, and 70% of them are mechanical. After those mechanical tasks move to a small model, assume the small model costs about one-tenth of the large model per call, and 5% of tasks need escalation to the large model. The cost of mechanical tasks then consists mainly of the small model’s base cost plus a small escalation cost. Total spending is noticeably lower than sending every task to the large model. Real figures should come from your own bills and logs.
7. Risks and Boundaries
- Limited generalization: Small models may perform noticeably worse on inputs outside their training distribution. Before launch, test long-tail inputs, malformed inputs, and adversarial inputs.
- Error propagation: If the controller model treats an execution-layer error as reliable information, the error grows in the final result. Key fields need independent validation and should not depend only on the model’s own judgment.
- Data security: Self-hosted models reduce data sent to external parties, but the inference service still needs access control, log redaction, and permission isolation that meet enterprise compliance requirements.
- Version changes: Behavior can change after a model update. Include the evaluation set in regression testing and rerun it before each upgrade.
- Prompt sensitivity: Small models are more sensitive to prompt format. Treat template changes as code changes, and keep them under version control with their evaluation results.
8. Practical Recommendations
- Start with one pilot scenario that has clear boundaries, such as document information extraction or ticket classification. Avoid covering the entire agent workflow at once.
- Set up logging and labeling processes, and keep accumulating domain data. This data supports later evaluation and fine-tuning.
- Use “domain plus constraints” as a design principle. The more specific the task definition and the narrower the input scope, the easier it is for a small model to reach usable quality.
- When you publish results, state the evaluation conditions and metric definitions. Avoid extending conclusions from a narrow domain to general capability.
Small models cannot replace the general capabilities of frontier large models. They can, however, take on a large volume of highly deterministic execution work. Doing this well depends on clear task decomposition, reliable evaluation, and complete cost accounting.
