API/models
Danh mục REST của các mô hình chat đang mở. Hiện có 18 mô hình. Gửi đúng id (dạng owner/name) khi bạn gọi Chat Completions, Responses, Messages hoặc một CLI. Bảng đầy đủ nằm trên trang chủ.
https://api.ltnproxy.com/v1/modelsAuthorization: Bearer sk-your_api_keyCần có API key. Phản hồi là toàn bộ danh mục mà API key của bạn truy cập được, không phân trang.
curl "https://api.ltnproxy.com/v1/models" \
-H "Authorization: Bearer sk-your_api_key"Cấu trúc bao ngoài là { "object": "list", "data": Model[] }. Dưới đây là hai bản ghi rút gọn từ danh mục thực — phản hồi thật chứa 18 mô hình cùng bảng giá đầy đủ của chúng.
{
"object": "list",
"data": [
{
"id": "claude-sonnet-5-5",
"model_name": "claude-sonnet-5-5",
"owned_by": "anthropic",
"supports": {
"reasoning": true,
"function_calling": true,
"vision": true,
"web_search": true,
"prompt_caching": true
},
"pricing": {
"input_cost_per_token": 0.002,
"output_cost_per_token": 0.01,
"cache_read_input_token_cost": 0.0002,
"cache_creation_input_token_cost": 0.0025
},
"currency": "VND",
"supported_openai_params": [
"include_reasoning",
"max_completion_tokens",
"max_tokens",
"reasoning",
"reasoning_effort",
"response_format",
"stop",
"structured_outputs",
"temperature",
"tool_choice",
"tools",
"verbosity"
]
},
{
"id": "gpt-6.1-sol",
"model_name": "gpt-6.1-sol",
"owned_by": "openai",
"supports": {
"reasoning": true,
"function_calling": true,
"vision": true,
"web_search": true,
"prompt_caching": true
},
"pricing": {
"input_cost_per_token": 0.002,
"output_cost_per_token": 0.01,
"cache_read_input_token_cost": 0.0001,
"cache_creation_input_token_cost": 0.0025
},
"currency": "VND",
"supported_openai_params": [
"include_reasoning",
"max_completion_tokens",
"max_tokens",
"reasoning",
"reasoning_effort",
"response_format",
"seed",
"structured_outputs",
"tool_choice",
"tools"
]
}
]
}Sao chép đúng id. Đừng rút gọn thành claude-sonnet-5-5 hoặc gpt-6.1-sol — các chuỗi đó không có trong danh mục.
| Id mô hình | Chi tiết | Sao chép |
|---|---|---|
claude-sonnet-5-5 | Claude Sonnet 5 5 · 1M ngữ cảnh · đầu vào 2,000 VND / 1M · đầu ra 10,000 VND / 1M | |
gpt-6.1-sol | Gpt 6.1 Sol · 1.05M ngữ cảnh · đầu vào 2,000 VND / 1M · đầu ra 10,000 VND / 1M | |
kimi-k3 | Kimi K3 · 1.048576M ngữ cảnh · đầu vào 280 VND / 1M · đầu ra 10,000 VND / 1M | |
grok-4.7 | Grok 4.7 · 500K ngữ cảnh · đầu vào 2,000 VND / 1M · đầu ra 6,000 VND / 1M |