6B-Activated Model Tested on Long-Horizon AI Agents: Cache Reuse and Cost Analysis
A hands-on evaluation of a long-running coding agent examines a model that reportedly activates approximately 6B parameters per inference. The article reviews its task execution, error recovery, sparse MoE architecture claims, cache hit rates, pricing, and cost structure, while clearly separating observed results from unverified vendor information. It also provides a practical checklist for evaluating models in agent-based software projects.
As large language models move toward production engineering and agent-based workflows, developers increasingly care about two questions: how long a task a model can complete, and how much each completed task costs.
This article examines both questions through a hands-on test of a long-horizon coding agent using a model that reportedly activates approximately 6B parameters per inference. The figures below come from the tester’s records or the model’s publicly available materials. Any information that could not be independently verified is identified as such.
1. Test Setup and Missing Information
The test task was to build the initial project structure for a local driving-data management service based on a customized open-source in-vehicle data platform.
Before the test, the evaluator prepared a detailed product requirements document (PRD) covering five modules:
- Data collection
- Data cleaning
- Local storage
- API services
- Basic frontend presentation
The PRD was provided to the model as the only input in agent mode. The evaluator then observed the process without intervention.
The session lasted approximately 54 minutes. During that time, the model performed technical research, environment setup, code generation, basic testing, and commit logging, producing a complete engineering workflow. Based on the resulting artifacts, the model completed an estimated one-seventh of the project’s initial infrastructure, including the core data models, database migration scripts, and part of the API route skeleton.
This one-seventh estimate is not based on a standardized effort measurement. It should therefore be treated as an approximation rather than a formal productivity metric.
The original test did not fully record several details that would be important for reproduction or comparison:
- The exact model version
- API parameters such as temperature and maximum output length
- The context-window limit
- The agent’s available tools and permissions
- Dependency versions
- The definition of elapsed time, including whether waiting time was counted
Because these details are missing, the 54-minute duration and the estimated one-seventh workload represent only a single observation. They should not be generalized as universal capabilities of the model.
2. Task Execution: Planning and Error Recovery
According to the logs, the model first divided the PRD into multiple milestones. Within each milestone, it repeatedly followed a sequence similar to:
- Analyze requirements
- Select technical approaches
- Implement code
- Run the project locally
- Record the results
This structure is similar to a human development workflow and suggests that the model was able to track task state over a relatively long context.
When dependency installation failed or an API changed, the model read the error message, adjusted its approach, and retried. It also avoided repeatedly executing the same command. This was one of the most useful observations from the test.
However, the available record mainly describes successful execution paths. It does not provide complete failure cases, such as situations where several rounds of correction still failed to resolve the problem. The limits of the model’s recovery capability therefore remain unclear.
A broader evaluation could add two types of tasks:
- Tasks with deliberately introduced environment conflicts
- Tasks with ambiguous or contradictory requirements
The second category would help determine whether the model proactively asks for clarification instead of making unsupported assumptions.
3. Architecture: Public Claims and Unknown Details
The model’s public specifications reportedly describe approximately 125B total parameters, with around 6B parameters activated during each inference step.
Figures of this kind usually indicate a sparse Mixture-of-Experts (MoE) architecture. In an MoE model, a routing network selects a small number of expert networks for each token, while the remaining experts do not participate in that token’s computation. This design can expand the model’s knowledge capacity while keeping the computation required for each inference under control.
Public materials do not currently disclose the following details:
- The routing strategy
- The total number of experts
- The number of experts selected per token, or Top-k
- Whether shared experts are used
As a result, this article cannot determine how the experts are divided or verify whether the approximately 6B activation level remains consistent across different tasks.
The model also reportedly claims that its training cost was reduced by approximately 90 percent. This figure comes from the vendor’s public positioning and was not independently verified in the test.
4. Cache Hit Rates and Cost Structure
During the test, the primary agent reportedly achieved a cache hit rate of approximately 98%. Contextually more independent sub-agents, used for research and testing, achieved hit rates of approximately 94% to 95%. The tester estimated the overall task-level hit rate at roughly 97%.
The test did not explain how the hit rate was calculated. It is unclear whether the metric was based on token counts, request counts, or the length of the reused input prefix. The sample size was also not provided.
According to the pricing information cited in the test, uncached input cost approximately RMB 0.8 per million tokens, cached input cost approximately RMB 0.1 per million tokens, and output cost approximately RMB 2.7 per million tokens. These prices reflect the information available when the article was prepared. Users should consult the official pricing information before making current cost estimates.
The cost can be estimated using the following formulas:
Input cost per task = cached tokens × cached input price + uncached tokens × uncached input price
Total task cost = input cost + output tokens × output price
Consider the following hypothetical example. The numbers are for illustration only:
- Total input: 100 million tokens
- Overall cache hit rate: 97%
- Output: 5 million tokens
The cached portion would be 97 million tokens, costing RMB 9.7. The uncached portion would be 3 million tokens, costing RMB 2.4. The total input cost would therefore be RMB 12.1.
The output cost would be:
5 million tokens × RMB 2.7 per million tokens = RMB 13.5
The total estimated cost would be approximately:
RMB 12.1 + RMB 13.5 = RMB 25.6
This example shows that caching primarily reduces the cost of input tokens. Output tokens continue to be charged at the regular output rate. For tasks that generate large amounts of code or text, output can account for most of the total cost.
Therefore, the cost of an agent task does not approach zero simply because the cache hit rate is high. In long-context tasks with strong cache reuse, the input cost can fall substantially, but the final cost still depends heavily on the amount of output generated.
Prefix Caching Is Not the Same as KV Cache Compression
Another distinction that is easy to overlook is the difference between prefix caching and KV Cache compression.
Prefix-cache hit rates are mainly affected by factors such as:
- Whether the request prefix remains stable
- Whether system instructions and historical content appear in a consistent order
- Whether the caller reuses the same context
KV Cache compression, by contrast, affects memory usage and the inference overhead of long sequences. Both mechanisms can improve the experience of long-running tasks, but they are not equivalent.
A model using KV Cache compression does not necessarily have a high prefix-cache hit rate.
A simple controlled experiment can help verify the difference. Run the same task at least three times while keeping the system instructions and historical content in the same order. Record the cache-token fields returned by the API and calculate the hit rate.
Then change the position of the system instructions or insert an unrelated piece of content, and observe how the hit rate changes. Comparing the two groups of results can help isolate the effect of prefix organization on cache reuse.
5. Model Selection Checklist for Developers
Before selecting a model for an agent-based project, consider the following points:
- Task length: How many calls will a single task require, and how large will the context become?
- Tool-call frequency: Will each round reread large sections of historical context? This determines how much cache reuse is possible.
- Cache reuse rate: Run a small-scale test to measure the actual hit rate instead of relying directly on vendor or third-party figures.
- Output volume: Code generation and long reports can produce substantial output costs and should be estimated separately.
- Latency budget: Is the total duration of a long-running task acceptable, and is the time to first token suitable for interactive use?
- Failure recovery requirements: Can an interrupted task resume from a checkpoint, or will human intervention be required?
6. Conclusion
Under the conditions of this test, the model demonstrated the ability to carry out a relatively long coding workflow with milestone-based planning, environment setup, code generation, basic testing, and error-driven retries. The observed behavior suggests that it can maintain task state across a long context and make practical adjustments when dependencies or APIs fail.
The test also showed that cache reuse can significantly reduce input costs in long-context agent workflows. However, the overall cost remains strongly influenced by output volume, and a high cache hit rate should not be interpreted as near-zero task cost.
At the same time, the results have important limitations. The model version, API settings, context limit, tool permissions, dependency versions, timing methodology, cache-metric definition, and sample size were not fully documented. The architecture and training-cost figures were also based on public claims that could not be independently verified.
The results should therefore be treated as a single practical observation rather than a definitive benchmark. For production model selection, developers should reproduce the test with controlled prompts, stable context organization, explicit cache metrics, measured output volume, and representative failure cases.
