How to Detect Third-Party LLM Downgrades: Logs, Fingerprints, and Performance Verification

    This article outlines a structured approach to verify whether a third-party AI platform has downgraded, quantized, or replaced a language model. By dividing suspicions into quantization, substitution, and non-model factor hypotheses, it covers log collection, behavioral fingerprinting, A/B testing for system prompts and sampling parameters, blind evaluation methodologies, and an actionable audit checklist to ensure accurate and compliant conclusions.

    I. Breaking Down Suspicions into Three Hypotheses

    When users feel a model has become “slower” or “dumber,” it may stem from three different causes:

    1. Quantization Hypothesis: The platform deployed the same model with lower-precision weights to reduce memory and computation costs.
    2. Substitution Hypothesis: The platform requests Model A, but Model B (usually cheaper) actually answers.
    3. Non-Model Factor Hypothesis: The model is identical, but system prompts, sampling parameters, context truncation, network routing, or queueing policies differ.

    Verification methods vary for each hypothesis. Designing specific tests before concluding is more reliable than jumping directly from “slow” to “quantized.”

    II. Level 1: Collecting Call Logs Within a Trusted Boundary

    Logs are the most accessible evidence, but their credibility depends on where they are collected.

    The model name in the response body is filled by the platform. If the platform rewrites responses at the gateway layer, logs may not reflect reality. Therefore, logs are only clues, not standalone conclusions.

    It is recommended to record the following fields on your own client or self-built proxy:

    • Request ID and timestamp
    • Requested model name and returned model name
    • Protocol path and API version
    • Time to First Token (TTFT) and total duration
    • Input and output token counts
    • Hash of the response body, used to compare output consistency for fixed inputs
    • Source of the platform’s declared model version (e.g., response header, response body, or official documentation)

    After collection, perform three cross-verification steps:

    1. Billing Verification: Compare the platform’s token-based billing records with your own token statistics. Investigate discrepancies first.
    2. Parallel Probes: Send identical fixed requests to official and third-party channels within the same time window, comparing output distribution and token usage.
    3. Upstream Credentials: If the platform provides upstream trace IDs or call credentials, request them from support and retain written records.

    If logs contain sensitive information, desensitize them first. Remove API keys, phone numbers, and emails. Hash or truncate user prompts for storage, and set retention limits. Ensure your collection and testing comply with the platform’s Terms of Service, such as whether automated bulk calls are allowed or saving output content is restricted.

    III. Level 2: Verifying Quantization and Substitution

    Quantization Hypothesis

    Whether quantization applies depends on three factors: the specific model, quantization format, and inference backend.

    Some public model versions are released with low-precision weights. For example, some models use 4-bit mixed precision for routing experts while retaining higher precision for attention layers and shared experts. This depends on the vendor’s release notes and cannot be generalized to all models.

    Compressing further from 4-bit to 3-bit or 2-bit is possible, but quality loss is most apparent in long-chain reasoning, precise calculations, and code generation. Some low-bit formats require de-quantization during inference, and throughput/memory benefits vary by framework and hardware.

    To determine if a platform uses low-bit weights, do three things:

    • Compare the accuracy of identical tasks on official and third-party channels, rather than relying on subjective feelings.
    • Check if platform documentation specifies deployment precision or quantization methods.
    • Run the same weights at different precisions in a self-built environment to observe quality and latency changes, establishing a local baseline.

    Substitution Hypothesis

    The key to the substitution hypothesis is finding evidence that does not rely on the platform’s self-reporting. Usable evidence includes:

    • Model usage details in official billing
    • Behavioral fingerprints on fixed prompt sets (e.g., standard answers to specific questions, adherence to formatting instructions)
    • Outputs from the official API for similar inputs at the same time, compared with third-party outputs

    Behavioral fingerprints require statistical evaluation. Even with temperature set to 0 or a fixed random seed, different hardware and batching methods can cause subtle output variations. Therefore, compare the distribution across a set of samples rather than checking if a single output matches exactly.

    Strength of Conclusions

    Only when logs, billing, parallel probes, and behavioral fingerprints all point to the same model can the substitution hypothesis be ruled out. If any evidence is missing, the conclusion should be “no evidence of substitution found” rather than “substitution ruled out.”

    IV. Level 3: Quantifying Non-Model Factors with A/B Testing

    Perceived differences often stem from prompts, sampling parameters, and routing states. These factors can be individually verified through controlled experiments.

    System Prompts

    The length of system prompts injected by different tools varies greatly, some exceeding 10,000 tokens. This increases TTFT and consumes context window space.

    Experiment Method: Keep user input unchanged, test with both the full system prompt and a trimmed version, recording TTFT, total duration, and task accuracy. The difference between the two groups reflects the prompt’s impact.

    Sampling Parameters

    Default values for temperature, top-p, max output length, and stop sequences vary by platform. If the max output length is set too low, long answers are truncated, appearing like a capability drop.

    Experiment Method: Explicitly fix all parameters, changing only one at a time, and observe changes in output length and accuracy.

    Routing and Scheduling

    Requests to aggregator platforms typically pass through the client, platform gateway, and upstream inference service. Queueing, load balancing, and cache hits all affect latency.

    Experiment Method: Send the same batch of requests during peak and off-peak hours, comparing latency distribution. If tail latency increases significantly during peak hours while accuracy remains unchanged, the issue lies primarily in the scheduling layer.

    Using Quantiles to Describe Latency

    Averages easily mask long tails. It is recommended to report the following metrics:

    • P50 and P95 for TTFT, reflecting typical and poor experiences respectively
    • P50 and P95 for total duration
    • Tokens output per second (output token count divided by generation time)

    If P95 is significantly higher than P50, it indicates queueing or occasional timeouts. In such cases, averages cannot explain the problem.

    V. Blind Evaluation Process and Sample Size

    Subjective scoring is easily biased by channel labels, requiring blind evaluation.

    1. Task Set: Cover reasoning, code, long text, and instruction following, with at least 50 tasks per category, starting at 200 total.
    2. Repetitions: Run each task 3 times per channel, saving all outputs.
    3. Anonymization: Remove channel identifiers, model names, and formatting features, unify layout, and randomize numbering.
    4. Scoring Dimensions: Correctness (0 to 2 points), code runnability (passing tests), long-chain reasoning completeness (step completeness).
    5. Cross-Review: Each output scored independently by at least two reviewers. If the score difference exceeds 1 point, a third reviewer adjudicates.
    6. Statistical Testing: Use the bootstrap method to calculate the 95% confidence interval for the accuracy difference between two groups. If the interval includes 0, the two groups cannot be considered different.

    This sample size is just a starting point; more tasks lead to more stable conclusions. If standard tasks differ significantly from your actual business, replace them with your real tasks.

    VI. Actionable Audit Checklist

    1. Fix Variables: Standardize system prompts, sampling parameters, random seeds, and task sets, and record version numbers.
    2. Collect Logs: Record the fields listed in Level 1 within a trusted boundary and ensure desensitization.
    3. Billing Comparison: Verify platform usage against your own token statistics.
    4. Parallel Probes: Send identical requests to official and third-party channels within the same time window.
    5. Blind Evaluation: Execute the process in Level 5, reporting accuracy and confidence intervals.
    6. Time-Sharded Testing: Measure P50 and P95 during peak and off-peak hours to differentiate scheduling issues from capability issues.
    7. Prompt Ablation: Compare latency and accuracy under full and trimmed system prompts.
    8. Formulate Conclusions: Grade conclusions by evidence strength, e.g., “evidence of substitution found,” “no evidence of substitution found,” or “insufficient evidence.”

    VII. Conclusion and Compliance Reminder

    Feeling slower does not mean the model has been quantized or substituted. Logs, billing, probes, behavioral fingerprints, and controlled experiments provide separate pieces of evidence; conclusions should be drawn from multiple sources.

    If anomalies are found, compile the evidence into written materials first, communicate with platform support, and request an explanation. If evidence is insufficient, avoid publicly accusing the platform of swapping models to prevent compliance disputes or reputational damage.

    When choosing a model service platform, focus on API transparency, log auditability, latency stability, and billing rules. These metrics reflect service quality better than a single subjective experience.