Claude Opus 4.8
Claude Opus 4.8 is Anthropic's most capable generally available model in the Opus family. It supports text, image, and file inputs with text output, with reasoning support and a 1M-token context window. It is suited for highly autonomous agents, long-horizon agentic work, knowledge work, and memory-driven tasks where coherence over extended sessions matters. It is particularly strong on multi-step reasoning, complex coding, and end-to-end project orchestration - large codebases, multi-stage debugging, and long-running asynchronous agent pipelines. Beyond coding, it handles knowledge work such as drafting documents, building presentations, and analyzing data, maintaining quality across very long outputs.
anthropic/claude-opus-4.8
- Context
- 1M tokens
- Completion cap
- 128,000
- Tools
- Yes
- JSON
- Yes
- Released
- 2026-05-27
Call it from Geek Hub
Same OpenAI SDK. Change the base URL and the model id.
curl https://api.geekhub.mx/v1/chat/completions \
-H "Authorization: Bearer $GEEKHUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-opus-4.8",
"messages": [{"role": "user", "content": "Hola"}]
}'Get an API keyFrequently asked questions
- What is Claude Opus 4.8?
- Claude Opus 4.8 is Anthropic's most capable generally available model in the Opus family. It supports text, image, and file inputs with text output, with reasoning support and a 1M-token context window. It is suited for highly autonomous agents, long-horizon agentic work, knowledge work, and memory-driven tasks where coherence over extended sessions matters. It is particularly strong on multi-step reasoning, complex coding, and end-to-end project orchestration - large codebases, multi-stage debugging, and long-running asynchronous agent pipelines. Beyond coding, it handles knowledge work such as drafting documents, building presentations, and analyzing data, maintaining quality across very long outputs. Claude Opus 4.8 runs on the Geek Hub API (OpenAI-compatible). Model id: anthropic/claude-opus-4.8.
- Is Claude Opus 4.8 free?
- No. Input is $5.4503 per 1M tokens and output is $27.2515 per 1M tokens on Geek Hub (markup included).
- What is the context length of Claude Opus 4.8?
- Claude Opus 4.8 has a 1M tokens context window. It supports up to 128,000 completion tokens.
- Does Claude Opus 4.8 support tool calling and structured outputs?
- Claude Opus 4.8 accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.
- When was Claude Opus 4.8 released?
- Claude Opus 4.8 was released on 2026-05-27.
More models from Anthropic
Claude Fable 5Anthropic's most capable model. Adaptive thinking always on. 1M context. Premium for reasoning and agentic workflows.
Claude Haiku 4.5The fastest and cheapest of the Claude family. Extended thinking. Ideal for high volume, classification, extraction.
Claude Opus 4.8 (legacy)Previous Opus generation. Kept for backward compat with existing clients; Opus 5 is 3x cheaper with more context.
Claude Opus 5Opus 5 drops the Opus 4.x pricing to $5/$25 with 1M context and adaptive thinking. The default upgrade in the Opus family.
Claude Sonnet 4.6 (legacy)Sonnet 4.6 kept for backward compat. Sonnet 5 has the same price with 1M context and adaptive thinking.
Claude Sonnet 5Anthropic's sweet spot. Nearly as capable as Opus 5, half the price, same 1M context. Recommended default.