Models
Retrieve the list of models currently available on the DOS AI platform. This endpoint is useful for dynamically discovering which models you can use without hard-coding model IDs.
Endpoint
GET https://api.dos.ai/v1/modelsAuthentication
Include your API key in the Authorization header:
Authorization: Bearer dos_sk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxRequest
No request body or query parameters are required.
Response
Success (200 OK)
{
"object": "list",
"data": [
{
"id": "dos-ai",
"object": "model",
"created": 1711000000,
"owned_by": "dos-ai",
"context_length": 131072,
"pricing": {
"prompt": "0.00000015",
"completion": "0.00000015"
}
},
{
"id": "deepseek/deepseek-chat",
"object": "model",
"created": 1711000000,
"owned_by": "deepseek",
"context_length": 131072,
"pricing": {
"prompt": "0.00000014",
"completion": "0.00000028"
}
},
{
"id": "qwen/qwen-2.5-72b-instruct",
"object": "model",
"created": 1711000000,
"owned_by": "alibaba",
"context_length": 131072,
"pricing": {
"prompt": "0.00000035",
"completion": "0.00000035"
}
}
]
}Response Fields
object
string
Always "list".
data
array
Array of model objects.
data[].id
string
The model identifier. Use this as the model parameter in API requests.
data[].object
string
Always "model".
data[].created
integer
Unix timestamp of when the model was added.
data[].owned_by
string
The organization that owns or hosts the model.
data[].context_length
integer
Maximum context window in tokens.
data[].pricing
object
OpenRouter-compatible pricing metadata.
data[].pricing.prompt
string
Price per input/prompt token in USD as a string (e.g. "0.00000014").
data[].pricing.completion
string
Price per output/completion token in USD as a string (e.g. "0.00000028").
Retrieve Model (GET /v1/models/:model_id)
Retrieve metadata and pricing for a single model:
The id field is the value you use when specifying a model in API requests:
Qwen3.5-35B-A3B
dos-ai
Llama 3.3 70B
llama-3.3-70b
DeepSeek V3
deepseek-v3
Llama 3.1 8B
llama-3.1-8b
Error Responses
401
Invalid or missing API key.
500
Internal server error.
See Error Codes for details.
Examples
cURL
Python
Node.js
Note: The list of available models may change over time as new models are added. We recommend fetching the model list dynamically rather than hard-coding model IDs in your application.
Last updated