Usage guide
Quickstart
Create an API Key, confirm the Base URL, call the first model, and list visible models.
Gateway Base URL
https://token.jusuanta.com
The gateway is OpenAI-compatible first. Start with the OpenAI-compatible Base URL, then use selected Claude or Gemini-compatible routes only after the administrator confirms matching channels.
Five-minute path
- Log in to the console and open API Keys.
- Create an API Key and store it in a secret manager.
- Copy the Base URL from this page or confirm it with the administrator.
- Choose MODEL_ID_FROM_MODEL_DIRECTORY from Model Directory or /models.
- Call POST /chat/completions, then use GET /models to verify visible models.
List models
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 "$GATEWAY_BASE_URL/models" \
-H "Authorization: Bearer $GATEWAY_API_KEY"First chat completion
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 "$GATEWAY_BASE_URL/chat/completions" \
-H "Authorization: Bearer $GATEWAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "'"$GATEWAY_MODEL"'",
"max_tokens": 256,
"messages": [
{
"role": "user",
"content": "Please summarize this model API gateway integration checklist in three concise sentences."
}
]
}'Model IDs are deployment-specific
Do not hard-code provider model names unless the model appears in Model Directory or /models for your API Key.