Claude Opus 4.1 coding

openrouter
anthropic
Claude Opus 4.1 is an updated version of Anthropic’s flagship model, offering improved performance in coding, reasoning, and agentic tasks. It achieves 74.5% on SWE-bench Verified and shows notable gains in multi-file code refactoring, debugging precision, and detail-oriented reasoning. The model supports extended thinking up to 64K tokens and is optimized for tasks involving research, data analysis, and tool-assisted reasoning.

Capabilities

Context Window 200k tokens
Max Output 32k tokens
Inputs
Outputs

Pricing (per 1M tokens)

Input $15.00
Output $75.00
Cache Read $1.50
Cache Write $18.75

Supported Parameters

include_reasoningmax_tokensreasoningresponse_formatstopstructured_outputstemperaturetool_choicetoolstop_ktop_p