Agent and client integration
OpenAI SDK
Use OpenAI-compatible SDK configuration for the default gateway integration path.
Gateway Base URL
https://token.jusuanta.com
Configuration checklist
| Field | Value |
|---|---|
| Recommended protocol | OpenAI-compatible. |
| Base URL | Use the Base URL copied from this docs page. |
| API Key | Use a gateway user API Key. |
| Model ID | Use a model ID returned by /models or shown in Model Directory. |
| Minimum validation | Call GET /models, then send one small POST /chat/completions request. |
| Streaming | Supported when the selected model and channel support streaming. |
| Tool calling | Supported only when the selected model produces compatible tool calls. |
| Responses API | Use POST /responses only when the client expects the Responses API shape. |
| Known limits | Do not assume every upstream model supports tool calling, response state, or compact mode. |
Client compatibility validation
For clients outside the verified list, use the OpenAI-compatible Base URL, API Key, and Model ID pattern first. Send a small request and confirm model visibility, request success, streaming behavior, and Usage Logs before longer agent work.