First API call
Confirm the Base URL, authentication, model ID and minimal response before adding streaming or tools. Start here.
Test an OpenAI-compatible API, Cursor custom API or Dify endpoint with a minimal request. Verify the Base URL, API key, model ID, streaming and tool calls, then turn a vague 401, 404, 429 or timeout into a reproducible production finding.
Confirm the Base URL, authentication, model ID and minimal response before adding streaming or tools. Start here.
Check response structure, token metadata, SSE and tool calls against your endpoint. Open the checker.
Use protocol-specific setup, then verify actual events and tool behavior. Developer tools.
Work through 401, 404, 429, 5xx, timeouts, retries and fallback behavior. Troubleshooting guide.
Keep the API Base URL as configuration, not as a browseable marketing link. The example below uses the documented AIFast endpoint; replace the environment variables with the gateway you are evaluating and never paste a live key into an issue, screenshot or public repository.
export OPENAI_BASE_URL="https://www.aifast.hk/v1"
export OPENAI_API_KEY="replace-with-a-limited-test-key"
curl -sS "$OPENAI_BASE_URL/chat/completions" \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"YOUR_CURRENT_MODEL_ID","messages":[{"role":"user","content":"Return only: ok"}]}'
For a useful record, retain the endpoint path, configured model ID, timestamp, HTTP status, request ID when returned, response shape, and any failure body. Then repeat with the capability that your actual workload needs rather than treating a basic 200 as complete validation.
Check the authorization header, the account scope, accidental whitespace in a key, and whether a proxy removed the header.
Check whether the client appends /v1, /chat/completions or another path itself. Test the final request URL, not only the configured string.
Record the response headers and retry policy. Separate rate limiting, upstream timeouts and client-side cancellation before adding fallback.
It can verify request and response format, authentication, declared model ID, streaming, tool calls and observable error behavior. It cannot prove the underlying vendor model identity from one request.
No. Test the capabilities your workload needs. A batch workflow may not need streaming or tools; an agent workflow usually needs both.
Record the exact endpoint path, model ID, HTTP status, request ID where available, response shape, sample size, error distribution, latency percentiles and cost.
API status and evidence center · How to read a check report · Codex gateway checklist · Platform facts and citation limits