LLM Evaluation: Lessons from a $15 Benchmark of Three Top-Tier Models

    This article shares a reproducible framework for comparing general-purpose large language models, based on a real-world benchmark that cost over a thousand RMB in API calls across three first-tier models. It explains why model rankings are meaningless without fixed evaluation criteria, how to lock model versions and design task sets, scorecards, and cost accounting before spending, and which capability limits appear across vendors, including format-following decay, lost-in-the-middle recall, overconfident fabrication, and nonlinear retry costs. It also provides a five-part prompt template and practical cost-control practices, showing how version locking, fixed scorecards, structured prompts, and quantified hidden costs turn model selection into a reproducible engineering decision.

    1. What an Expensive Benchmark Revealed

    To see how general-purpose LLMs perform in real development work, I spent over a thousand RMB on API calls to compare three first-tier models under identical conditions. The strongest takeaway was not “which model is better,” but this: without clear evaluation criteria, any ranking is meaningless.

    The benchmark also had a side story. The first draft misidentified one vendor’s model version, treating a lightweight variant as the flagship. After noticing the error, I deleted the draft and reran every case overnight with the correct flagship version. That incident is itself a conclusion: models now iterate faster than people can remember or verify versions, so any evaluation must put version locking and reproducibility first.

    Note that this article does not discuss specific vendors or products. It only distills a transferable method.

    2. Evaluation Design: Define the Criteria Before Spending

    Most failed model comparisons share the same flaw: defining criteria while testing. A reliable process fixes four things in advance:

    1. Task set: Sample 20–50 cases from real business work, covering code generation, long-document summarization, structured extraction, multi-turn rewriting, and refusal/safety boundaries.
    2. Scorecard: Score each dimension from 1 to 5, with weights fixed in advance to avoid tuning weights afterward to fit a desired conclusion.
    3. Runtime environment: Use the same temperature, the same context length, and the same system prompt, and record the exact model version and call time.
    4. Cost accounting: Compare total spend per thousand successful tasks rather than unit price, because retry rates significantly change real cost.

    Example evaluation record:

    1. case_id: C-017
    2. task_type: structured_extraction
    3. model_version: locked@2026-xx-xx
    4. params: {temperature: 0.2, max_context: 32k}
    5. scores:
    6. correctness: 4
    7. format_adherence: 5
    8. latency_p95_ms: 2100
    9. cost_per_success: 0.0031
    10. notes: fields shifted once when a long table spanned pages

    3. Shared Observations: Capability Limits Matter More Than Scores

    After rerunning under identical conditions, three types of issues recurred regardless of vendor:

    • Format-following decay: When output requirements exceed five levels of nesting, the probability of missing fields rises noticeably.
    • Lost-in-the-middle in long contexts: When key information sits in the middle of the context, recall is lower than for information at the beginning or end.
    • Overconfidence: Faced with nonexistent method names or parameters, models tend to fabricate rather than refuse.
    • Nonlinear cost: Hidden overhead from failed retries often accounts for more than 30% of total spend.

    So selection should not ask “which model is smartest,” but “which model has the lowest error cost on my task distribution.”

    4. Prompt Template: Confining Uncertainty with Structure

    The most stable prompts in the benchmark all followed a five-part structure: role, constraints, input, output contract, and self-check.

    1. [Role] You are a senior backend engineer.
    2. [Constraints] Use only general technologies; do not invent interfaces; output UNKNOWN when information is insufficient.
    3. [Input] <<<user material>>>
    4. [Output contract] Return strict JSON with fields: name, type, confidence(0-1)
    5. [Self-check] Before submitting, verify: all fields present, no fabricated content.

    Three engineering practices work best alongside it: first, reorder long documents into conclusion, evidence, and appendix, placing key constraints at the beginning and end; second, use a low temperature for extraction tasks and a higher temperature for creative tasks; third, store hashes of the prompt and output for every call to keep results traceable.

    5. Cost Control: Spend the Budget on Verification

    Lowering cost does not mean downgrading quality. Four actionable practices:

    • Gate rollouts with a small-sample smoke test before scaling up.
    • Use rules or caching as a fallback for deterministic tasks.
    • Route models by task difficulty in tiers.
    • Include retry counts in monitoring and alerting metrics.

    If you use cloud-based general capabilities, you can combine object storage to retain evaluation corpora, a message queue to smooth traffic peaks, a container platform to run load tests, and logging and monitoring/alerting services for full-chain observability. These are common industry categories and do not constitute any product recommendation.

    6. Conclusion

    The core insight from spending over a thousand RMB is this: model capabilities are converging quickly, and the real moat is the evaluation system and prompt engineering. Lock versions, fix the scorecard, structure prompts, and quantify hidden costs. Do these four things well, and model selection shifts from “going with a feeling” to a reproducible engineering decision.