Claude Opus 4.1
Approved Data Classifications
Description
Claude Opus 4.1 is Anthropic's most capable model, an upgrade to Opus 4 focused on agentic tasks, real-world coding, and reasoning. It supports text and image input with a 200K context window and text output, reaches 74.5% on SWE-bench Verified, and is available via the Anthropic API, Amazon Bedrock, and Google Cloud Vertex AI. Pricing matches Opus 4 at $15 per million input tokens and $75 per million output tokens.
Capabilities
| Model | Training Data | Input | Output | Context Length | Cost (per 1 million tokens) |
|---|---|---|---|---|---|
| claude-4.1-opus | Not Disclosed | Image, Text | Text | 200,000 | $15.00/1M input $75.00/1M output |
info
1Mrepresents 1 Million Tokens- All prices listed are based on 1 Million Tokens
- Anthropic API model ID:
claude-opus-4-1-20250805(Bedrock:anthropic.claude-opus-4-1-20250805-v1:0, Vertex AI:claude-opus-4-1@20250805)
Availability
Cloud Provider
Usage
- curl
- python
- javascript
curl -X POST https://api.ai.it.ufl.edu/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <API_TOKEN>" \
-d '{
"model": "claude-4.1-opus",
"messages": [
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Write a haiku about an Alligator."
}
]
}'
from openai import OpenAI
client = OpenAI(
api_key="your_api_key",
base_url="https://api.ai.it.ufl.edu/v1"
)
response = client.chat.completions.create(
model="claude-4.1-opus", # model to send to the proxy
messages = [
{ role: "system", content: "You are a helpful assistant." },
{
"role": "user",
"content": "Write a haiku about an Alligator."
}
]
)
print(response.choices[0].message)
import OpenAI from 'openai';
const openai = new OpenAI({
apiKey: 'your_api_key',
baseURL: 'https://api.ai.it.ufl.edu/v1'
});
const completion = await openai.chat.completions.create({
model: "claude-4.1-opus",
messages: [
{ role: "system", content: "You are a helpful assistant." },
{
role: "user",
content: "Write a haiku about an Alligator.",
},
],
});
print(completion.choices[0].message)
When to use
- Highest-accuracy coding and agentic workflows
- Complex reasoning and multi-step analysis
- Large-context document and codebase review
- Research and data analysis tasks that need precision
- High-stakes enterprise decision support
- Multimodal understanding with text and images
References
- Anthropic - Claude Opus 4.1 announcement
https://www.anthropic.com/news/claude-opus-4-1- Anthropic - Models overview (model IDs and context)
https://docs.anthropic.com/en/docs/about-claude/models/all-models- Anthropic - Pricing
https://platform.claude.com/docs/en/about-claude/pricing