How can I tell if an AI API relay is serving the real model?
Short answerYou can't prove it by asking the model what it is: models often misname themselves and a relay can inject its own system prompt. Check behaviour and accounting instead: compare prompt token counts with the official API for the same input, test for injected instructions, push the documented context length, and repeat the checks at different times of day. A flagship model offered far below the vendor's list price is a warning sign.
Last checked: 2026-11-15
Six checks you can run yourself
1
Compare prompt_tokensSend the same fixed prompt to the official API (or count it with the vendor's tokenizer) and to the relay. prompt_tokens should match closely. A large surplus means hidden text is being added or usage is padded.
2
Look for injected instructionsWith no system prompt of your own, ask the model to repeat everything it was given before your message, word for word. If it quotes instructions you never sent, the relay is injecting a prompt.
3
Test the context lengthSend an input near the model's documented context window. A smaller substitute model tends to error out or lose the beginning of the input much earlier.
4
Use fingerprint promptsKeep a small set of hard prompts (reasoning, code, long-form instructions) with answers from the official API. Re-run them on the relay and compare quality, not wording.
5
Sample over timeSubstitution can happen only at busy hours. Re-run the checks at different times and days and log the results.
6
Sanity-check the priceLegitimate resale can discount for volume, but a flagship model sold at a fraction of the vendor list price usually means a cheaper model, shared or stolen keys, or hidden limits.
What a self-description proves
Very little. "Which model are you?" answers come from training data and from any system prompt the relay adds, so a genuine model can answer wrongly and a substitute can be told to claim any name. Use it only as a weak signal alongside the checks above.
How VantixCloud handles this
Before we route traffic to a source, we test its keys for injected prompts, model authenticity and stability, and we keep testing while it is in use. We don't offer a public key-checking tool, because such a tool is easily used to validate stolen keys. If you are evaluating us, run the checks above on a small first order.
Follow-up questions
Is a much faster response a sign of a fake model?Not on its own. Speed depends on load, region and serving setup. Combine timing with token counts and quality checks.
Can a relay change my outputs?A relay sits between you and the model, so it can add system prompts or alter responses. Prefer providers that don't inject prompts and that let you verify usage.
What should a relay disclose?Which vendor models it serves, whether it adds any system prompt, how usage is counted, and how it handles your data.
About VantixCloud: an independent AI and network infrastructure procurement service for teams outside mainland China. We buy through vendor and channel relationships and quote by volume. We are not an official partner of any model vendor or cloud.
Related pages