Skip to content

OpenAI-compatible

List models (OpenAI format)

See which models your API key can use and which endpoints each model supports.

Compatible with OpenAI’s List models. Returns the models the current API key can use.

GET https://noviahub.com/v1/models
  • Only models that are available in your key’s group and already have a price.
  • If the key has Model Limits, only the models on that list. In our tests, a key limited to deepseek-v4-flash saw only that one model here.

/v1/models picks its response format from the request headers:

Request Format returned
Both x-api-key and anthropic-version headers Anthropic format
x-goog-api-key header or ?key= query parameter Gemini format
Anything else (for example Authorization: Bearer) The OpenAI format described here

/v1beta/openai/models also returns the OpenAI format.

终端窗口
curl https://noviahub.com/v1/models \
-H "Authorization: Bearer $NOVIAHUB_API_KEY"
Field Description
object Always list.
success Always true.
data[].id Model ID; put it in the model parameter.
data[].object Always model.
data[].created A fixed value with no meaning.
data[].owned_by The type of service behind the model.
data[].supported_endpoint_types Endpoints this model supports; see below.

The values of supported_endpoint_types match the endpoint labels on the Models & Pricing page:

Value Label on the page Endpoint
openai Chat POST /v1/chat/completions
openai-response Response POST /v1/responses
openai-response-compact openai-response-compact POST /v1/responses/compact
openai-alpha-search openai-alpha-search POST /v1/alpha/search
anthropic Anthropic POST /v1/messages
gemini Gemini POST /v1beta/models/{model}:generateContent
image-generation Image POST /v1/images/generations
Example response (test instance)
{
"data": [
{
"id": "claude-sonnet-5",
"object": "model",
"created": 1626777600,
"owned_by": "claude",
"supported_endpoint_types": ["anthropic", "openai"]
},
{
"id": "gpt-image-2",
"object": "model",
"created": 1626777600,
"owned_by": "openai",
"supported_endpoint_types": ["image-generation", "openai"]
}
],
"object": "list",
"success": true
}