Skip to main content
GET
/
v1
/
models
/
{model_id}
Python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.auriko.ai/v1",
    api_key=os.environ["AURIKO_API_KEY"],
)
model = client.models.retrieve("claude-sonnet-4-6")
print(model.id, model.owned_by)
{
  "id": "claude-sonnet-4-6",
  "object": "model",
  "created": 1776656101,
  "owned_by": "auriko",
  "context_window": 1000000,
  "supported_endpoints": [
    "chat_completions"
  ],
  "providers": [
    {
      "name": "anthropic",
      "input_price": 3,
      "output_price": 15,
      "data_policy": "no_training"
    }
  ]
}
GET /v1/models/{model_id} returns metadata for one callable model. Pass a canonical model ID such as claude-sonnet-4-6, or pass an alias such as gpt-4o-mini. Aliases resolve to the canonical ID in the response. To find model IDs, compare capabilities, inspect context windows, or review provider pricing, use the Model directory.
All parameters, request/response schemas, and examples are auto-generated from the OpenAPI specification.

Authorizations

Authorization
string
header
required

API key authentication. Keys start with ak_ prefix. Example: Authorization: Bearer ak_live_xxxxxxxxxxxx

Path Parameters

model_id
string
required

Canonical model ID or alias. Aliases (e.g. gpt-4o-mini) are resolved to the canonical ID (e.g. gpt-4o-mini-2024-07-18).

Response

Model details

Model information with provider availability

id
string
required

Canonical model ID

object
string
required
Allowed value: "model"
created
integer
required

Unix timestamp

owned_by
string
required

Always "auriko"

context_window
integer

Auriko extension: Largest context window across the model's providers.

supported_endpoints
string[]

Auriko extension: APIs the model supports (e.g., chat_completions, responses, batch).

providers
object[]

Auriko extension: Available providers with pricing.

Allows clients to see all available options for this model.