Skip to content

Models

GET /v1/models

Returns all available models with pricing and metadata.

Terminal window
curl https://api.aiand.com/v1/models \
-H "Authorization: Bearer sk-your-api-key"
{
"object": "list",
"data": [
{
"id": "openai/gpt-oss-120b",
"object": "model",
"created": 1700000000,
"owned_by": "ai&",
"provider": "openai",
"context_window": 128000,
"description": "Fast, affordable small model for lightweight tasks",
"pricing": {
"input_per_1m": 0.15,
"output_per_1m": 0.60
}
}
]
}
FieldTypeDescription
idstringModel identifier — use this as the model parameter in requests
objectstringAlways "model"
createdintegerUnix timestamp
owned_bystringAlways "ai&"
providerstringUpstream provider name
context_windowintegerMaximum context length in tokens
descriptionstringShort model description
pricing.input_per_1mnumberCost per 1M input tokens (USD)
pricing.output_per_1mnumberCost per 1M output tokens (USD)
cost = (input_tokens / 1_000_000 * input_per_1m) + (output_tokens / 1_000_000 * output_per_1m)

Credits are deducted after each successful request. Failed requests (4xx/5xx) are not billed.