API reference
List models
Served models, limits, pricing, and deprecation dates.
GET
/
v1
/
models
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.hcompany.ai/v1/",
api_key=os.environ["HAI_API_KEY"],
)
models = client.models.list()
for m in models.data:
print(m.id)
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.hcompany.ai/v1/",
apiKey: process.env.HAI_API_KEY,
});
const models = await client.models.list();
for (const m of models.data) {
console.log(m.id);
}
curl https://api.hcompany.ai/v1/models \
-H "Authorization: Bearer $HAI_API_KEY"
{
"object": "list",
"data": [
{
"id": "holo3-1-35b-a3b",
"object": "model",
"name": "Holo3.1 35B A3B",
"description": "Holo3.1 35B (3B active) vision-language model optimized for GUI agents and computer use.",
"context_length": 65537,
"max_output_length": 8192,
"input_modalities": ["text", "image"],
"output_modalities": ["text"],
"supported_features": ["reasoning", "tools"],
"supported_sampling_parameters": ["temperature", "top_p", "top_k", "max_tokens", "stop", "frequency_penalty", "presence_penalty", "seed"],
"pricing": {"prompt": "0.00000025", "completion": "0.0000018", "input_cache_read": "0.000000025"},
"is_active": true,
"is_ready": true,
"deprecation_date": null
}
]
}
Response
200 with a list object whose data array contains one object per model. Model cards are on the Quickstart.
string
The model ID to pass as
model in Chat completions, for example holo4-27b.string
Display name, for example
Holo3.1 35B A3B.string
Short description of the model.
integer
Total context window in tokens.
integer
Hard ceiling on output tokens per request. 8,192 on Holo3 and Holo3.1.
string[]
["text", "image"] for all Holo models.string[]
["text"] for all Holo models.string[]
Capability flags:
reasoning on every model, and tools for native function calling on every model except holo3-122b-a10b.string[]
Accepted sampling fields, for example
temperature, top_p, top_k, max_tokens, stop, frequency_penalty, presence_penalty, seed.object
string | null
Set when the model is scheduled for removal, otherwise
null. After removal, requests to the ID fail with model_not_found.boolean
Whether the model is currently serving traffic.
boolean
Whether the model is ready to accept requests right now.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.hcompany.ai/v1/",
api_key=os.environ["HAI_API_KEY"],
)
models = client.models.list()
for m in models.data:
print(m.id)
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.hcompany.ai/v1/",
apiKey: process.env.HAI_API_KEY,
});
const models = await client.models.list();
for (const m of models.data) {
console.log(m.id);
}
curl https://api.hcompany.ai/v1/models \
-H "Authorization: Bearer $HAI_API_KEY"
{
"object": "list",
"data": [
{
"id": "holo3-1-35b-a3b",
"object": "model",
"name": "Holo3.1 35B A3B",
"description": "Holo3.1 35B (3B active) vision-language model optimized for GUI agents and computer use.",
"context_length": 65537,
"max_output_length": 8192,
"input_modalities": ["text", "image"],
"output_modalities": ["text"],
"supported_features": ["reasoning", "tools"],
"supported_sampling_parameters": ["temperature", "top_p", "top_k", "max_tokens", "stop", "frequency_penalty", "presence_penalty", "seed"],
"pricing": {"prompt": "0.00000025", "completion": "0.0000018", "input_cache_read": "0.000000025"},
"is_active": true,
"is_ready": true,
"deprecation_date": null
}
]
}
Was this page helpful?
⌘I
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.hcompany.ai/v1/",
api_key=os.environ["HAI_API_KEY"],
)
models = client.models.list()
for m in models.data:
print(m.id)
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.hcompany.ai/v1/",
apiKey: process.env.HAI_API_KEY,
});
const models = await client.models.list();
for (const m of models.data) {
console.log(m.id);
}
curl https://api.hcompany.ai/v1/models \
-H "Authorization: Bearer $HAI_API_KEY"
{
"object": "list",
"data": [
{
"id": "holo3-1-35b-a3b",
"object": "model",
"name": "Holo3.1 35B A3B",
"description": "Holo3.1 35B (3B active) vision-language model optimized for GUI agents and computer use.",
"context_length": 65537,
"max_output_length": 8192,
"input_modalities": ["text", "image"],
"output_modalities": ["text"],
"supported_features": ["reasoning", "tools"],
"supported_sampling_parameters": ["temperature", "top_p", "top_k", "max_tokens", "stop", "frequency_penalty", "presence_penalty", "seed"],
"pricing": {"prompt": "0.00000025", "completion": "0.0000018", "input_cache_read": "0.000000025"},
"is_active": true,
"is_ready": true,
"deprecation_date": null
}
]
}