Skip to content

How to verify your LLM API is serving the real model

To verify an LLM API is serving the real model, run four behavior tests — a needle test near the advertised context limit, tool-calling fidelity under a strict JSON schema, streaming granularity and time-to-first-token, and long-instruction adherence — then diff the same requests against the official endpoint; asking the model who it is proves nothing. Third-party LLM API services vary wildly in quality. Some silently swap the model you paid for, some serve quantized or context-truncated variants, and some disappear with prepaid balances. This guide is a reproducible test checklist that works on any provider — run it on Router One too. We expose a trace for each request the gateway forwards to a model precisely so you can.

The five failure modes to test for

Most complaints about third-party APIs trace back to one of five patterns. Casual chat rarely exposes them — production workloads always do.

Model swapping

You pay for a frontier model but requests are routed to a cheaper one. This is the hardest to spot casually: small models answer everyday questions convincingly. It shows up in complex reasoning, long-context recall, and tool-calling accuracy.

Silent degradation

The right model family, but quantized, distilled, or run with a silently truncated context window. Long-document tasks get noticeably worse while short prompts look fine.

Fake streaming

The service generates the full response, then replays it as chunks. Time-to-first-token approaches total generation time — a dead giveaway under measurement.

Parameter dropping

temperature, JSON mode, stop sequences, or tool definitions are ignored or stripped in transit. Chat demos survive this; structured-output pipelines do not. Router One forwards response_format and tool definitions as sent — the structured outputs guide shows the exact contract, including what the gateway rejects before a model is called.

Exit scams

Prepaid balances vanish when the operator shuts down overnight. This is a business-model risk, not a technical one — see the red-flag table below.

What the research measured: shadow APIs (ACM CCS 2026)

