---
title: "Openrouter Models"
method: GET
path: "/openrouter/models"
tags: ["Models"]
---

# Openrouter Models

`GET /openrouter/models`

## Response `200`

Successful Response

- OpenRouterModelsOut
  - `data` OpenRouterModelData[], required — List of available models
    - `id` string, required — Model identifier used when calling the provider API
    - `hugging_face_id` string — HuggingFace model ID if available
    - `name` string, required — Human-readable model name
    - `created` integer, required — Unix timestamp of model creation
    - `input_modalities` string[], required — Supported input modalities
    - `output_modalities` string[], required — Supported output modalities
    - `quantization` string, required — Model quantization type
    - `context_length` integer, required — Maximum context length
    - `max_output_length` integer, required — Maximum output length
    - `pricing` OpenRouterPricing, required
      - `prompt` string, required — Pricing per 1 token for input
      - `completion` string, required — Pricing per 1 token for output
      - `input_cache_read` string — Pricing per 1 token for cache reads
    - `supported_sampling_parameters` string[], required — Supported sampling parameters
    - `supported_features` string[], required — Supported features
    - `description` string, nullable — Model description
    - `deprecation_date` string, nullable — ISO 8601 date YYYY-MM-DD for deprecation
    - `openrouter` object, nullable — OpenRouter specific data
    - `datacenters` OpenRouterDatacenter[], required — Available datacenters
      - `country_code` string, required — ISO 3166 Alpha-2 country code

---

[API](https://skmtc.net/deepinfra/apis/deepinfra-api.md) · [All operations](https://skmtc.net/deepinfra/apis/deepinfra-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deepinfra/deepinfra-api/revisions/79ff347d29e2/schema)
