# Retrieve a model

```http
GET /models/{model}
```

Base URL: `https://ai.aur.lu/v1`

Operation ID: `getInferenceModel`

Authentication: PortalToken (HTTP bearer)

Use the exact ID from GET /models. IDs can contain slashes (for example,
deepseek/deepseek-v4-flash).
Without authentication, only models enabled by default are returned; with an API
token, the tenant's model overrides apply.

## Parameters

### Path parameters

- `model` (string, required) — Model ID from the catalog, including any organization prefix.

## Responses

### 200 — Model metadata.

Content type: `application/json`

- `id` (string, required, example: `deepseek/deepseek-v4-flash`) — Public model ID to pass in completion requests.
- `aliases` (array of string) — Compatibility names accepted for this model. Aliases share its availability, capabilities and pricing; they do not preserve older model behavior.
- `resolved_model` (string) — Canonical model ID when this detail response was requested using an alias. The id field retains the requested alias.
- `object` (string, required, one of: `model`)
- `canonical_slug` (string)
- `hugging_face_id` (string, nullable)
- `name` (string, required)
- `created` (integer<int64>, required) — Creation time as Unix seconds.
- `description` (string)
- `input_modalities` (array of string, nullable)
- `output_modalities` (array of string, nullable)
- `context_length` (integer<int64>, required) — Context window in tokens.
- `max_output_tokens` (integer<int64>) — Configured maximum output tokens; zero means unspecified.
- `pricing` (object, required) — Decimal USD prices encoded as strings. Token prices are per token, not per million tokens. Additional pricing dimensions may be present.
  - `prompt` (string, required, example: `0.0000001`)
  - `completion` (string, required, example: `0.0000002`)
  - `input_cache_read` (string, required, example: `0.00000005`)
- `per_request_limits` (any) — Model-specific request limits; may be null.
- `supported_sampling_parameters` (array of string, nullable)
- `supported_features` (array of string, nullable)
- `architecture` (object) — OpenRouter-compatible summary of the model's modalities, derived from input_modalities and output_modalities.
  - `modality` (string, required, example: `text->text`) — Input and output modalities joined with '+' and separated by '->'.
  - `input_modalities` (array of string, required)
  - `output_modalities` (array of string, required)
- `license` (string)
- `license_url` (string)
- `model_card` (string)

### 404 — Unknown or unavailable model, or unsupported endpoint. Refresh GET /models to discover available IDs.

Content type: `application/json`

- `error` (object, required)
  - `message` (string, required)
  - `type` (string, required) — Error types include invalid_request_error, billing_error, internal_error, server_error, and service_unavailable.

Example:

```json
{
  "error": {
    "message": "model not found",
    "type": "invalid_request_error"
  }
}
```

### 500 — The service could not process the request.

Content type: `application/json`

- `error` (object, required)
  - `message` (string, required)
  - `type` (string, required) — Error types include invalid_request_error, billing_error, internal_error, server_error, and service_unavailable.
