艾赛尔.聚算塔艾赛尔.聚算塔
API Reference

Models

List and inspect models visible to the current API Key.

Gateway Base URL

https://token.jusuanta.com

GET/models

List available models

Method

GET

Path

/models

Auth

Authorization: Bearer <API_KEY>

Request

No request body. The result is filtered by API Key, group, model policy, and pricing visibility.

Response

Returns an OpenAI-style model list under data, including model IDs visible to the caller.

Error cases

401 for invalid API Key. 403 for disabled user or IP restrictions.

Notes

Use this response as the source of truth before choosing a model ID.

GET/models/{model}

Inspect one model

Method

GET

Path

/models/{model}

Auth

Authorization: Bearer <API_KEY>

Request

Path parameter model is the exact model ID from Model Directory or /models.

Response

Returns metadata for a visible model. Gemini-compatible callers may use key or x-goog-api-key.

Error cases

401 for invalid key. model_not_found when the model is not visible to this API Key.

Notes

Uses the same visibility policy as GET /models. Do not use provider marketing names unless they appear in the directory.

On this page