401 Unauthorized
The request is missing a valid bearer token or the API key is invalid.
- Check Authorization header format
- Confirm the key was copied correctly
- Confirm the key has not been revoked

Troubleshooting
Use this page when a request fails and you need a fast decision tree. Start with request path, key state, model status, and account balance before assuming a deeper platform bug.
Errors
The current API exposes a focused surface, so most failures still cluster into a small number of causes. Confirm model availability in the model catalog and balance steps in Billing and Recharge.
The request is missing a valid bearer token or the API key is invalid.
The credential is valid but cannot perform the requested action.
The request path is wrong or the model code is not exposed by the current route.
The request cannot proceed because balance or limits do not permit it.
The model exists in the catalog but is not currently active.
The request reached the platform but failed during upstream execution or routing.
A streaming request started but the upstream SSE connection ended unexpectedly.
The stream completed but the upstream did not return usage metadata, so AnLinkAI did not deduct cost for that call.
The client closed the streaming connection before the request completed.
The JSON shape or required fields are malformed.
Fast Path
https://console.anlinkai.comhttps://api.anlinkai.com/api/v1/chat/completions/faq/model-catalog/billing-and-recharge