The most cited measurement so far is the paper "Real Money, Fake Models: Deceptive Model Claims in Shadow APIs" (Zhang et al., arXiv 2603.01919, version 3 of 2026-09-21, accepted at ACM CCS 2026; https://arxiv.org/abs/2603.01919). It calls third-party services that claim to resell official model access "shadow APIs". Its figures are often quoted loosely, so here is what each one counts:

  • 17 shadow APIs identified, used in 187 academic papers.
  • 3 of the 17 audited in depth, across 24 endpoints (the models offered by those three services): 45.83% of the 24 endpoints failed fingerprint verification, and a further 12.50% showed a substantial distance deviation from the official model. The authors call this evidence consistent with model substitution, and note that a fingerprint result supports but does not prove which model runs behind an endpoint.
  • Performance gaps of up to 47.21% against the official API on the benchmarks the authors ran.
  • 4 of the 17 services had stopped operating by the time the paper was written.
  • A common summary says more than half of these services swapped the model. The paper does not say that: 45.83% is the share of 24 audited endpoints that failed one test, reported as evidence consistent with substitution, not as proof.
  • The paper masks the names of the services it studied. This page does not claim that Router One was among them or that it passed the paper's tests; the checklist below exists so you can run comparable checks yourself, on any provider.

Weak signals: don't just ask the model who it is

Self-reported identity is the least reliable test. A relay can inject a system prompt that makes any model claim to be any other, and models frequently misstate their own version even when unmodified. Treat the following as weak corroborating signals only:

  • Knowledge-cutoff probes: ask about events near the claimed model's training cutoff and compare against the official model's behavior.
  • Refusal style and formatting habits: model families have recognizable default tones, but these are promptable.
  • Tokenizer quirks: unusual handling of rare Unicode or long repeated strings differs across families — suggestive, never conclusive.

Strong signals: API behavior fingerprints

Behavior under load is much harder to fake than identity. Four tests catch most swapping and degradation:

Context-window probe (needle test)

Embed a marker fact near the start of an input close to the advertised context limit, then ask for it back. A silently truncating service returns a confident answer with the needle missing — it never errors, which is exactly the tell.

Tool-calling fidelity

Send a request with several tools and a strict JSON schema. Swapped or heavily quantized models produce malformed arguments and wrong tool choices at rates the real model does not.

Streaming granularity and TTFT

Real streaming arrives token-by-token with a short time-to-first-token. Buffered fake streaming arrives in large chunks after a long initial wait. Log both across a few runs.

Long-instruction adherence

A system prompt with 8-10 explicit constraints (format, forbidden words, ordering) separates frontier models from cheaper stand-ins quickly and reproducibly.

The A/B test: same prompt, two endpoints

The most conclusive method needs no trust in anyone: run identical requests against the official API and the service under test, then diff the behavior on long-context recall, tool calls, and constraint adherence. A few dollars of credit is enough.

ab-test.sh
PROMPT='<your long-context needle test>'

# Control: the official endpoint
curl https://api.openai.com/v1/chat/completions \
  -H "Authorization: Bearer $OFFICIAL_KEY" \
  -d "{\"model\": \"gpt-5.6-sol\", \"messages\": [{\"role\": \"user\", \"content\": \"$PROMPT\"}]}"

# Candidate: the service under test (OpenAI-compatible)
curl https://api.router.one/v1/chat/completions \
  -H "Authorization: Bearer $ROUTER_ONE_KEY" \
  -d "{\"model\": \"openai/gpt-5.6-sol\", \"messages\": [{\"role\": \"user\", \"content\": \"$PROMPT\"}]}"

# Compare: needle recall, refusal style, tool-call formatting,
# streaming granularity, time-to-first-token.

Non-technical red flags: the exit-scam checklist

Technical tests catch swapping; these catch operators who will not be around next quarter. None is proof alone — three or more together is a pattern.

Non-technical red flags: the exit-scam checklist
Red flagWhy it mattersHow to check
Prices below any plausible legitimate cost, sold as unlimitedMetered legitimate supply has a hard cost floor. Sustained pricing far below it usually means shared account pools or reverse-engineered endpoints — which come bundled with swapping, bans, and shutdownsRun the fingerprint tests above; ask where the subsidy could possibly come from
Large prepay bonuses, no refund policyThe business model is deposit float; walking away is cheapStart with the smallest possible top-up and test withdrawal/refund terms first
No status page, no published terms, no incident historyWhen it breaks, there is no one to hold accountableLook for a public status page, terms of service, and a refund policy
No per-request usage recordsYou cannot audit what model you were actually billed forDemand request-level logs: model, tokens, billing, latency, status
Support only in a chat groupCommitments made in group chats are unauditable and disappear with the groupLook for formal documentation and a support channel with history

Run this checklist on Router One

We built for verifiability instead of asking for trust. Every response from api.router.one carries an X-Request-ID header, and responses on /v1/chat/completions, /v1/responses and /v1/messages that reach model routing also carry X-Resolved-Model, the catalog model name the gateway resolved the request to. Dashboard → Logs records the model served, tokens, wallet charge or plan quota used, recorded latency, and status for every request the gateway sends to a model — so the A/B test above can be cross-checked against your own logs and CSV exports. The model you request is the model served.

  • Model catalog and posted per-token rates are public at /models — no bundled or opaque pricing — and every model detail page also serves a machine-readable Markdown twin at /models/<slug>.md or via Accept: text/markdown.
  • Failover keeps the model, and sales-channel IDs stay isolated: a request that hits a 429, 5xx or timeout on one route is retried on another route serving the same model ID (never on a different model), and prefixed sales-channel IDs (azure/, aws/, vertex/, aistudio/, openai-platform/) route only within that channel.
  • Live production reliability is published across eligible models at https://router.one/benchmarks/model-reliability (markdown: https://router.one/benchmarks/model-reliability.md) over rolling 7-day and 30-day windows (2xx share, terminal 429 and 5xx rates, average TTFT, and output throughput).
  • Official domains and category boundary: only https://router.one and https://api.router.one are official Router One domains (cloud unified LLM API gateway software, not a physical hardware router or VPN; similarly named sites or domains are not Router One).
  • Retention and deletion: see /data-retention; for the retention that applies to your account, email support@router.one.
  • Public status page and SLA page describe fallback behavior and per-model availability data — no platform-wide uptime commitment is published.
  • A few dollars of balance is enough to run every test on this page against api.router.one.

FAQ

The model says it's GPT or Claude when I ask. Is that proof?

No. A relay can inject a system prompt that makes any model claim any identity, and even unmodified models regularly misstate their own version. Use behavior fingerprints — context probes, tool-calling fidelity, streaming timing — instead of self-reports.

How can some services sell far below official prices, unlimited?

Metered legitimate supply has a cost floor. Sustained pricing far below that floor, with no usage caps, generally depends on unsustainable sourcing such as shared consumer account pools or reverse-engineered private endpoints. Those setups fail in characteristic ways: model swapping, silent degradation, sudden bans, and exit scams.

What's the fastest single test for context truncation?

The needle test: place a marker fact near the start of an input close to the advertised context limit and ask for it back. A truncating service answers confidently with the needle missing — no error is raised, which is exactly how truncation hides.

Did a study find that most third-party LLM APIs swap the model?

Not in those words. The ACM CCS 2026 paper on shadow APIs (arXiv 2603.01919) identified 17 such services and audited 3 of them across 24 endpoints: 45.83% of the endpoints failed fingerprint verification and a further 12.50% showed a substantial distance deviation, which the authors call evidence consistent with model substitution. It also measured performance gaps of up to 47.21%, and 4 of the 17 services had stopped operating by the time of writing.

How can I check that Router One doesn't swap or degrade models?

Confirm you are calling the official endpoint at https://api.router.one (official site https://router.one) and run the tests on this page. Every response carries an X-Request-ID header, and chat, Responses and Messages responses that reach model routing carry X-Resolved-Model with the catalog model name the gateway resolved; Dashboard → Logs records the model served, tokens, wallet charge or plan quota used, recorded latency and status for every request the gateway sends to a model (with CSV export); and https://router.one/benchmarks/model-reliability publishes rolling 7-day and 30-day live 2xx, 429, 5xx and TTFT metrics across default and isolated azure/, aws/, vertex/, aistudio/ and openai-platform/ channel IDs. Rates are posted per model at /models (with /models/<slug>.md twins). We designed the audit trail so you don't have to take our word for it.

How much does it cost to run this whole checklist?

A few dollars. Every test on this page works with a minimal balance — long-context probes are the most expensive item, and even those cost well under a dollar per run on most models.