June 🎉 GPT 15% Off 🎉 All series, all month 🔥Saiba mais
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.

Janela de Contexto
1M
Tokens Máx de Saída
128K
Lançamento
2026-05-28
Capacidades
VisãoFunction CallingRaciocínioPrompt CachingEntrada PDF
Provedores Disponíveis
BedrockBedrock
Protocolos Suportados
OpenAIopenaiAnthropicanthropic

Providers

BedrockBedrock
Tokens de Entrada
$5/M
Tokens de Saída
$25/M
Leitura de Cache
$0.5/M
Escrita de Cache (5 min)
$6.25/M
Escrita de Cache (1 hora)
$10/M
Busca Web
$0.015/R
Protocols
OpenAIopenai/v1/chat/completions/v1/responses
Anthropicanthropic

Exemplos de Código

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)

Perguntas Frequentes

Anthropic: Claude Opus 4.8 na Ofox.ai custa $5/M por milhão de tokens de entrada e $25/M por milhão de tokens de saída. Pague por uso, sem mensalidade.