---
title: "Get LLM configuration"
method: GET
path: "/llm/config"
tags: ["LLMs"]
---

# Get LLM configuration

`GET /llm/config`

Retrieves the AI Gateway configuration including all available language models and their specifications. This endpoint returns model information compatible with the Vercel AI SDK Gateway format, making it easy to integrate with existing AI applications.

Use this endpoint to:
- Discover available language models
- Get model specifications and pricing
- Configure AI SDK clients
- Build model selection interfaces

## Response `200`

AI Gateway configuration with available models

- object
  - `models` object[], required
    - `id` string, required — Unique model identifier
    - `name` string, required — Human-readable model name
    - `modelType` string, required — Type of model (e.g., language, embedding)
    - `description` string — Model description and capabilities
    - `pricing` object — Pricing information for the model
    - `specification` object — Technical specifications and limits

## Other responses

- `401` — Authentication failed - invalid or missing API key

---

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