Agent Model Evaluation in Practice: Context Caching, Reasoning Tokens, and Tool Calling

    This practical evaluation examines an intermediate model release through the lens of long-context caching, reasoning-token usage, multimodal input, tool-calling reliability, and response speed. It explains how to interpret limited test data, measure performance consistently, and validate the metrics that matter before adopting a model for production Agent workflows.

    1. Scope of the Evaluation

    Before a major model release, providers often launch intermediate test versions, some with limited availability or expiration dates. A platform recently released such a model without a public announcement. We tested it through real API calls, focusing on long conversations, tool use, and response speed.

    This article does not evaluate a specific product. Instead, it discusses evaluation methods that can be applied across models and platforms.

    The figures below come from a limited test. The statistical methodology was incomplete, so these numbers should be treated as reference data rather than general performance benchmarks for the model.

    2. Long-Conversation Caching: Understand What the Hit Rate Means

    Each Agent request typically includes the system prompt, tool definitions, and conversation history. Much of the prefix remains unchanged between requests. Context caching stores the corresponding key-value state for this prefix. When a later request hits the cache, the system can reuse that state instead of recomputing it. This can reduce time to first token and lower input costs.

    In the test, the cache hit rate was approximately 91.7%. The number of cache-read tokens was about 11 times the number of uncached input tokens.

    The 11x figure refers to the ratio between cache-read tokens and uncached input tokens. However, the original test did not disclose the number of requests, so it is impossible to determine whether the 91.7% hit rate was calculated by token count or by request count. The first step when interpreting this type of data is to verify the statistical definition.

    Cache performance also depends on how stable the prompt structure is. If the system prompt or the order of tool definitions changes on every turn, the hit rate can drop significantly. Developers should place stable content at the beginning of the prompt and variable content later. They should also verify the provider’s caching charges and expiration rules.

    In multi-tenant systems, confirm whether caches are isolated between tenants. Sensitive conversation data must not be reused across users.

    3. Reasoning-Token Share: The Cost and Benefit of Thinking More and Saying Less

    In the test, reasoning-related tokens accounted for approximately 55.7% of the output tokens. This means that more than half of the generated tokens were used for internal reasoning, while only a smaller portion was shown to the user.

    This figure is an estimate. From external behavior alone, we cannot confirm whether the model uses a deep-reasoning mechanism. We also cannot confirm whether the method used to identify reasoning tokens matches the platform’s own accounting method. The result may be related to deep reasoning, but further validation is required.

    For complex tasks, additional reasoning can help the model break work into substeps and verify its state. In tasks with deeply nested logic, we observed relatively few cases where the model went off track midway through the process.

    However, reasoning tokens are also billable and can increase generation time. During model selection, include reasoning tokens in the cost of each task and evaluate them alongside task quality. Do not judge efficiency only by the length of the final answer.

    4. Multimodal Input and Image Generation: Outside the Test Scope

    The intermediate version could read images directly, but it did not support image generation. In Agent workflows, common image-related tasks include reading error screenshots, interpreting architecture diagrams, and using that information to produce troubleshooting steps or code structures.

    Image generation was not frequently required in this workflow, so the lack of that capability did not affect the conclusions. If a business workflow requires illustrations or design drafts, image generation should be evaluated separately.

    Image understanding also has limitations. This test did not cover different image formats, resolutions, low-quality screenshots, or complex charts. Therefore, we cannot determine its accuracy for table OCR or dense visualizations. These scenarios should be tested with dedicated samples.

    5. Tool Calling: Handling More Than Ten Consecutive Operations

    Tool calling is a central part of Agent systems. We simulated a sequence of more than ten local operations, including:

    • Reading configuration files
    • Querying structured business data, with sensitive information removed
    • Comparing code changes with a diff
    • Parsing complex JSON structures
    • Reading local images directly

    The test data did not contain real financial or personal information.

    During the observed runs, there were no tool-call failures or deviations from the expected file paths. The generated parameters were generally valid JSON. For example, in a call such as read_file(path='/etc/app/config.json'), the model could convert a natural-language instruction into a standard function call and correctly use the previous tool result as the input for the next operation.

    The sample size was limited, so these results cannot be generalized directly. Developers should define failure criteria before testing their own systems. At a minimum, the criteria should cover:

    • Parameters that fail JSON Schema validation
    • Paths outside the permitted scope
    • Results that cannot be parsed
    • Repeated calls exceeding a configured limit

    For retryable errors, configure both a maximum retry count and a backoff period to prevent infinite loops. Tools that access files should also enforce an allowlist. Path safety should not depend entirely on the model’s own judgment.

    6. Response Speed: How to Measure “Fast”

    The model produced streamed output quickly in the test, and usable results often appeared early. However, “fast” should be measured with defined metrics. The following are three commonly used indicators.

    Metric Definition Collection method Common misinterpretation
    Time to first token (TTFT) Time from sending a request to receiving the first token Record the interval between the client sending the request and receiving the first streamed chunk Mixing network queuing and server-side preprocessing into a single unexplained value
    Generation throughput Number of tokens generated per second Divide output token count by generation time Counting tool execution time as model generation time
    End-to-end latency Total time required to complete a multi-step task Measure from task start until the final result is returned Looking only at a single call and ignoring accumulated latency across multiple steps

    A cache hit can reduce TTFT because the prefix does not need to be recomputed. Reasoning tokens can increase generation time. These factors interact, so evaluating only one metric can produce a misleading conclusion.

    To understand the impact on a multi-step tool chain, record the duration of every step and separate tool execution time from model generation time.

    7. Test Method and Reproduction Steps

    To verify similar conclusions, follow these steps:

    1. Record the model version, test date, and API parameters. Intermediate versions may be removed or updated without notice. Without this information, the results cannot be reproduced.
    2. Fix the prompt template and tool definitions. Run the same task set repeatedly and record the sample size.
    3. Measure cache hit rate, reasoning-token share, tool-call success rate, TTFT, and end-to-end latency separately.
    4. Document the statistical tools and definitions used in the report. For example, specify whether cache hit rate is calculated by token count or request count, and explain how reasoning tokens are identified.

    Each test run should include a record table with at least the following fields:

    • Model version
    • Test date
    • API parameters
    • Prompt template ID
    • Tool definition version
    • Sample count
    • Statistics script version
    • Definition of cache hit rate
    • Method used to identify reasoning tokens
    • Results for each metric

    Complete records allow other teams to review and reproduce the findings.

    8. Three Metrics to Validate Before Choosing a Model

    1. Cache hit rate and pricing

    Measure the token-based cache hit rate using your own prompt structure. Then verify the pricing model and cache expiration rules.

    2. Complete cost per task

    Include reasoning tokens in the cost calculation and compare the result with task success rate.

    3. Multi-step tool-chain success rate and end-to-end latency

    Run complete tasks using tool chains from the real business workflow. Record tool execution time and model execution time separately.

    9. Conclusion

    In this limited test, the intermediate version performed well in long-conversation caching, tool calling, and response speed. However, the findings require validation across more tasks and environments.

    For enterprise developers, the more practical approach is to build an internal evaluation set on a compliant cloud computing platform. Use real business conversations and tool chains to test the model, then decide whether migration is justified.