compare_endpoints
Compare two live LLM API endpoints to detect model and fingerprint changes, finish-reason drift, TTFT differences, and protocol breaches before deployment.
Instructions
Compare two live targets for observed model and fingerprint changes, finish-reason drift, TTFT, and protocol breaches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Requested model ID. Omit to let inferdiff discover a model from the endpoint. | |
| url_a | Yes | HTTP(S) endpoint base URL or full streaming route, for example /v1/chat/completions. | |
| url_b | Yes | HTTP(S) endpoint base URL or full streaming route, for example /v1/chat/completions. | |
| api_key | No | Explicit API key as a compatibility fallback. Prefer api_key_env to keep it out of client context. | |
| model_a | No | Requested model ID. Omit to let inferdiff discover a model from the endpoint. | |
| model_b | No | Requested model ID. Omit to let inferdiff discover a model from the endpoint. | |
| profile | No | Canary profile. quick runs the core checks, full runs all standard checks, relay targets relay behavior. | quick |
| protocol | No | Streaming protocol. Anthropic runs C9 and Gemini runs C10 with an inferdiff build that supports them. | openai |
| api_key_a | No | Explicit API key as a compatibility fallback. Prefer api_key_env to keep it out of client context. | |
| api_key_b | No | Explicit API key as a compatibility fallback. Prefer api_key_env to keep it out of client context. | |
| api_key_env | No | Name of the server environment variable containing the API key. Prefer this over api_key. | |
| api_key_env_a | No | Name of the server environment variable containing the API key. Prefer this over api_key. | |
| api_key_env_b | No | Name of the server environment variable containing the API key. Prefer this over api_key. |