Choosing a Lightweight LLM for Office Work: An Evaluation Framework and Cost Accounting
This article presents an evaluation framework for choosing lightweight large language models for everyday office tasks, such as document summarization, email polishing, data extraction from reports, and code review assistance. It covers how to standardize test configurations, compare reasoning levels, score three core task types, and calculate per-call costs.
1. What Is an “Office Infrastructure Model”?
An office infrastructure model is a large language model that can be embedded in daily enterprise workflows over the long term and at scale. It does not need top-tier scientific reasoning or complex mathematical ability. It must, however, reliably handle high-frequency tasks such as document summarization, email polishing, data extraction from reports, and code review assistance. The cost of each call must be low enough to support daily use across the whole workforce.
The boundaries of use matter just as much:
- Suitable for: text summarization, format conversion, copywriting and polishing, routine Q&A, and preliminary code review.
- Not suitable for: financial modeling that requires long chains of reasoning, conclusions for strict compliance audits, and real-time decisions with very tight response-time requirements. These tasks should be handled by flagship models or by solutions that have been specifically validated.
2. How to Choose a Lightweight LLM
Before selecting a model, answer three questions: How frequent is the task? How costly is an error? What is the per-call cost budget? For tasks that are frequent and where errors are cheap, evaluate lightweight models first. For tasks where errors are costly, keep human review or a flagship model as a fallback, even if a lightweight model performs close to it.
The evaluation framework in this article has four steps: unify the configuration, set reasoning levels, score three task types, and calculate costs.
3. Evaluation Environment and Configuration
The evaluation platform should simulate real office workflows. The table below lists the configuration items that must be recorded. Without a record of the configuration, results cannot be reproduced.
| Configuration item | Requirement |
|---|---|
| Model version | Record the exact model name and version number, and note the test date |
| Context window | Record the maximum context length of each model. Task inputs must not exceed the smallest window. |
| Sampling parameters | Set temperature, top_p, and max tokens uniformly, and state the values. |
| Sample size | At least 30 samples per task type. Run each sample three times and average the results. |
| Task set | Use a fixed version that is not modified during testing. |
| Scoring rules | Define the pass criteria for each task type before testing. Scorers must not know which model produced each output (blind review). |
| Latency measurement | Record time to first token and total output time separately. Report P50 and P95. |
Two specific measures control the variables.
First, use an independent project environment for each model, and start a new session for every test. This prevents prior context from affecting the results.
Second, run the models serially. Before starting the next model, confirm that the previous model’s tasks have finished, check that the number of concurrent requests is zero, and check that local resource usage (if any) has returned to baseline. Record the baseline values before each model starts and keep them as evidence.
4. Reasoning Level Settings
Most platforms offer a “thinking” or “reasoning” level, but naming and effects are not standardized. High, max, extended, and similar levels from different vendors have no comparable definitions, so do not assume two names mean the same thing.
Follow these steps:
- Check each platform’s official documentation. Record the highest level each model actually offers and the corresponding parameter name.
- List the naming differences in the test report. Do not treat levels from different vendors as equivalent.
- To compare the effect of levels, compare changes between levels only within the same model.
| Model | Parameter name | Highest available level | Verification date | Notes |
|---|---|---|---|---|
| Model A | To be filled in | To be filled in | To be filled in | To be filled in |
| Model B | To be filled in | To be filled in | To be filled in | To be filled in |
| Model C | To be filled in | To be filled in | To be filled in | To be filled in |
| Model D (flagship reference) | To be filled in | To be filled in | To be filled in | To be filled in |
5. Pass Criteria for Three Core Office Tasks
This section provides the evaluation framework. Without measured data, the tables serve only as templates. This article does not provide any model rankings.
1. Long-Text Summarization and Information Extraction
Example task: Input 10 sets of meeting minutes, each at least 3,000 characters long. Extract the decisions, risk points, and action items, and label the owner and deadline for each.
Pass criteria:
- Recall for the three element types is at least 90%, measured against human-annotated answers.
- The output contains no decisions, names, or dates that do not appear in the source. Any fabrication is a failure.
- Accuracy of the owner and deadline fields is 100%.
Failure example: The model mixes up the action items from two sets of minutes, or omits the risk addendum at the end of a document.
2. Structured Data Conversion and Format Compliance
Example task: Convert a natural-language description of order information into a specified JSON structure. The fields are order number, customer name, amount, and delivery date.
Pass criteria:
- The output can be parsed directly by a JSON parser.
- Field names and types match the schema exactly.
- Values match the source text.
- The output contains no extra Markdown code fences or explanatory text.
Failure examples: The amount field is written as a string, which causes errors in downstream systems. The output is truncated and lacks the final closing bracket.
3. Multi-Turn Context Retention and Constraint Management
Example task: A five-turn conversation. In turn 1, the user asks for a summary of no more than 150 words. In turn 2, the user switches to a formal tone. In turn 3, the user asks for a three-point list. In turn 4, the user asks for supporting data. In turn 5, the user says the entire text must not contain any digits.
The requirements in turns 4 and 5 conflict. A qualified model should point out the conflict and ask the user to confirm, rather than silently violating one of the instructions.
Checklist:
- After turn 5, does the model still keep the 150-word limit from turn 1?
- Does the formal tone requested in turn 2 continue?
- When a conflict arises, does the model state it and ask the user to confirm?
Failure case: After turn 5, the model forgets the word limit, outputs more than 200 words, and gives no explanation.
6. Cost Accounting Method
Routing tasks by tier can reduce total cost, but conclusions must rest on an accounting of the actual call structure.
The formula for the cost of a single call:
Cost per call = Input tokens
