← Back
Anthropic
Anthropic adds model capability fields to Claude API; developers can query supported features
Claude · apifeatureplatform · docs.anthropic.com ↗

Models API Enhancement

Anthropic has expanded the Claude Models API with new capability fields, enabling developers to dynamically discover model specifications and features directly through API calls.

What's New

The GET /v1/models and GET /v1/models/{model_id} endpoints now return:

  • max_input_tokens: Maximum input context window for the model
  • max_tokens: Maximum output token generation capacity
  • capabilities: Object describing supported features

Developer Impact

Rather than hardcoding model specifications or consulting documentation, developers can now programmatically query the API to determine what each model supports. This is particularly valuable as Anthropic continues to release new models with varying capabilities, enabling more robust and future-proof applications.

Recommended Action

Update any integration code that currently hard-codes model capabilities to query the Models API instead, allowing your applications to adapt automatically to future Claude releases.