Before going live on RouterBrain.
Configuration
- Prod URL and keys only on servers/secrets (Security best practices)
-
baseURLincludes/v1(OpenAI surface) - Anthropic uses
https://ai.win10030.com/anthropic/v1 - Production and non-production keys and Base URLs are not mixed
Network
- HTTPS only
- Egress IPs on allow list (if used)
- Proxy SSE buffering disabled (Streaming)
- Read timeout ≥ max expected generation
Reliability
- Backoff on 429/5xx (Errors)
- Streaming handles disconnect and
[DONE] - Timeouts /
AbortSignalon critical paths - Idempotent tool side effects
Observability
-
x-trace-idon every call - Redacted logs (no full keys / raw prompts)
- Metrics on 401/403/429/5xx and P99 latency
- Support template ready (Support information)
Functional checks
-
GET /modelsworks - Non-stream and stream chat pass
-
modelids exist and are entitled - Files/PDF path if used
- Embeddings via HTTP if used
Capacity
- Concurrency limits and queues
- Load-tested large contexts/attachments