Direct answer
Use GET https://api2.laozhang.ai/v1/models to retrieve models visible to the current API key. The list is for model-ID discovery. It does not prove support for every endpoint, parameter, SDK, tool, or account group, and it is not the sole source for pricing or compatibility.
This page was last verified on September 2, 2026. OpenAI documents that a model object provides basic information such as ID, creation time, and owner: Models API. LaoZhang API pricing and groups are shown in the console.
List models
Typical response shape:
Actual fields can vary by gateway and model source. Clients should ignore unknown fields and must not rely on placeholder values in this example.
Field boundaries
From list entry to accepted integration
- Confirm the model ID, endpoint, and candidate group in the model and pricing catalog.
- Confirm API key permission and billing unit in the console.
- Send a minimal real request to the target endpoint.
- Validate the response, errors, and actual charge.
- Test tools, streaming, multimodal input, and failure branches separately.
A /v1/models entry, HTTP 200 response, or ability to use an OpenAI SDK does not by itself prove full compatibility.
Common questions
Why is a console model missing from the API list?
The cause can be the API key group, account permission, cache, or model status. Create a minimal test key, then provide the time, account, model, and group to support.
Why does a listed model return 403 or 404?
The model may not belong to the key group, the endpoint may be wrong, the model may have changed, or the account may lack permission. Follow the model availability checklist.
Does the Models API return live prices?
Do not assume it does. Use the console pricing page, model catalog, and call logs for prices, tiers, groups, and per-call billing.