Loading...
    • Developer Guide
    • API Reference
    • MCP
    • Resources
    • Release Notes
    Search...
    ⌘K
    Using the API
    API overviewBeta headersErrors
    Messages
    Create a Message
    Count tokens in a Message
    Models
    List Models
    Get a Model
    Beta
    Admin
    Completions
    Create a Text Completion
    Support & configuration
    Rate limitsService tiersVersionsIP addressesSupported regionsOpenAI SDK compatibility
    Console
    Log in

    Models

    List Models
    client.Models.List(ctx, params) (*Page[ModelInfo], error)
    GET/v1/models
    Get a Model
    client.Models.Get(ctx, modelID, query) (*ModelInfo, error)
    GET/v1/models/{model_id}
    ModelsExpand Collapse
    type CapabilitySupport struct{…}

    Indicates whether a capability is supported.

    Supported bool

    Whether this capability is supported by the model.

    type ContextManagementCapability struct{…}

    Context management capability details.

    ClearThinking20251015 CapabilitySupport

    Indicates whether a capability is supported.

    Supported bool

    Whether this capability is supported by the model.

    ClearToolUses20250919 CapabilitySupport

    Indicates whether a capability is supported.

    Supported bool

    Whether this capability is supported by the model.

    Compact20260112 CapabilitySupport

    Indicates whether a capability is supported.

    Supported bool

    Whether this capability is supported by the model.

    Supported bool

    Whether this capability is supported by the model.

    type EffortCapability struct{…}

    Effort (reasoning_effort) capability details.

    High CapabilitySupport

    Whether the model supports high effort level.

    Supported bool

    Whether this capability is supported by the model.

    Low CapabilitySupport

    Whether the model supports low effort level.

    Supported bool

    Whether this capability is supported by the model.

    Max CapabilitySupport

    Whether the model supports max effort level.

    Supported bool

    Whether this capability is supported by the model.

    Medium CapabilitySupport

    Whether the model supports medium effort level.

    Supported bool

    Whether this capability is supported by the model.

    Supported bool

    Whether this capability is supported by the model.

    type ModelCapabilities struct{…}

    Model capability information.

    Batch CapabilitySupport

    Whether the model supports the Batch API.

    Supported bool

    Whether this capability is supported by the model.

    Citations CapabilitySupport

    Whether the model supports citation generation.

    Supported bool

    Whether this capability is supported by the model.

    CodeExecution CapabilitySupport

    Whether the model supports code execution tools.

    Supported bool

    Whether this capability is supported by the model.

    ContextManagement ContextManagementCapability

    Context management support and available strategies.

    ClearThinking20251015 CapabilitySupport

    Indicates whether a capability is supported.

    Supported bool

    Whether this capability is supported by the model.

    ClearToolUses20250919 CapabilitySupport

    Indicates whether a capability is supported.

    Supported bool

    Whether this capability is supported by the model.

    Compact20260112 CapabilitySupport

    Indicates whether a capability is supported.

    Supported bool

    Whether this capability is supported by the model.

    Supported bool

    Whether this capability is supported by the model.

    Effort EffortCapability

    Effort (reasoning_effort) support and available levels.

    High CapabilitySupport

    Whether the model supports high effort level.

    Supported bool

    Whether this capability is supported by the model.

    Low CapabilitySupport

    Whether the model supports low effort level.

    Supported bool

    Whether this capability is supported by the model.

    Max CapabilitySupport

    Whether the model supports max effort level.

    Supported bool

    Whether this capability is supported by the model.

    Medium CapabilitySupport

    Whether the model supports medium effort level.

    Supported bool

    Whether this capability is supported by the model.

    Supported bool

    Whether this capability is supported by the model.

    ImageInput CapabilitySupport

    Whether the model accepts image content blocks.

    Supported bool

    Whether this capability is supported by the model.

    PDFInput CapabilitySupport

    Whether the model accepts PDF content blocks.

    Supported bool

    Whether this capability is supported by the model.

    StructuredOutputs CapabilitySupport

    Whether the model supports structured output / JSON mode / strict tool schemas.

    Supported bool

    Whether this capability is supported by the model.

    Thinking ThinkingCapability

    Thinking capability and supported type configurations.

    Supported bool

    Whether this capability is supported by the model.

    Types ThinkingTypes

    Supported thinking type configurations.

    Adaptive CapabilitySupport

    Whether the model supports thinking with type 'adaptive' (auto).

    Supported bool

    Whether this capability is supported by the model.

    Enabled CapabilitySupport

    Whether the model supports thinking with type 'enabled'.

    Supported bool

    Whether this capability is supported by the model.

    type ModelInfo struct{…}
    ID string

    Unique model identifier.

    Capabilities ModelCapabilities

    Model capability information.

    Batch CapabilitySupport

    Whether the model supports the Batch API.

    Supported bool

    Whether this capability is supported by the model.

    Citations CapabilitySupport

    Whether the model supports citation generation.

    Supported bool

    Whether this capability is supported by the model.

    CodeExecution CapabilitySupport

    Whether the model supports code execution tools.

    Supported bool

    Whether this capability is supported by the model.

    ContextManagement ContextManagementCapability

    Context management support and available strategies.

    ClearThinking20251015 CapabilitySupport

    Indicates whether a capability is supported.

    Supported bool

    Whether this capability is supported by the model.

    ClearToolUses20250919 CapabilitySupport

    Indicates whether a capability is supported.

    Supported bool

    Whether this capability is supported by the model.

    Compact20260112 CapabilitySupport

    Indicates whether a capability is supported.

    Supported bool

    Whether this capability is supported by the model.

    Supported bool

    Whether this capability is supported by the model.

    Effort EffortCapability

    Effort (reasoning_effort) support and available levels.

    High CapabilitySupport

    Whether the model supports high effort level.

    Supported bool

    Whether this capability is supported by the model.

    Low CapabilitySupport

    Whether the model supports low effort level.

    Supported bool

    Whether this capability is supported by the model.

    Max CapabilitySupport

    Whether the model supports max effort level.

    Supported bool

    Whether this capability is supported by the model.

    Medium CapabilitySupport

    Whether the model supports medium effort level.

    Supported bool

    Whether this capability is supported by the model.

    Supported bool

    Whether this capability is supported by the model.

    ImageInput CapabilitySupport

    Whether the model accepts image content blocks.

    Supported bool

    Whether this capability is supported by the model.

    PDFInput CapabilitySupport

    Whether the model accepts PDF content blocks.

    Supported bool

    Whether this capability is supported by the model.

    StructuredOutputs CapabilitySupport

    Whether the model supports structured output / JSON mode / strict tool schemas.

    Supported bool

    Whether this capability is supported by the model.

    Thinking ThinkingCapability

    Thinking capability and supported type configurations.

    Supported bool

    Whether this capability is supported by the model.

    Types ThinkingTypes

    Supported thinking type configurations.

    Adaptive CapabilitySupport

    Whether the model supports thinking with type 'adaptive' (auto).

    Supported bool

    Whether this capability is supported by the model.

    Enabled CapabilitySupport

    Whether the model supports thinking with type 'enabled'.

    Supported bool

    Whether this capability is supported by the model.

    CreatedAt Time

    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.

    DisplayName string

    A human-readable name for the model.

    MaxInputTokens int64

    Maximum input context window size in tokens for this model.

    MaxTokens int64

    Maximum value for the max_tokens parameter when using this model.

    Type Model

    Object type.

    For Models, this is always "model".

    type ThinkingCapability struct{…}

    Thinking capability details.

    Supported bool

    Whether this capability is supported by the model.

    Types ThinkingTypes

    Supported thinking type configurations.

    Adaptive CapabilitySupport

    Whether the model supports thinking with type 'adaptive' (auto).

    Supported bool

    Whether this capability is supported by the model.

    Enabled CapabilitySupport

    Whether the model supports thinking with type 'enabled'.

    Supported bool

    Whether this capability is supported by the model.

    type ThinkingTypes struct{…}

    Supported thinking type configurations.

    Adaptive CapabilitySupport

    Whether the model supports thinking with type 'adaptive' (auto).

    Supported bool

    Whether this capability is supported by the model.

    Enabled CapabilitySupport

    Whether the model supports thinking with type 'enabled'.

    Supported bool

    Whether this capability is supported by the model.

    Solutions

    • AI agents
    • Code modernization
    • Coding
    • Customer support
    • Education
    • Financial services
    • Government
    • Life sciences

    Partners

    • Amazon Bedrock
    • Google Cloud's Vertex AI

    Learn

    • Blog
    • Catalog
    • Courses
    • Use cases
    • Connectors
    • Customer stories
    • Engineering at Anthropic
    • Events
    • Powered by Claude
    • Service partners
    • Startups program

    Company

    • Anthropic
    • Careers
    • Economic Futures
    • Research
    • News
    • Responsible Scaling Policy
    • Security and compliance
    • Transparency

    Learn

    • Blog
    • Catalog
    • Courses
    • Use cases
    • Connectors
    • Customer stories
    • Engineering at Anthropic
    • Events
    • Powered by Claude
    • Service partners
    • Startups program

    Help and security

    • Availability
    • Status
    • Support
    • Discord

    Terms and policies

    • Privacy policy
    • Responsible disclosure policy
    • Terms of service: Commercial
    • Terms of service: Consumer
    • Usage policy