Claude Opus 5.5 Text generation API

anthropic / claude-opus-5-5

An Anthropic model for coding, long-context knowledge work, and visual understanding with adaptive thinking.

Use anthropic/claude-opus-5-5 through the sjolt LLM API.

Model IDanthropic/claude-opus-5-5
Input
TextImage
Output
Text
Pricing

Token rates

Input
$1.6 / 1M tokens
Cache read
$0.08 / 1M tokens
Cache write (5 min)
$2 / 1M tokens
Cache write (1 hour)
$3.2 / 1M tokens
Output
$8 / 1M tokens
Claude Opus 5.5anthropic/claude-opus-5-5

Start a conversation

Write a message below to begin.

Model overview

Claude Opus 5.5 for coding and knowledge work

Analyze code, reason over long documents, and interpret images with adaptive thinking through the native Anthropic Messages API.

Claude Opus 5.5 text generation model cover
01 · Text generation

Reason across a codebase

Provide relevant files, the intended behavior, and clear acceptance criteria. Ask for a diagnosis, a focused implementation, or a review grounded in the supplied code.

  • Send one required user prompt with optional system instructions.
  • Review the exact non-streaming API request before running it.
  • Inspect assistant text, finish reason, response ID, and token usage together.
Claude Opus 5.5 long-context text generation model cover
02 · Input and output

Connect long-context information

Work with up to 1,000,000 context tokens. Label source sections and state the desired output so the model can connect evidence across documents and conversation turns.

Input
TextImage
Output
Text
Claude Opus 5.5: Interpret images alongside text
03 · API integration

Interpret images alongside text

Combine image inputs with specific questions about diagrams, screenshots, or visual details. Outputs are text; the illustrations on this page are conceptual artwork.

  • Compare enabled language models in one place.
  • Copy the request preview to keep application requests aligned with the Playground.
  • Handle assistant responses and provider availability states in the same workflow.

Model characteristics

Context, reasoning, and API behavior

01

Context and output

Up to 1,000,000 context tokens and 128,000 output tokens. Set max_tokens to leave room for both thinking and the final response.

02

Adaptive thinking

Thinking stays enabled. Select low, medium, high, xhigh, max through output_config.effort; the default is medium.

03

Native Messages workflow

Send system instructions separately from messages, provide max_tokens, and read text blocks from content. Public API requests support native streaming, image blocks, and client-side tool conversations.

04

Prompt guidance

Describe the objective, relevant context, constraints, and expected output. Keep source material distinct from instructions and ask for explicit evidence when reviewing documents.

FAQ

These are the first questions to answer when evaluating this model.

Which API protocol can I use?

Use Anthropic Messages at /v1/messages with model anthropic/claude-opus-5-5. Include max_tokens and a messages array; pass system instructions in the top-level system field.

How are prompt cache writes billed?

5-minute and 1-hour cache writes have separate rates. When the upstream provides both duration counts, billing uses those counts even if the reported total differs. If duration counts are unavailable, the reported write total is charged at the 5-minute rate.

How do I control thinking?

Adaptive thinking is always enabled. Use output_config.effort with low, medium, high, xhigh, max; the default is medium.

What inputs and outputs are supported?

Provide text and images through native Messages content blocks. The model returns text. The Playground accepts image attachments and retains the visible conversation for follow-up questions.

How much context and output can I use?

The context window is 1,000,000 tokens. Set max_tokens to a positive integer up to 128,000; this allowance includes thinking and final output.

How should I handle tool conversations?

Retain native content blocks, including signed thinking blocks, when continuing API tool-use conversations. Supply tool results in the native Messages format and keep prior conversation content intact.