Claude

Anthropic: Claude Opus 4.5

Chat
anthropic/claude-opus-4.5

Anthropic 的高能力 Opus 模型,支持扩展思考、代理式工作流和计算机使用能力,适合复杂分析、创意写作和多步骤推理任务。

200K context window
64K max output tokens
Released: 2025-11-24
Protocols:OpenAIAnthropic
Capabilities:VisionFunction CallingReasoningPrompt CachingPDF Input

PricingRate 0.15x

TypeHaoAI PriceOfficial ReferenceRate
Input$0.75/M$5/M0.15x · 85% savings
Output$3.75/M$25/M0.15x · 85% savings
Cache read$0.075/M$0.5/M0.15x · 85% savings
Cache write$0.938/M$6.25/M0.15x · 85% savings
Cache write 5m$0.938/M$6.25/M0.15x · 85% savings
Cache write 1h$1.5/M$10/M0.15x · 85% savings

Code Examples

import anthropic

client = anthropic.Anthropic(
    base_url="https://api.hao.ai/anthropic",
    api_key="YOUR_HAOAI_API_KEY",
)

message = client.messages.create(
    model="anthropic/claude-opus-4.5",
    max_tokens=1024,
    messages=[
        {"role": "user", "content": "Hello!"}
    ],
)

print(message.content[0].text)

Related Models