Claude

Anthropic: Claude Opus 4.8

Chat
anthropic/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.

1M контекстное окно
128K макс. выходных токенов
Дата релиза: 2026-05-28
Поддерживаемые протоколы:OpenAIopenaiAnthropicanthropic
Доступные провайдеры:BedrockBedrock
Возможности:ЗрениеFunction CallingРассуждениеКэширование промптовPDF-вход

Цены

ТипЦена
Входные токены$5/M
Выходные токены$25/M
Чтение кэша$0.5/M
Запись кэша (5 мин)$6.25/M
Запись кэша (1 час)$10/M
Веб-поиск$0.015/R

Примеры кода

import anthropic
client = 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)

Часто задаваемые вопросы

Anthropic: Claude Opus 4.8 на Ofox.ai стоит $5/M за миллион входных токенов и $25/M за миллион выходных токенов. Оплата по потреблению, без абонплаты.