Claude

Anthropic: Claude Opus 4.6Chat

anthropic/claude-opus-4.6

Claude Opus 4.6 is a high-capability Anthropic model for complex software engineering and long-running professional workflows. It is well suited to large-codebase analysis, cross-file refactoring, multi-stage debugging, and technical planning that requires sustained reasoning and consistent context across extended work. Through HaoAI, you can call Claude Opus 4.6 with the model ID anthropic/claude-opus-4.6 using either an OpenAI-compatible or Anthropic-compatible API. Current context limits, supported capabilities, and usage rates are shown in the live specifications and pricing table on this page.

1M context window
128K max output tokens
Released: 2026-02-05
Protocols:OpenAIAnthropic
Capabilities:VisionFunction CallingReasoningPrompt CachingPDF Input

Pricing

PriceRate 0.2x
HaoAI
Official
Input
$1/M
$5/M
Output
$5/M
$25/M
Cache read
$0.1/M
$0.5/M
Cache creation
$1.25/M
$6.25/M
Cache creation 5m
$1.25/M
$6.25/M
Cache creation 1h
$2/M
$10/M

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.6",
    max_tokens=1024,
    messages=[
        {"role": "user", "content": "Hello!"}
    ],
)

print(message.content[0].text)

Frequently asked questions

HaoAI bills based on actual request usage. Input, output, cache, and any other applicable rates follow the live pricing table on this page. Final request costs are available in the console.