Skip to content

Models

GET /v1/models

Returns all available models with pricing and metadata.

Authentication is optional. With an API key, prices are shown in your organization’s billing currency; without one, prices are shown in USD. Requests without a key are rate-limited to 600 per minute per IP, one budget shared by every catalog endpoint callable without a key, including GET /v1/videos/models.

Terminal window
curl https://api.aiand.com/v1/models

With an API key:

Terminal window
curl https://api.aiand.com/v1/models \
-H "Authorization: Bearer sk-your-api-key"
{
"object": "list",
"data": [
{
"id": "deepseek-ai/deepseek-v4-flash",
"name": "deepseek-ai/DeepSeek-V4-Flash",
"object": "model",
"created": 1780245232,
"owned_by": "ai&",
"provider": "deepseek-ai",
"context_window": 1048576,
"max_output_tokens": 384000,
"capabilities": [
"reasoning",
"tool_calling"
],
"reasoning_efforts": [
"none",
"high",
"max"
],
"reasoning_effort_default": "high",
"description": "Fast DeepSeek V4 lane for economical reasoning, coding, and long-context work",
"currency": "usd",
"input_per_1m": "0.150000",
"output_per_1m": "0.250000",
"cached_input_per_1m": "0.080000"
}
]
}
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
max_output_tokensinteger | nullRecorded maximum generation length. null when no limit is recorded for the model
descriptionstringShort model description
currencystringYour organization’s billing currency (usd or jpy)
input_per_1mstringCost per 1M input tokens, in your billing currency. Numeric value returned as a string for precision (e.g. "0.150000")
output_per_1mstringCost per 1M output tokens, in your billing currency
Terminal window
curl https://api.aiand.com/v1/models \
-H "Authorization: Bearer sk-your-api-key"

The model parameter you send on an inference request (/v1/chat/completions, /v1/completions, /v1/responses, /v1/messages) must be an exact model id from GET /v1/models. Matching is case-insensitive, but partial names are not accepted: a model family without its version returns a 404 with error code model_not_found rather than guessing a version. Use GET /v1/models as the source of valid names.

Usage is always recorded and billed against the model’s canonical id, regardless of the casing you sent.

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.