Skip to content

Gemini-compatible

List models (Gemini format)

See which models your API key can use, in the Gemini format.

Compatible with the Gemini API’s models.list format. Returns the models the current API key can use.

GET https://noviahub.com/v1beta/models

GET https://noviahub.com/v1/models with the x-goog-api-key header or the ?key= query parameter returns the same Gemini format.

Use any one of these:

Form Example
Header x-goog-api-key x-goog-api-key: <your API key>
Query parameter key ?key=<your API key>
Header Authorization Authorization: Bearer <your API key> (on /v1beta/models only)

The same models are returned as in the OpenAI format: those available in your key’s group that have a price, limited to the Model Limits list if the key has one.

终端窗口
curl https://noviahub.com/v1beta/models \
-H "x-goog-api-key: $NOVIAHUB_API_KEY"
Field Description
models[].name Model ID. Note: there is no models/ prefix, unlike Google’s own API.
models[].displayName Display name, same as name.
Other fields description, inputTokenLimit, outputTokenLimit, supportedGenerationMethods and the rest are always null.
nextPageToken Always null; all models come back at once, without pages.
Example response (test instance; some null fields left out)
{
"models": [
{
"name": "gemini-3-flash",
"displayName": "gemini-3-flash",
"description": null,
"inputTokenLimit": null,
"outputTokenLimit": null,
"supportedGenerationMethods": null
}
],
"nextPageToken": null
}

The list contains every model you can use, not only those callable through the Gemini endpoint. To see which endpoints a model supports, check its endpoint labels on Models & Pricing or supported_endpoint_types in the OpenAI-format list.