API reference
List and query models
Use the Models API to query models available to the current key, display model choices dynamically or validate a model ID.
Retrieve the model list
GET https://api.yomiapi.com/v1/models
Request headers:
Authorization: Bearer YOUR_API_KEY
Python example
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.yomiapi.com/v1"
)
models = client.models.list()
for model in models.data:
print(model.id)
cURL example
curl https://api.yomiapi.com/v1/models \
-H "Authorization: Bearer YOUR_API_KEY"
Node.js example
import OpenAI from 'openai';
const client = new OpenAI({
apiKey: 'YOUR_API_KEY',
baseURL: 'https://api.yomiapi.com/v1'
});
async function main() {
const models = await client.models.list();
for (const model of models.data) {
console.log(model.id);
}
}
main();
Example response
{
"object": "list",
"data": [
{"id": "gpt-5.6-sol", "object": "model", "created": 1234567890, "owned_by": "openai"},
{"id": "claude-sonnet-5", "object": "model", "created": 1234567890, "owned_by": "anthropic"},
{"id": "kimi-k3", "object": "model", "created": 1234567890, "owned_by": "moonshot"}
]
}
Retrieve one model
GET https://api.yomiapi.com/v1/models/{model_id}
model = client.models.retrieve("deepseek-v4-flash")
print(model)
Model catalog
The table below lists the platform's main offered models. For the complete list, refer to the Model Catalog (Models in the console) and the actual /v1/models response. Use the IDs in the table for the model parameter in your code.
Text and multimodal models
| Model | Context | Positioning |
|---|---|---|
deepseek-v4-flash | 1M | Lightweight and very fast; a first choice for frequent calls |
deepseek-v4-pro | 1M | Deep reasoning with exceptional value |
claude-opus-4-6 | 1M | High-end coding and reasoning |
claude-opus-4-7 | 1M | Advanced professional flagship |
claude-opus-4-8 | 200K | Top-tier reasoning for long documents and complex agents |
claude-opus-5 | 1M | Leading deep reasoning |
claude-fable-5 | 1M | Top-tier flagship with peak performance |
claude-sonnet-4-6 | 200K | Balanced and efficient for everyday use |
claude-sonnet-5 | 1M | Balances speed and intelligence for production agents |
gpt-5.4 | 1.05M | Previous-generation flagship; mature and stable |
gpt-5.5 | 1.05M | A mainstay for deep thinking |
gpt-5.6-sol | 1.05M | General-purpose flagship with leading reasoning and coding |
gpt-5.6-terra | 1.05M | Specialized coding with strong value |
glm-5.2 | 1M | Chinese flagship with all-round improvements |
kimi-k3 | 1M | Very long context; a benchmark for long documents |
Specialized models
| Model | Positioning |
|---|---|
| Image, video, audio and embedding models are not shown in the text catalog. See the Model Catalog (Models in the console) for currently available models | |
Available models may differ according to the key's group.
/v1/models returns the models actually available to the current key. Use this endpoint in applications instead of hardcoding the list.