获取模型列表
curl --request GET \
--url https://api.mountsea.ai/chat/models \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.mountsea.ai/chat/models"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.mountsea.ai/chat/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mountsea.ai/chat/models",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.mountsea.ai/chat/models"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.mountsea.ai/chat/models")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mountsea.ai/chat/models")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyChat
List Models
GET
/
chat
/
models
获取模型列表
curl --request GET \
--url https://api.mountsea.ai/chat/models \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.mountsea.ai/chat/models"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.mountsea.ai/chat/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mountsea.ai/chat/models",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.mountsea.ai/chat/models"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.mountsea.ai/chat/models")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mountsea.ai/chat/models")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyOverview
Returns a list of all available models for the Chat API.Response Format
{
"object": "list",
"data": [
{
"id": "gpt-5.1",
"object": "model",
"created": 1234567890,
"owned_by": "mountsea"
},
{
"id": "gpt-5.1-all",
"object": "model",
"created": 1234567890,
"owned_by": "mountsea"
},
{
"id": "gemini-2.5-pro",
"object": "model",
"created": 1234567890,
"owned_by": "mountsea"
},
{
"id": "claude-sonnet-4-6",
"object": "model",
"created": 1234567890,
"owned_by": "mountsea"
}
]
}
Example
Using OpenAI SDK
from openai import OpenAI
client = OpenAI(
api_key="your-api-key",
base_url="https://api.mountsea.ai/chat"
)
models = client.models.list()
for model in models.data:
print(f"Model: {model.id}")
Using cURL
curl https://api.mountsea.ai/chat/models \
-H "Authorization: Bearer your-api-key"
Available Models
OpenAI Models
| Model ID | Description |
|---|---|
gpt-5.1 | Latest GPT-5.1 model |
gpt-5.1-all | GPT-5.1 with all capabilities |
gpt-5.1-thinking | GPT-5.1 with enhanced reasoning |
gpt-5.1-thinking-all | GPT-5.1 thinking with all capabilities |
gpt-5.1-2025-11-13 | GPT-5.1 snapshot (2025-11-13) |
gpt-5.2 | Latest GPT-5.2 model |
Google Gemini Models
| Model ID | Description |
|---|---|
gemini-3-pro | Google Gemini 3 Pro |
gemini-2.5-pro | Google Gemini 2.5 Pro |
gemini-2.5-flash | Google Gemini 2.5 Flash (faster) |
gemini-3-flash | Google Gemini 3 Flash (faster) |
gemini-3.1-pro | Google Gemini 3.1 Pro |
Anthropic Claude Models
| Model ID | Description |
|---|---|
claude-4.5 | Claude 4.5,综合能力强 |
claude-opus-4-6 | Claude Opus 4.6,最强推理能力 |
claude-sonnet-4-6 | Claude Sonnet 4.6,性能与速度平衡 |
claude-haiku-4-5-20251001 | Claude Haiku 4.5,轻量快速 |
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
200 - undefined
⌘I