Models
Retrieve the list of available models and their details. Claudexia provides two endpoints for model information.
List Models
Returns an OpenAI-compatible list of available models.
http
GET https://api.claudexia.tech/v1/modelsResponse Schema
| Field | Type | Description |
|---|---|---|
object | string | Always "list". |
data | array | Array of model objects. |
data[].id | string | Model identifier (e.g. claude-sonnet-5). |
data[].object | string | Always "model". |
data[].created | integer | Unix timestamp of model availability. |
data[].owned_by | string | Model provider (e.g. "anthropic"). |
Example Response
json
{
"object": "list",
"data": [
{
"id": "claude-sonnet-5",
"object": "model",
"created": 1715644800,
"owned_by": "anthropic"
},
{
"id": "gpt-5.6-luna",
"object": "model",
"created": 1729555200,
"owned_by": "anthropic"
}
]
}Model Info
The public endpoint defaults to Premium customer prices in USD per million tokens. For Cheap, use /api/public/models-info?channel=cheap. Input, output, cache read, and cache write are separate components; null means a cache price is unavailable. Metadata may be incomplete and does not confirm request capacity. A rejected channel stays unavailable instead of returning another channel's prices. Example values below illustrate the response shape.
http
GET https://claudexia.tech/api/public/models-infoResponse Schema
| Field | Type | Description |
|---|---|---|
data[].id | string | Model identifier. |
data[].display_name | string | Human-readable model name. |
data[].supports_streaming | boolean | Whether streaming is supported. |
data[].max_input_tokens | integer | Maximum output tokens supported. |
data[].input_price_per_1m | number | Price per 1M input tokens (USD). |
data[].output_price_per_1m | number | Price per 1M output tokens (USD). |
data[].cache_read_price_per_1m | number | null | Cache read price per 1M tokens (USD), or null when unavailable. |
data[].cache_write_price_per_1m | number | null | Cache write price per 1M tokens (USD), or null when unavailable. |
Example Response
json
{
"data": [
{
"id": "claude-sonnet-5",
"display_name": "Claude Sonnet 5",
"supports_streaming": true,
"max_input_tokens": 200000,
"input_price_per_1m": 3.0,
"output_price_per_1m": 15.0,
"cache_read_price_per_1m": 0.3,
"cache_write_price_per_1m": 3.75
},
{
"id": "gpt-5.6-luna",
"display_name": "GPT-5.6 Luna",
"supports_streaming": true,
"max_input_tokens": 200000,
"input_price_per_1m": 0.8,
"output_price_per_1m": 4.0,
"cache_read_price_per_1m": null,
"cache_write_price_per_1m": null
}
]
}Example Request
bash
curl https://api.claudexia.tech/v1/models \
-H "x-api-key: sk_cdx_YOUR_KEY"
curl https://claudexia.tech/api/public/models-info