Seedance 2.0 20% DE DESCONTO | Crie no Video Generator →
anthropic
anthropic/claude-opus-4.8

anthropic/claude-opus-4.8

1,000,000 context · $5.00/M input tokens · $25.00/M output tokens

Claude Opus 4.8 is Anthropic’s most capable generally available Opus model, built for complex reasoning, long-horizon agentic coding, and high-autonomy professional workflows. It supports text, image, and file inputs with text output, a 1M-token context window, up to 128K output tokens, adaptive thinking, tool use, and structured outputs. It is especially strong for advanced coding, browser and computer-use agents, enterprise knowledge work, financial and legal analysis, and multi-step tasks that require sustained judgment and reliability.

Preços

Pagamento por uso

Sem custo inicial, pague apenas pelo que usar

Entrada$5.00 / M Tokens
Saída$25.00 / M Tokens
Cache Read$0.50 / M Tokens
Cache Write$6.25 / M Tokens

Experimentar o modelo

anthropic/claude-opus-4.8
Online
anthropic
Olá! Sou um assistente de IA útil. Em que posso ajudar?

Uso da API

Use os exemplos de código abaixo para integrar com nossa API:

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="anthropic/claude-opus-4.8",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

Introdução do modelo

Anthropic: Claude Opus 4.8

Claude Opus 4.8 is Anthropic’s most capable generally available Opus model, built for complex reasoning, long-horizon agentic coding, and high-autonomy professional workflows. It supports text, image, and file inputs with text output, adaptive thinking, tool use, and a 1M-token context window.


Why It Looks Great

  • Anthropic’s most capable generally available Opus model
  • 1M-token context window for large codebases, long documents, and extended multi-turn workflows
  • Up to 128K output tokens for long-form reasoning, coding, analysis, and structured generation
  • Strong fit for professional software engineering, complex agentic workflows, and enterprise knowledge work
  • Improved long-horizon coding reliability, tool triggering, and long-context quality
  • Adaptive thinking support for balancing speed, cost, and reasoning depth
  • Vision and file input support for screenshots, diagrams, PDFs, documents, and multimodal analysis
  • Function calling and tool-use support for agentic application workflows
  • Structured output support for JSON responses and schema-constrained generation

Key Features

  • Context Window: 1,000,000 tokens
  • Max Input: 872,000 tokens
  • Max Output: 128,000 tokens
  • Input: Text, Image, File
  • Output: Text
  • Vision: Supported
  • File Input: Supported
  • Function Calling: Supported
  • Structured Outputs: Supported
  • Adaptive Thinking: Supported
  • Image Generation: Not listed
  • Audio Input: Not listed
  • Supported Parameters: include_reasoning, max_tokens, reasoning, response_format, stop, structured_outputs, tool_choice, tools, verbosity

Specifications

SpecificationValue
Provideranthropic
Model TypeChat Completions model
Architecturetext+image+file->text
Context Window1,000,000 tokens
Max Input872,000 tokens
Max Output128,000 tokens
InputText, Image, File
OutputText
VisionSupported
File InputSupported
Function CallingSupported
Structured OutputsSupported
Adaptive ThinkingSupported
ReleaseMay 28, 2026

How to Use

  1. Write your prompt - describe the task, provide context, and specify the desired output format.
  2. Submit - the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1
API Endpoint: chat/completions
Model ID: anthropic/claude-opus-4.8


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="anthropic/claude-opus-4.8",
    messages=[{"role": "user", "content": "Hello!"}]
)

print(response.choices[0].message.content)

cURL

curl https://llm.wavespeed.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "anthropic/claude-opus-4.8",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: anthropic/claude-opus-4.8
  • Provider: anthropic
  • Best suited for long-horizon coding, complex reasoning, enterprise knowledge work, legal and financial analysis, browser/computer-use agents, and high-autonomy tool workflows

Info

Provedoranthropic
Tipollm

Funcionalidades suportadas

Entrada
TextoImagem
Saída
Texto
Contexto1,000,000
Saída máx.128,000
Vision✓ Suportado
Function Calling✓ Suportado

Guia de acesso à API

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
ID do modeloanthropic/claude-opus-4.8

Claude Opus 4.8 API

anthropic/claude-opus-4.8

Claude Opus 4.8 is Anthropic’s most capable generally available Opus model, built for complex reasoning, long-horizon agentic coding, and high-autonomy professional workflows. It supports text, image, and file inputs with text output, a 1M-token context window, up to 128K output tokens, adaptive thinking, tool use, and structured outputs. It is especially strong for advanced coding, browser and computer-use agents, enterprise knowledge work, financial and legal analysis, and multi-step tasks that require sustained judgment and reliability.

Entrada

$5 /M

Saída

$25 /M

Contexto

1000K

Saída máx.

128K

Vision

Suportado

Uso de ferramentas

Suportado

Experimente Claude Opus 4.8 no WaveSpeedAI

Acesse Claude Opus 4.8 através da nossa API unificada — compatível com OpenAI, sem inicializações a frio, preços transparentes.

Perguntas frequentes sobre Claude Opus 4.8

Quanto custa Claude Opus 4.8 via API?+

Preços no WaveSpeedAI: $5.00 por milhão de tokens de entrada e $25.00 por milhão de tokens de saída. Prompt caching e batch processing são cobrados separadamente e reduzem o custo efetivo em cargas longas e repetitivas.

Qual é a janela de contexto do Claude Opus 4.8?+

Claude Opus 4.8 suporta até 1000K tokens de contexto e até 128K tokens de saída por requisição.

Claude Opus 4.8 é compatível com OpenAI?+

Sim. O WaveSpeedAI expõe o Claude Opus 4.8 através de um endpoint compatível com OpenAI em https://llm.wavespeed.ai/v1. Aponte o SDK oficial da OpenAI para esta base URL com sua chave API do WaveSpeedAI — sem outras alterações no código.

Como começo a usar o Claude Opus 4.8?+

Entre no WaveSpeedAI, crie uma chave API em Access Keys, então envie uma requisição para https://llm.wavespeed.ai/v1/chat/completions com o model id mostrado acima. Contas novas recebem créditos grátis para avaliar o Claude Opus 4.8.

APIs LLM relacionadas