anthropic logo
anthropic

Anthropic: Claude Opus 4.1 (batch)

Source description (English)

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...

Overview

Model specifications

Context
200,000 tokens
Maximum output
32,000 tokens
Architecture
text+image+file->text
Tokenizer
Claude
Knowledge cutoff
2025-01-31
Moderated
Yes
OPENROUTER

Complete pricing

Synchronized OpenRouter rates. Token prices are shown per one million tokens.

Input
$7.5
per 1M tokens
Output
$37.5
per 1M tokens
Cache read
$0.75
per 1M tokens
Cache write
$9.375
per 1M tokens
Cache write (1h)
$15
per 1M tokens
Web search
$10
per 1,000 calls
API

Model configuration

Reasoning

Reasoning required
No
Default parameters
No
API

Quick start

Set OPENROUTER_API_KEY locally. Python requires requests; JavaScript runs in Node.js. Keep the key on the server.

This submits an asynchronous batch using the base model ID. A job ID confirms submission, not completion.

API documentation

curl --fail-with-body https://openrouter.ai/api/beta/batches \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"endpoint":"/v1/chat/completions","model":"anthropic/claude-opus-4.1","requests":[{"custom_id":"request-1","body":{"messages":[{"role":"user","content":"Hello!"}]}}]}'

# Replace JOB_ID with the returned id to check progress.
curl --fail-with-body "https://openrouter.ai/api/beta/batches/JOB_ID" \
  -H "Authorization: Bearer $OPENROUTER_API_KEY"
Capabilities

InputOutput

Input
imagetextfile
Output
text
Reasoning

No

API

Supported API parameters

include_reasoningmax_tokensreasoningresponse_formatstopstructured_outputstemperaturetool_choicetools
Available providers

1 Provider

Checked: September 7, 2026

Live providers on OpenRouter

Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.

OpenRouter

Anthropic

Not provided
Context
200K
Maximum output
32K
Input
$7.5
Output
$37.5
Cache read
$0.75
Cache write
$9.375
anthropic

4 models

All models