LLM API Costs and Performance: A Hands-On Evaluation of Low Active-Parameter Models

    This article reviews about 180 million tokens of real usage on a low active-parameter mixture-of-experts model. It covers how to classify tasks, calculate effective cost per billion tokens, monitor response speed during peak hours, and assess the trade-offs of forced thinking mode. It ends with a four-step method for choosing a model for production use.

    1. Background: Why Focus on Models with Small Active Parameter Counts

    Several recently released large models use a mixture-of-experts (MoE) architecture. Their total parameter counts are large, but each inference call activates only a small subset of those parameters. The main appeal of these models is output quality close to that of large models at a lower compute cost. For developers who call APIs frequently over long periods, the official price alone does not show whether a model is worth using. The value depends on real usage volume, task types, and response speed requirements.

    This article walks through an evaluation process based on real usage records totaling about 180 million tokens. It is meant as a reference for developers with similar needs.

    2. Task Breakdown: Define the Task Before Choosing a Model

    The first step in choosing a model is not reading leaderboards. It is mapping the structure of your own workload. In this test, tasks fell into three groups:

    1. Daily research and cloud operations. This includes Linux environment management, website setup and maintenance, and log troubleshooting. These tasks involve frequent calls, long context per call, and moderate accuracy requirements.
    2. Code generation. Examples include writing interaction logic for a three.js/WebGL engine demo page and adding features to an existing website. Code correctness matters most here, and these tasks need strong chain-of-thought reasoning.
    3. Light writing and support tasks. Examples include video voiceover scripts and updates to non-code documentation. These tasks are sensitive to latency but do not require deep reasoning.

    Once tasks are sorted this way, each category can use a model tier that fits it. The first rule of cost control is simple: do not run every task on the most expensive model.

    3. Cost Accounting: Build Your Own Ledger per Billion Tokens

    Test records show that high-intensity weekend usage reached about 180 million tokens, with actual spending of about 31 yuan. That works out to roughly 0.17 yuan per million tokens on average. At 1 billion tokens, the cost would be about 170 yuan.

    For comparison, the author applied the post-price-increase pricing of a mainstream reasoning model to the same usage pattern. That calculation assumed a 93.7% cache hit rate and an output share of only 0.59%. Under that pricing, the light-tier model cost about the same during off-peak hours but roughly doubled at peak times. The flagship-tier model would cost several hundred yuan off-peak and more than 1,000 yuan at peak.

    From these figures, the author draws several general cost principles:

    1. Look at effective price, not list price. Cache hit rate and output share strongly affect the real bill. Record both metrics in your own billing statistics. You can approximate the cost with this formula:

      1. Actual cost ≈ input tokens × input price × (1 − cache hit rate)
      2. + cached tokens × cache price
      3. + output tokens × output price
    2. Factor in the gap between peak and off-peak prices. If a task can be scheduled, such as batch document processing or offline code review, run it during off-peak hours. The cost difference may be more than a factor of two.

    3. Calculate whether a prepaid plan or pay-as-you-go billing is cheaper. The author found that the subscription plan was not cost-effective and that calling the API directly on a pay-as-you-go basis cost less. This is a common misconception. The nominal discount on a plan is often based on a usage pattern the provider assumes, which can differ sharply from your actual usage.

    4. Response Speed: Real Performance During Peak Hours

    Weekend throughput stayed steady at 50 to 55 tokens/s. That is not fast, but it is acceptable. During weekday morning peak hours, however, thinking-chain speed dropped to 4 to 9 tokens/s at one point, and output speed fell to 12 to 25 tokens/s. In the same period, other models reached 125 to 135 tokens/s. Local network problems were ruled out. Because single-task usage stayed far below the concurrency limit listed in the relevant API documentation, rate limiting was also ruled out. The author concluded that server-side compute was most likely under strain during peak hours.

    Practical recommendations from the test:

    1. Plan a fallback path for critical workloads. In production, implement multi-model routing. When the primary model falls below a speed threshold, switch automatically to a backup model. A simple sketch:

      1. def choose_model(task_type, latency_threshold):
      2. primary = call_api(task_type, model="a", timeout=latency_threshold)
      3. if primary.latency > latency_threshold:
      4. return call_api(task_type, model="b")
      5. return primary
    2. Monitor thinking-chain speed and output speed separately. Some client interfaces do not show the thinking process clearly. Users see only a loading animation and cannot tell whether the service is slow or the request has stalled. When you choose a client or build your own calling layer, prefer tools that show the token stream and speed in real time. This matters a great deal for troubleshooting.

    5. Thinking Mode: A Double-Edged Feature

    During testing, the model could not turn off thinking mode. The official documentation states that thinking mode can only be enabled. For models with small active parameter counts, a longer reasoning chain is a reasonable way to make up for limited reasoning capacity. In practice, however, it causes two problems:

    1. Simple tasks get overthought. For a request that one line of code could solve, the model still performs long reasoning. This wastes tokens and time. The author calls this phenomenon “thunderous overthinking.”
    2. Troubleshooting gets harder. When the reasoning chain accounts for most of the latency, developers cannot locate the source of a delay if the client does not show the full thinking process.

    For these reasons, whether thinking mode can be configured should be a firm requirement when selecting a model. Ideally, lightweight tasks run with thinking turned off for speed, while complex tasks keep it on to protect output quality.

    6. Summary: A Reusable Model-Selection Method

    Based on this test, the author proposes a four-step method:

    1. Classify tasks. Group tasks into three tiers by accuracy requirements, latency sensitivity, and context length.
    2. Run small-scale real tests. Test with real tasks at a scale of at least 100 million tokens. Record cost, speed, cache hit rate, and output share.
    3. Set a baseline. Compare candidate models on two metrics: effective cost per 1 billion tokens, and the drop in speed during peak hours.
    4. Design fallbacks. Implement multi-model routing and off-peak scheduling so that cost and stability do not depend on a single service.

    For individual developers and small-to-medium teams, low active-parameter models are attractive on price. However, peak-hour stability and the hidden overhead of forced thinking must be verified with real load testing before deployment. Parameter tables and pricing pages are not enough on their own.