# Claude Opus 5 — Use via Hanzo AI API > Claude Opus 5 is Anthropic’s flagship model for demanding reasoning, coding, and long-horizon agentic work. It is particularly strong at end... Access via Hanzo's OpenAI-compatible API. Context: 1M. Get started free. [Models](https://hanzo.ai/models)/[Anthropic](https://hanzo.ai/models/anthropic)/claude-opus-5 # Claude Opus 5 [Anthropic](https://hanzo.ai/models/anthropic) Claude Opus 5 is Anthropic’s flagship model for demanding reasoning, coding, and long-horizon agentic work. It is particularly strong at end-to-end software tasks, code review and bug finding, visual analysis... text [Get API Key](https://hanzo.ai/signup)[View Docs](https://docs.hanzo.ai)[Try in Chat](https://hanzo.ai/chat) ## Specifications Context Window 1M Modalities text Input $6.00 / M tokens Output $30.00 / M tokens Status available Category third-party Model ID anthropic/claude-opus-5 ## Quick Start TypeScript ``` import OpenAI from 'openai' const client = new OpenAI({ apiKey: process.env.HANZO_API_KEY, baseURL: 'https://api.hanzo.ai/v1' }) const response = await client.chat.completions.create({ model: 'anthropic/claude-opus-5', messages: [{ role: 'user', content: 'Hello!' }] }) console.log(response.choices[0].message.content) ``` Python ``` from openai import OpenAI client = OpenAI( api_key=os.environ["HANZO_API_KEY"], base_url="https://api.hanzo.ai/v1" ) response = client.chat.completions.create( model="anthropic/claude-opus-5", messages=[{"role": "user", "content": "Hello!"}] ) print(response.choices[0].message.content) ``` cURL ``` curl https://api.hanzo.ai/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $HANZO_API_KEY" \ -d '{ "model": "anthropic/claude-opus-5", "messages": [{"role": "user", "content": "Hello!"}] }' ``` Go ``` package main import ( "context" "fmt" "os" "github.com/sashabaranov/go-openai" ) func main() { cfg := openai.DefaultConfig(os.Getenv("HANZO_API_KEY")) cfg.BaseURL = "https://api.hanzo.ai/v1" client := openai.NewClientWithConfig(cfg) resp, _ := client.CreateChatCompletion(context.Background(), openai.ChatCompletionRequest{ Model: "anthropic/claude-opus-5", Messages: []openai.ChatCompletionMessage{ {Role: openai.ChatMessageRoleUser, Content: "Hello!"}, }, }, ) fmt.Println(resp.Choices[0].Message.Content) } ``` ## More from Anthropic [Anthropic: Claude 3 Haiku200KClaude 3 Haiku is Anthropic's fastest and most compact model for near-instant responsiveness. Quick and accurate targeted performance. See the launch announcement and benchmark results here #multimodal](https://hanzo.ai/models/anthropic/claude-3-haiku)[Anthropic: Claude Fable 51MClaude Fable 5 is a Mythos-class model from Anthropic, built for autonomous knowledge work and coding. It supports text, image, and file inputs with text output, with reasoning support and...](https://hanzo.ai/models/anthropic/claude-fable-5)[Anthropic: Claude Fable 5 (batch)1MClaude Fable 5 is a Mythos-class model from Anthropic, built for autonomous knowledge work and coding. It supports text, image, and file inputs with text output, with reasoning support and...](https://hanzo.ai/models/anthropic/claude-fable-5:batch)[Anthropic: Claude Haiku 4.5200KClaude Haiku 4.5 is Anthropic’s fastest and most efficient model, delivering near-frontier intelligence at a fraction of the cost and latency of larger Claude models. Matching Claude Sonnet 4’s performance...](https://hanzo.ai/models/anthropic/claude-haiku-4.5)[Anthropic: Claude Haiku 4.5 (batch)200KClaude Haiku 4.5 is Anthropic’s fastest and most efficient model, delivering near-frontier intelligence at a fraction of the cost and latency of larger Claude models. Matching Claude Sonnet 4’s performance...](https://hanzo.ai/models/anthropic/claude-haiku-4.5:batch)[Anthropic: Claude Opus 4200KClaude 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...](https://hanzo.ai/models/anthropic/claude-opus-4) [View all Anthropic models →](https://hanzo.ai/models/anthropic) ## Use Claude Opus 5 via Hanzo AI One API key. Every major model. OpenAI-compatible. Start free. [Get Free API Key](https://hanzo.ai/signup)[Browse All Models](https://hanzo.ai/models)