AnthropicChat
Anthropic: Claude Opus 4
anthropic/claude-opus-4
200KContext Window
32KMax Output
Supported Protocols:max_tokenstop_ptemperaturestopreasoninginclude_reasoningtoolstool_choice
Online
Claude Opus 4 is benchmarked as the world’s best coding model, at time of release, bringing sustained performance on complex, long-running tasks and agent workflows. It sets new benchmarks in software engineering, achieving leading results on SWE-bench (72.5%) and Terminal-bench (43.2%). Opus 4 supports extended, agentic workflows, handling thousands of task steps continuously for hours without degradation. Read more at the [blog post here](https://www.anthropic.com/news/claude-4)
Capabilities
👁 Vision🧠 Reasoning🔧 Function CallingText GenerationCode GenerationAnalysis & Reasoningmodels.reasoning
Technical Specs
Input Modality
Image、Text、Text
Output Modality
Text
Arch
—
Pricing
Pay per use, no monthly feesInput Token< ¥0.001/1K Token
Output Token< ¥0.001/1K Token
Quick Start
from openai import OpenAI
client = OpenAI(
base_url="https://api.uniontoken.ai/v1",
api_key="YOUR_UNIONTOKEN_API_KEY",
)
response = client.chat.completions.create(
model="anthropic/claude-opus-4",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)FAQ
Anthropic
Anthropic: Claude Opus 4
anthropic/claude-opus-4
In< ¥0.001/1K
Out< ¥0.001/1K
Context Window200K
Max Output32K
Related Models
View All → →Anthropic: Claude 3.5 Haiku
anthropic/claude-3.5-haiku
< ¥0.001/1K
Anthropic: Claude 3.5 Haiku (2024-10-22)
anthropic/claude-3.5-haiku-20241022
< ¥0.001/1K
Anthropic: Claude 3.5 Sonnet
anthropic/claude-3.5-sonnet
< ¥0.001/1K
Anthropic: Claude 3.5 Sonnet (2024-06-20)
anthropic/claude-3.5-sonnet-20240620
< ¥0.001/1K
Ready to get started?
Get 1M free tokens on registration, no monthly fees or minimum spend
Register Now →