Models
JoyToken models are not a static list of names. The model marketplace is backed by the router-service model pool and includes model_key, tier, provider, capability tags, scenario tags, MCI score, and customer-facing rates. Chat requests can specify a model directly or use model: "auto" and let router-service choose.
Model List API
The current public model marketplace path is:
This endpoint is exposed by front-gateway and currently does not require an API key. Request flow:
The response is wrapped by front-gateway:
If admin-bff is not configured, the endpoint returns 50300 admin-bff not available.
Query Parameters
Model Fields
Select a Model
Chat Completions supports two main paths:
Public docs should recommend auto first because JoyToken’s core value is routing, policy, and cost governance. Use concrete model_key values when you need repeatable evaluation, compliance pinning, or a fixed cost curve.
Selection Guidance
Relationship to API Key Policy
The model list shows the model pool. It does not mean every API key can call every model. Final availability is also constrained by:
- API key
tier. - Policy snapshot
allowed_tiers/tiers. model_blacklist.- API key
fixed_model. - IP allowlist/blocklist.
- Wallet balance, budget, and freeze amount.
If a model is visible in the catalog but the request is rejected, check the API key policy and tier first.