Query the LLM Custom models visible to the current token
curl --request GET \
--url https://api.aihubmax.com/v1/configs/llm_generations_models \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aihubmax.com/v1/configs/llm_generations_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.aihubmax.com/v1/configs/llm_generations_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.aihubmax.com/v1/configs/llm_generations_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.aihubmax.com/v1/configs/llm_generations_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.aihubmax.com/v1/configs/llm_generations_models")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aihubmax.com/v1/configs/llm_generations_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_body{
"object": "list",
"data": [
{
"id": "claude-opus-4-7",
"object": "model",
"capabilities": [
"text",
"vision",
"file"
]
},
{
"id": "gemini-3.5-flash",
"object": "model",
"capabilities": [
"text",
"vision",
"video",
"audio",
"file"
]
},
{
"id": "gpt-5.5",
"object": "model",
"capabilities": [
"text",
"vision"
]
}
]
}Get Model List
Returns the models that are actually available to the current token under POST /v1/llm/generations (the llm-custom protocol), together with the union of capabilities each model supports. Clients can use this to build a model picker UI dynamically, without relying on a static enum.
- Auth: shares the same Bearer Token as the submission endpoint; visible models are filtered by the token’s group
id: the model name that can be passed directly into theLLMCustomRequest.modelfieldcapabilities: the union of capabilities supported by the model, in the fixed ordertext→vision→video→audio→file- When the current token’s group has no reachable models, returns
200 { "object": "list", "data": [] }(not 404)
GET
/
v1
/
configs
/
llm_generations_models
Query the LLM Custom models visible to the current token
curl --request GET \
--url https://api.aihubmax.com/v1/configs/llm_generations_models \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aihubmax.com/v1/configs/llm_generations_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.aihubmax.com/v1/configs/llm_generations_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.aihubmax.com/v1/configs/llm_generations_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.aihubmax.com/v1/configs/llm_generations_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.aihubmax.com/v1/configs/llm_generations_models")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aihubmax.com/v1/configs/llm_generations_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_body{
"object": "list",
"data": [
{
"id": "claude-opus-4-7",
"object": "model",
"capabilities": [
"text",
"vision",
"file"
]
},
{
"id": "gemini-3.5-flash",
"object": "model",
"capabilities": [
"text",
"vision",
"video",
"audio",
"file"
]
},
{
"id": "gpt-5.5",
"object": "model",
"capabilities": [
"text",
"vision"
]
}
]
}授权
All APIs require Bearer Token authentication
Add to request header:
Authorization: Bearer YOUR_API_KEY