Anthropic: Claude Opus 4.8
Chatanthropic/claude-opus-4.8Claude 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.
1M context window
128K max output tokens
Released: 2026-05-28
Supported Protocols:openaianthropic
Available Providers:Bedrock
Capabilities:VisionFunction CallingReasoningPrompt CachingPDF Input
Pricing
| Type | Price |
|---|---|
| Input Tokens | $5/M |
| Output Tokens | $25/M |
| Cache Read | $0.5/M |
| Cache Write (5 min) | $6.25/M |
| Cache Write (1 hour) | $10/M |
| Web Search | $0.015/R |
Code Examples
import anthropicclient = anthropic.Anthropic(base_url="https://api.ofox.ai/anthropic",api_key="YOUR_OFOX_API_KEY",)message = client.messages.create(model="anthropic/claude-opus-4.8",max_tokens=1024,messages=[{"role": "user", "content": "Hello!"}],)print(message.content[0].text)
Related Models
Frequently Asked Questions
Anthropic: Claude Opus 4.8 on Ofox.ai costs $5/M per million input tokens and $25/M per million output tokens. Pay-as-you-go, no monthly fees.
Anthropic: Claude Opus 4.8 supports a context window of 1M tokens with max output of 128K tokens, allowing you to process large documents and maintain long conversations.
Simply set your base URL to https://api.ofox.ai/v1 and use your Ofox API key. The API is OpenAI-compatible — just change the base URL and API key in your existing code.
Anthropic: Claude Opus 4.8 supports the following capabilities: Vision, Function Calling, Reasoning, Prompt Caching, PDF Input. Access all features through the Ofox.ai unified API.