List models and prices
list_modelsList models and prices
Models the Model API serves at a fixed price per token, with our price per million prompt and completion tokens, sorted by id and paged: 100 per page by default, up to 200. q narrows the list to models whose id or name contains it (case-insensitive). The list is large: search with q instead of reading every page. Public and cacheable for 60 seconds (Cache-Control: public, max-age=60). Call a chat model (kind "chat") at https://api.opencheap.si/v1/chat/completions with a model key, in OpenAI format. Call a decisions model (kind "decisions"), which answers typed questions about a text, at https://api.opencheap.si followed by its endpoint with a model key; it is billed on input tokens only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_models"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Only models whose id or name contains this text, ignoring case (e.g. `claude`, `gpt-4o`). | |
| limit | No | Page size, 1 to 200. | |
| cursor | No | The `nextCursor` of the previous page, unchanged. |