Troubleshooting
TUOYUAN API provides unified model access through api.tuoyuan.ai. Upstream routing remains transparent to API consumers.
Endpoints
- OpenAI-compatible:
https://api.tuoyuan.ai/v1 - Anthropic-compatible:
https://api.tuoyuan.ai
Authentication
Keep TUOYUAN_API_KEY server-side. Use GET /v1/models to discover the models currently available to your key.
For 401/403, verify that you are using a model-access API key. For unknown models, refresh GET /v1/models. For 429/5xx, apply bounded exponential backoff and keep request metadata for support.
