How to Choose a First-Tier LLM: Evaluation Metrics and API Guide

    There is no official list for "first-tier" LLMs, and rankings change rapidly as models evolve. The most reliable way to select a model is to test it against your own task samples. This article provides an actionable evaluation process, covering task definition, five key evaluation dimensions—including instruction following, hallucination rate, long context understanding, engineering delivery, and cost—as well as a weighted scoring method for effective horizontal comparison.

    There is no official list for the “first tier” of LLMs. Model versions, pricing, and update frequencies change rapidly, meaning today’s rankings may quickly become obsolete. Therefore, the most reliable way to determine if a model belongs to the first tier is to test it with your own task samples and document the results. This article provides an actionable evaluation process. Areas without empirical data are marked as “requires testing,” and this article does not endorse any specific vendor.

    1. Define Tasks Before Testing

    Before testing, answer three questions: What task must the model complete? How long is the typical input? What format should the output take? For example, contract information extraction usually processes inputs of around 30,000 characters and outputs a fixed-structure JSON; customer service Q&A requires a single response to complete within 2 seconds. Different tasks can yield vastly different scores for the same model.

    It is recommended to break down your business into 3 to 5 categories of tasks, preparing at least 100 desensitized real samples for each. Samples must cover both common and edge cases; otherwise, test results will only reflect the model’s performance on easy questions.

    2. Five Evaluation Dimensions and Testing Methods

    1. Instruction Following and Structured Output

    Enterprise applications often require models to return data in a fixed format. When testing, prepare 200 instructions with format requirements, such as “Only output JSON, containing the fields: name, date, amount.” Track three metrics: the proportion of JSON that can be parsed directly, the field completeness rate, and the proportion of field values that match the standard answer. Record the pass rate for each item; do not score based on overall impression alone.

    2. Hallucination Rate

    Prepare a Q&A dataset with standard answers, ideally no less than 100 questions. Intentionally ask about non-existent people, documents, or events in about 20% of the questions to observe if the model admits it does not know. The hallucination rate equals the number of incorrect answers divided by the total number of questions. Also, track the refusal rate, as refusing to answer and making things up are two different modes of failure. If testing has not yet been completed, mark this item as “requires testing.”

    3. Long Context Understanding

    Use the same long document to create three length tiers: 10,000, 50,000, and 100,000 characters. Embed a verifiable fact at the beginning, middle, and end of the document, then ask questions one by one and record the recall accuracy rate for each length tier.

    It is important to note that the advertised context window only indicates how much input the model can receive, not whether it can accurately utilize every part of the input. These two aspects should be evaluated separately.

    4. Engineering Delivery Capability

    This dimension focuses on latency, throughput, and stability. In the same network environment and during the same time period, send at least 100 requests to each candidate model and record the following data:

    • Time to First Token (TTFT)
    • Total response time
    • Error rate
    • Frequency of rate-limiting return codes (e.g., 429)

    The report should provide both the median and P95 values. P95 indicates that 95% of requests take no longer than this value, which better reflects the slow requests users might encounter compared to the average.

    5. Cost

    Cost is calculated separately; the method is detailed in Section 5.

    3. Weighted Scoring Table

    Weight the scores of each dimension to facilitate horizontal comparison. Use a 1 to 5 scoring system; weights can be adjusted according to business priorities. The table below is an example:

    Dimension Weight Score (1-5) Weighted Score
    Instruction Following and Structured Output 25% 4 1.00
    Hallucination Control 20% 3 0.60
    Long Context Understanding 20% 4 0.80
    Engineering Delivery Capability 20% 5 1.00
    Cost 15% 3 0.45
    Total 100% - 3.85