---
title: "Get Model Configuration"
method: GET
path: "/model-configs/general/{provider}/{model}"
tags: ["Configuration"]
---

# Get Model Configuration

`GET /model-configs/general/{provider}/{model}`

Returns general configuration and capabilities for a specific model.

## Configuration Fields

| Field | Description |
|-------|-------------|
| `params` | Parameter limits and defaults |
| `type.primary` | Model type (chat, text, embedding, etc.) |
| `type.supported` | Supported features (tools, image, etc.) |
| `messages.options` | Supported message roles |

## Path parameters

- `provider` string, required
- `model` string, required

## Response `200`

Model configuration

- GeneralConfig — General model configuration and capabilities
  - `params` ParamConfig[] — Model parameters with their constraints
    - `key` string — Parameter name
    - `defaultValue` union — Default value for the parameter
      - number
      - boolean
      - string
    - `minValue` number — Minimum allowed value
    - `maxValue` number — Maximum allowed value
    - `type` string — Parameter type (e.g., boolean, string, array-of-strings)
    - `options` object[] — Available options for enum-type parameters
    - `skipValues` unknown[] — Values to skip/ignore
      - unknown
  - `type` ModelType — Model type classification
    - `primary` 'chat' | 'text' | 'embedding' | 'image' | 'audio' | 'moderation' | 'rerank' | 'ocr' — Primary model type
    - `supported` string[] — Supported features
  - `messages` MessagesConfig — Message configuration
    - `options` string[] — Supported message roles
  - `removeParams` string[] — Parameters to remove for this model
  - `disablePlayground` boolean — If true, model is not available in Portkey playground
  - `isDefault` boolean — If true, this is the default model for the provider

## Other responses

- `404` — Model or provider not found

## Changes

- **2026-08-04** `3c6052be421a` — 2 warning
  - added the new `ocr` enum value to the `type/primary` response property for the response status `200`
  - added the new `rerank` enum value to the `type/primary` response property for the response status `200`

[Change history](https://skmtc.dev/portkey-ai/apis/portkey-models-api/changes/model-configs/general/:provider/:model/get.md)

---

[API](https://skmtc.dev/portkey-ai/apis/portkey-models-api.md) · [All operations](https://skmtc.dev/portkey-ai/apis/portkey-models-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/portkey-ai/portkey-models-api/revisions/3c6052be421a/schema)
