Anthropic logoAnthropic

    claude-opus-4-8

    Auto-router

    anthropic/claude-opus-4-8

    ChatVisionFilesToolsSystem promptReasoning
    Use this model

    Context

    1M

    Max output

    128K

    Input / 1M

    $5.00

    Output / 1M

    $25.00

    Modality

    Chat

    Cutoff

    Jan 2026

    About this model

    Claude Opus 4.8 is Anthropic's most capable and intelligent model, optimized for complex reasoning, advanced coding, deep research, and long-horizon autonomous agent workflows. Supports up to a 1M-token context window at standard pricing.

    Best suited for

    • Complex, high-stakes reasoning and analysis
    • Advanced coding and technical tasks
    • Deep research and multi-step workflows
    • Autonomous agent workflows

    Capabilities

    Vision

    Accepts images alongside text in the same message.

    Files

    Accepts file attachments — PDFs, transcripts, spreadsheets.

    Tools

    Native function calling, so agents can invoke your endpoints.

    System prompt

    Honours a dedicated system role, separate from the user turn.

    Reasoning

    Emits a separate thinking pass before the answer.

    Supported parameters

    max_tokensMax Tokens Limit

    Specifies the maximum number of text units (tokens) allowed in a response, limiting its length.

    tools

    Lists tool definitions or capabilities available to the model.

    tool_choice

    Decides whether to use tools or just the model for generating responses.

    response_type

    Defines the format or type of the generated response.

    reasoning

    Controls the level of reasoning used by the model.

    stream

    Sends the response in real-time as it's being generated.

    Use this model

    OpenAI-SDK compatible, with gateway fallback and routing across providers.

    Other Anthropic models

    ModelContextMax outputInputOutputCapabilities
    claude-haiku-5-5

    Chat

    1M128K$0.10$0.50Vision, Tools, System prompt
    claude-sonnet-5-5

    Chat

    1M128K$2.00$10.00Vision, Tools, System prompt
    claude-opus-5-5

    Chat

    1M128K$4.00$20.00Vision, Tools, System prompt
    claude-fable-5-1

    Chat

    1M128K$10.00$50.00Vision, Files, Tools, System prompt, Reasoning
    claude-sonnet-5

    Chat

    1M128K$2.00$10.00Vision, Tools, System prompt
    claude-opus-5

    Chat

    1M128K$5.00$25.00Vision, Tools, System prompt
    claude-fable-5

    Chat

    1M128K$10.00$50.00Vision, Tools, System prompt
    claude-opus-4-7

    Chat

    1M128K$5.00$25.00Vision, Files, Tools, System prompt, Reasoning
    claude-sonnet-4-6

    Chat

    1M128K$3.00$15.00Vision, Files, Tools, System prompt
    claude-opus-4-6

    Chat

    1M128K$5.00$25.00Vision, Files, Tools, System prompt
    claude-opus-4-5-20251101

    Chat

    200K64K$5.00$25.00Vision, Files, Tools, System prompt
    claude-haiku-4-5-20251001

    Chat

    200K64K$1.00$5.00Vision, Files, Tools, System prompt

    Pricing & provider details

    Anthropic logo

    Anthropic

    anthropic/claude-opus-4-8

    Input · per 1M
    $5.00
    Output · per 1M
    $25.00
    Cached input · per 1M
    —
    Context window
    1,000,000 tokens
    Max output
    128,000 tokens
    Knowledge cutoff
    Jan 2026
    Auto-router
    Supported

    Start building today

    Route claude-opus-4-8 — and every other model in the catalogue — through one endpoint, with failover built in.