艾赛尔.聚算塔艾赛尔.聚算塔
Usage guide

Troubleshooting workflow

Diagnose authentication, model visibility, balance, rate-limit, upstream, and streaming issues.

Gateway Base URL

https://token.jusuanta.com

Common failures

SymptomFirst checks
401 UnauthorizedConfirm the API Key and Authorization: Bearer header.
403 ForbiddenCheck user status, API Key group, model policy, and IP restrictions.
429 Rate limitedCheck user, key, channel, and upstream rate-limit settings.
Model unavailableUse /models and Model Directory, then check channel health.
Insufficient account balanceRecharge or ask an administrator to adjust the account balance.
Streaming interruptedRetry without streaming, then inspect proxy and upstream stream support.

Capture an error response

export GATEWAY_API_KEY="sk-..."
export GATEWAY_BASE_URL="https://token.jusuanta.com"
export GATEWAY_MODEL="MODEL_ID_FROM_MODEL_DIRECTORY"
export GATEWAY_EMBEDDING_MODEL="EMBEDDING_MODEL_ID"
export GATEWAY_RERANK_MODEL="RERANK_MODEL_ID"

curl -i "$GATEWAY_BASE_URL/chat/completions" \
  -H "Authorization: Bearer $GATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"MODEL_ID_FROM_MODEL_DIRECTORY","messages":[{"role":"user","content":"Return one checklist item for gateway troubleshooting."}]}'

On this page