---
title: "List all chat and image understanding models available to the authenticating API key with full information. Additional information compared to /v1/models includes modalities, fingerprint and alias(es)."
method: GET
path: "/v1/language-models"
tags: ["v1"]
---

# List all chat and image understanding models available to the authenticating API key with full information. Additional information compared to /v1/models includes modalities, fingerprint and alias(es).

`GET /v1/language-models`

## Response `200`

Success

- ListLanguageModelsResponse
  - `models` LanguageModel[], required — Array of available language models.
    - `aliases` string[], required — Alias ID(s) of the model that user can use in a request's model field.
    - `cached_prompt_text_token_price` integer, required — Price of a prompt text token (in USD cents per 100 million tokens) that was cached previously.
    - `cached_prompt_text_token_price_long_context` integer, required — Price of the cached prompt text token for long context requests (USD cents per 100 million tokens). When 0, falls back to cached_prompt_text_token_price.
    - `completion_text_token_price` integer, required — Price of the completion text token in USD cents per 100 million token.
    - `completion_text_token_price_long_context` integer, required — Price of the completion text token for long context requests (USD cents per 100 million tokens). When 0, the standard completion_text_token_price applies.
    - `created` integer, required — Creation time of the model in Unix timestamp.
    - `fingerprint` string, required — Fingerprint of the xAI system configuration hosting the model.
    - `id` string, required — Model ID. Obtainable from <https://console.x.ai/team/default/models> or <https://docs.x.ai/docs/models>.
    - `input_modalities` string[], required — The input modalities supported by the model, e.g. `"text"`, `"image"`.
    - `long_context_threshold` integer, required — Token count at or above which the long context prices apply. When 0, the model has no long context pricing tier.
    - `object` string, required — The object type, which is always `"model"`.
    - `output_modalities` string[], required — The output modalities supported by the model, e.g. `"text"`, `"image"`.
    - `owned_by` string, required — Owner of the model.
    - `prompt_image_token_price` integer, required — Price of the prompt image token in USD cents per 100 million token.
    - `prompt_text_token_price` integer, required — Price of the prompt text token in USD cents per 100 million token.
    - `prompt_text_token_price_long_context` integer, required — Price of the prompt text token for long context requests (USD cents per 100 million tokens). When 0, the standard prompt_text_token_price applies at all context lengths.
    - `search_price` integer, required — Price of the search in USD cents per 100 million searches.
    - `version` string, required — Version of the model.

## Other responses

- `400` — Bad request. The request is invalid or an invalid API key is provided.

---

[API](https://skmtc.net/x/apis/xai-s-rest-api.md) · [All operations](https://skmtc.net/x/apis/xai-s-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/x/xai-s-rest-api/versions/8f6014272113/schema)
