Seedance 2.0 20 % DE DESCUENTO | Crea en el 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.

Precios

Pago por uso

Sin costos iniciales, paga solo por lo que uses

Entrada$5.00 / M Tokens
Salida$25.00 / M Tokens
Cache Read$0.50 / M Tokens
Cache Write$6.25 / M Tokens

Probar el modelo

anthropic/claude-opus-4.8
En línea
anthropic
¡Hola! Soy un asistente de IA útil. ¿En qué puedo ayudarte?

Uso de API

Usa los siguientes ejemplos de código para integrar con nuestra 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)

Introducción del 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

Información

Proveedoranthropic
Tipollm

Funcionalidades compatibles

Entrada
TextoImagen
Salida
Texto
Contexto1,000,000
Salida máxima128,000
Visión✓ Compatible
Function Calling✓ Compatible

Guía de acceso a la API

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
ID del 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

Salida

$25 /M

Contexto

1000K

Salida máx.

128K

Visión

Compatible

Uso de herramientas

Compatible

Prueba Claude Opus 4.8 en WaveSpeedAI

Accede a Claude Opus 4.8 mediante nuestra API unificada — compatible con OpenAI, sin arranques en frío, precios transparentes.

Preguntas frecuentes sobre Claude Opus 4.8

¿Cuánto cuesta Claude Opus 4.8 a través de la API?+

Precios en WaveSpeedAI: $5.00 por millón de tokens de entrada y $25.00 por millón de tokens de salida. El prompt caching y el procesamiento por lotes se facturan por separado y reducen el coste efectivo en cargas largas y repetitivas.

¿Cuál es la ventana de contexto de Claude Opus 4.8?+

Claude Opus 4.8 admite hasta 1000K tokens de contexto y hasta 128K tokens de salida por solicitud.

¿Es Claude Opus 4.8 compatible con OpenAI?+

Sí. WaveSpeedAI expone Claude Opus 4.8 a través de un endpoint compatible con OpenAI en https://llm.wavespeed.ai/v1. Apunta el SDK oficial de OpenAI a esta base URL con tu clave API de WaveSpeedAI — sin más cambios de código.

¿Cómo empiezo con Claude Opus 4.8?+

Inicia sesión en WaveSpeedAI, crea una clave API en Access Keys y envía una solicitud a https://llm.wavespeed.ai/v1/chat/completions con el id de modelo mostrado arriba. Las cuentas nuevas reciben créditos gratuitos para evaluar Claude Opus 4.8 antes de pagar por token.

APIs LLM relacionadas