LLM Task Testing: How to Choose and Assign Models by Workload
This article presents hands-on tests of two models on three workloads—long-document translation, a small game, and a 3D interactive cube—and distills a practical approach to model selection and task assignment. It covers the test setup and cost caveats, trade-offs between speed, throughput, and reasoning depth, a simple token-cost estimation method, and a pattern for routing tasks through an agent layer with multiple model configurations.
1. Why a Single Model Is Not Enough
In real development work, many engineers are used to binding to a single “primary model,” but this is often not optimal. Large models differ significantly in inference speed, cost, and capability boundaries. Some respond quickly and offer a good interactive experience, making them suitable for pair programming and rapid iteration. Others have a low unit price and stable throughput, making them suitable for batch processing and long-running automation tasks.
To test whether “using multiple models with a division of labor by task” really holds up, I designed three different types of tasks for hands-on testing: long-document translation (testing context capacity and stability), game development (testing code generation and logic construction), and a 3D interactive application (testing spatial reasoning and complex engineering capability). The following sections combine the test results to derive a general model-selection methodology.
2. Test Environment and Cost Basis
First, let me clarify the test conditions to avoid an unfair comparison:
- Model A (low-cost, long-running): accessed through a unified coding agent, using API calls and medium reasoning effort.
- Model B (high-speed, interactive): used directly through the client of the same coding agent, also with medium reasoning effort.
Cost statistics record only Model A’s actual API spend. I did not force a direct unit-price comparison between the two because billing methods differ too much—per token, per duration, or per subscription—making a direct price comparison meaningless.
Actual cost results: across the three tasks, Model A’s total cost did not exceed CNY 1 for any task. Note that the game task was completed before a pricing adjustment and during off-peak hours, while the other two tasks were run after the adjustment and during peak hours. Task difficulty also differed. Therefore, the cost figures for the three tasks are only order-of-magnitude references, not a precise conclusion about cost-effectiveness.
3. Test Process and Results for the Three Tasks
1. Translating the Entire Book Alice’s Adventures in Wonderland
Task characteristics: a long text of approximately 160,000 characters, requiring chapter splitting and terminology consistency, such as translation strategies for character names and puns. This tests the model’s style stability under a long context.
Approach: I first asked the model to produce a “translation specification”—a glossary, tone requirements, and principles for handling puns—then translated in chapter batches and finally performed a consistency review.
Results: Model A completed the entire workflow smoothly, met quality requirements, and cost very little. Its advantage is that it does not care about task duration: it can run in the background slowly, and failed retries are inexpensive. If a high-speed model designed for interactive experiences were used for the same batch processing, the cost would increase noticeably.
2. Developing a Cat-Stealing-Fish Mini-Game
Task characteristics: a typical small-to-medium code generation task involving a game loop, collision detection, a scoring system, and other classic logic.
Results: both models independently produced runnable versions. The difference appeared in the iteration process. The high-speed model was clearly smoother in the “propose a change—see the effect immediately” interaction loop, making it suitable for rapid trial and error. The low-cost model had a longer wait for each generation round, but its code structure and comment completeness were good, making it suitable for batch output after requirements are clear.
3. A 3D Rubik’s Cube
Task characteristics: this requires spatial geometry reasoning, rendering logic that can be implemented using the browser’s built-in WebGL capabilities, and state management. It was the most engineering-complex of the three tasks.
Results: the high-speed model provided faster feedback during multiple rounds of debugging and required fewer interaction rounds to converge on a usable version. The low-cost model had acceptable stability during unattended long-running work. However, if a pure-text model encounters a scenario that requires visually inspecting rendering problems, its shortcoming is exposed: it can only rely on textual descriptions to locate issues indirectly.
4. Model-Selection Methodology Drawn from the Tests
1. Divide Work into Three Types by Task Characteristics
- Interaction-intensive (pair programming, requirements exploration, rapid debugging): prioritize response speed and multimodal capability; the per-token cost can be allowed to be somewhat higher.
- Throughput-intensive (batch translation, log summarization, data cleaning, large-scale refactoring): prioritize unit price and throughput stability; speed can be compromised.
- Critical-path (core logic in production code): prioritize reasoning depth and accuracy; evaluate separately.
2. Quantify Cost Estimates First
Before calling models, it is advisable to roughly estimate token costs:
# Simple cost estimation example (prices are illustrative; use actual provider pricing)def estimate_cost(chars, price_per_1k_input, price_per_1k_output, output_ratio=0.3):input_tokens = chars / 2.5 * (1 - output_ratio)output_tokens = chars / 2.5 * output_ratioreturn (input_tokens * price_per_1k_input / 1000+ output_tokens * price_per_1k_output / 1000)
Combined with batch scripts, this makes it possible to clearly predict how much a batch task will cost and avoid billing surprises.
3. Use an Agent Tool Plus Multi-Model Configuration to Reduce Switching Costs
Mainstream AI coding tools generally support custom model access. Through unified routing at an agent layer, different tasks can automatically go to different models, for example:
- Code completion and conversational interaction → high-speed model
- Long-document processing and overnight batch jobs → low-cost model
This preserves the interactive experience while keeping the cost of repetitive work as low as possible.
5. Conclusion
The tests validate the opening judgment: there is no “who is better,” only “who is more suitable.” A high-speed interactive model is suitable as the daily primary model, handling exploration, debugging, and multimodal scenarios. A low-cost background model is suitable for long-running batch work, taking on time-consuming, repetitive tasks with high error tolerance.
For individual developers, I recommend starting with the minimal combination of “one primary model + one background model,” integrating both through an agent tool, and then continuously adjusting the division of labor based on real bills and task duration. Model selection is fundamentally a continuously optimized engineering problem, not a one-time brand choice.
