Claude Opus 4.8 (legacy)

Previous Opus generation. Kept for backward compat with existing clients; Opus 5 is 3x cheaper with more context.

ChatAnthropic200k tokens$16.3509 / $81.7545 · 1M

anthropic/claude-opus-4-8

Context
200k tokens
Completion cap
Tools
Yes
JSON
Yes
ZDR
Verified

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 key

Frequently asked questions

What is 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 4.8 (legacy) runs on the Geek Hub API (OpenAI-compatible). Model id: anthropic/claude-opus-4-8.
Is Claude Opus 4.8 (legacy) free?
No. Input is $16.3509 per 1M tokens and output is $81.7545 per 1M tokens on Geek Hub (markup included).
What is the context length of Claude Opus 4.8 (legacy)?
Claude Opus 4.8 (legacy) has a 200k tokens context window.
Does Claude Opus 4.8 (legacy) support tool calling and structured outputs?
Claude Opus 4.8 (legacy) accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.

More models from Anthropic