Reference
lg_models_list: Models and prices
List the models offered with their lowest list price, context and price status; filter by maker, modality, price, context or parameter, and page.
- Changes data: no (read only)
- Credential scope: any signed-in key
- Assistant level: any connected assistant (Read only and up)
Inputs
| Field | Type | Required | Notes |
|---|---|---|---|
query | object (include, author, input_modality, output_modality, max_prompt_price, max_completion_price, min_context, supports, q, sort, limit, after) | no | |
query.include | "pending" | no | |
query.author | string | no | Makers, comma-separated: qwen,deepseek |
query.input_modality | "text" | "image" | "audio" | "video" | "file" | no | |
query.output_modality | "text" | "image" | "audio" | "video" | "file" | no | |
query.max_prompt_price | string | no | US dollars per million input tokens, at most |
query.max_completion_price | string | no | US dollars per million output tokens, at most |
query.min_context | string | no | Tokens, at least |
query.supports | string | no | A parameter every match takes: tools, response_format, reasoning… |
query.q | string | no | Text in the id or name |
query.sort | "id" | "name" | "price" | "context" | "newest" | no | |
query.limit | string | no | 1 to 500; without it, every match |
query.after | string | no | The last id of the previous page |
Example MCP call
A tools/call request to https://manage.restolayer.com/mcp:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "lg_models_list",
"arguments": {
"query": {
"author": "qwen,deepseek",
"max_prompt_price": "0.50",
"supports": "tools",
"sort": "price",
"limit": "20"
}
}
}
}Example REST call
The same thing over REST (GET /v1/models):
curl -s -X GET "https://manage.restolayer.com/v1/models?author=qwen%2Cdeepseek&max_prompt_price=0.50&supports=tools&sort=price&limit=20" \
-H "Authorization: Bearer $LG_API_KEY"All tools: MCP tools. Connecting: connect your assistant.