Skip to main content

List Available Models

GET 

https://knox.chat/v1/models

Returns a list of models available through the API

Request

This endpoint does not require any request parameters.

Request Headers

NameTypeRequiredDescription
AuthorizationStringYesBearer authentication in the format Bearer <token>, where token is your authentication token.

cURL Example

curl -X GET https://knox.chat/v1/models \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json"

Response

Success Response (200)

{
"data": [
{
"id": "anthropic/claude-sonnet-4",
"object": "model",
"created": 1626777600,
"owned_by": "openai",
"permission": [
{
"id": "modelperm-LwHkVFn8AcMItP432fKKDIKJ",
"object": "model_permission",
"created": 1626777600,
"allow_create_engine": true,
"allow_sampling": true,
"allow_logprobs": true,
"allow_search_indices": false,
"allow_view": true,
"allow_fine_tuning": false,
"organization": "*",
"group": null,
"is_blocking": false
}
],
"root": "anthropic/claude-sonnet-4",
"parent": null,
"context_length": 200000,
"architecture": {
"modality": "text+image->text",
"input_modalities": [
"image",
"text"
],
"output_modalities": [
"text"
],
"tokenizer": "Claude"
},
"pricing": {
"prompt": "0.000003",
"completion": "0.000015",
"request": "0",
"image": "0.0048",
"audio": "0",
"web_search": "0",
"internal_reasoning": "0",
"input_cache_read": "0.0000003",
"input_cache_write": "0.00000375"
},
"top_provider": {
"context_length": 200000,
"max_completion_tokens": 64000
},
"supported_parameters": [
"max_tokens",
"temperature",
"stop",
"reasoning",
"include_reasoning",
"tools",
"tool_choice",
"top_p",
"top_k"
]
},
more...
]
}

Response Schema

NameTypeDescription
dataarrayArray of available models
data[].idstringUnique identifier for the model
data[].objectstringObject type, fixed as "model"
data[].createdintegerUnix timestamp of when the model was created
data[].owned_bystringOwner of the model
data[].permissionarrayArray of model permissions
data[].permission[].idstringPermission ID
data[].permission[].objectstringObject type
data[].permission[].createdintegerTimestamp when the permission was created
data[].permission[].allow_create_enginebooleanWhether engine creation is allowed
data[].permission[].allow_samplingbooleanWhether sampling is allowed
data[].permission[].allow_logprobsbooleanWhether log probabilities are allowed
data[].permission[].allow_search_indicesbooleanWhether search indices are allowed
data[].permission[].allow_viewbooleanWhether viewing is allowed
data[].permission[].allow_fine_tuningbooleanWhether fine-tuning is allowed
data[].permission[].organizationstringOrganization information
data[].permission[].groupnull or stringGroup information
data[].permission[].is_blockingbooleanWhether the permission is blocking
data[].rootstringRoot model ID
data[].parentnull or stringParent model ID
data[].context_lengthintegerMaximum context length of the model
data[].architectureobjectInformation about the model's architecture
data[].architecture.modalitystringModality mapping from input to output (e.g., "text+image->text")
data[].architecture.input_modalitiesarray of stringsSupported input modalities (e.g., "text", "image")
data[].architecture.output_modalitiesarray of stringsSupported output modalities (e.g., "text")
data[].architecture.tokenizerstringType of tokenizer used
data[].pricingobjectPricing information for model usage
data[].pricing.promptstringPrice per prompt token
data[].pricing.completionstringPrice per completion token
data[].pricing.requeststringBase cost per request
data[].pricing.imagestringCost per image processed
data[].pricing.audiostringAudio processing cost
data[].pricing.web_searchstringWeb search cost
data[].pricing.internal_reasoningstringInternal reasoning cost
data[].pricing.input_cache_readstringInput cache read cost
data[].pricing.input_cache_writestringInput cache write cost
data[].top_providerobjectInformation about the top provider
data[].top_provider.context_lengthintegerContext length provided by the top provider
data[].top_provider.max_completion_tokensintegerMaximum number of completion tokens
data[].supported_parametersarray of stringsList of supported parameters