Models API Enhancement
The Claude Platform has expanded the Models API to include critical model capability information. The GET /v1/models and GET /v1/models/{model_id} endpoints now return structured metadata about each model's capabilities.
What's New
The API responses now include:
max_input_tokens: Maximum input token capacity for the modelmax_tokens: Maximum output token capacitycapabilitiesobject: Details about which features each model supports
What Developers Should Do
Instead of consulting documentation to determine model capabilities, developers can now query the API directly to discover supported features in a programmatic, always-current manner. This is particularly useful when building applications that need to dynamically select models based on required capabilities or handle multiple model versions.
Impact
This change enables more robust API integrations where applications can gracefully adapt to available model features without hardcoding version-specific logic.