📄 claude/api/models

File: models.md | Updated: 11/15/2025

Source: https://docs.claude.com/en/api/models

Agent Skills are now available! Learn more about extending Claude's capabilities with Agent Skills .

Claude Docs home pagelight logodark logo

US

English

Search...

Ctrl K

Search...

Navigation

Models

Get a Model

Home Developer Guide API Reference Model Context Protocol (MCP) Resources Release Notes

cURL

cURL

Copy

curl https://api.anthropic.com/v1/models/claude-sonnet-4-20250514 \
     --header "x-api-key: $ANTHROPIC_API_KEY" \
     --header "anthropic-version: 2023-06-01"

200

4XX

Copy

{
  "created_at": "2025-02-19T00:00:00Z",
  "display_name": "Claude Sonnet 4",
  "id": "claude-sonnet-4-20250514",
  "type": "model"
}

GET

/

v1

/

models

/

{model_id}

cURL

cURL

Copy

curl https://api.anthropic.com/v1/models/claude-sonnet-4-20250514 \
     --header "x-api-key: $ANTHROPIC_API_KEY" \
     --header "anthropic-version: 2023-06-01"

200

4XX

Copy

{
  "created_at": "2025-02-19T00:00:00Z",
  "display_name": "Claude Sonnet 4",
  "id": "claude-sonnet-4-20250514",
  "type": "model"
}

Headers

anthropic-version

string

required

The version of the Claude API you want to use.

Read more about versioning and our version history here .

x-api-key

string

required

Your unique API key for authentication.

This key is required in the header of all API requests, to authenticate your account and access Anthropic's services. Get your API key through the Console . Each key is scoped to a Workspace.

anthropic-beta

string[]

Optional header to specify the beta version(s) you want to use.

To use multiple betas, use a comma separated list like beta1,beta2 or specify the header multiple times for each beta.

Path Parameters

model_id

string

required

Model identifier or alias.

Response

200

application/json

Successful Response

created_at

string<date-time>

required

RFC 3339 datetime string representing the time at which the model was released. May be set to an epoch value if the release date is unknown.

Examples:

"2025-02-19T00:00:00Z"

display_name

string

required

A human-readable name for the model.

Examples:

"Claude Sonnet 4"

id

string

required

Unique model identifier.

Examples:

"claude-sonnet-4-20250514"

type

string

default:model

required

Object type.

For Models, this is always "model".

Allowed value: "model"

Was this page helpful?

YesNo

List Models Create a Message Batch

Assistant

Responses are generated using AI and may contain mistakes.