Claude Opus 4.1

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.

ChatAnthropic200k tokens$16.3509 / $81.7545 · 1M

anthropic/claude-opus-4.1

Context
200k tokens
Completion cap
32,000
Tools
Yes
JSON
No
Released
2025-08-05

Call it from Geek Hub

Same OpenAI SDK. Change the base URL and the model id.

curl https://api.geekhub.mx/v1/chat/completions \
  -H "Authorization: Bearer $GEEKHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-opus-4.1",
    "messages": [{"role": "user", "content": "Hola"}]
  }'
Get an API key

Frequently asked questions

What is Claude Opus 4.1?
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. Claude Opus 4.1 runs on the Geek Hub API (OpenAI-compatible). Model id: anthropic/claude-opus-4.1.
Is Claude Opus 4.1 free?
No. Input is $16.3509 per 1M tokens and output is $81.7545 per 1M tokens on Geek Hub (markup included).
What is the context length of Claude Opus 4.1?
Claude Opus 4.1 has a 200k tokens context window. It supports up to 32,000 completion tokens.
Does Claude Opus 4.1 support tool calling and structured outputs?
Claude Opus 4.1 accepts tools and tool_choice for function calling. Structured outputs are not listed for this endpoint.
When was Claude Opus 4.1 released?
Claude Opus 4.1 was released on 2025-08-05.

More models from Anthropic