A Compatible API Means Identical Behaviour
Guide · about 5 min · refs checked 2026-11-03 (reference links and dates only)
Compatibility guarantees the shape of requests and responses, nothing more.
If the API is OpenAI-compatible, switching over gives the same behaviour.
Compatibility typically concerns specified request/response conventions. Check supported scope, defaults, streaming, tools and errors individually. Shared interface names do not establish equal behavior or output quality.
Example and interpretation
A teaching scenario, not a measured or executed site test.
During migration, test ordinary output, structured output, streaming, tool calls and errors separately. Record fields and behavior. A successful request establishes connectivity, not preservation of every feature.
How to check your practice
Explain the example in your own words, inspect input constraints, then verify against the source. Revisit concepts if you cannot explain why; supply missing dates, fields or permissions; withdraw unsupported conclusions.
For this topic, start with concept confusion · See all six scenarios and their reasoning
- vLLM OpenAI-compatible server ↗
Is Multi-GPU Interconnect Worth It? · How to Assess a Model Migration