Seedance 2.0 DISKON 20% | Buat di 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.

Harga

Bayar sesuai pemakaian

Tanpa biaya di muka, bayar hanya sesuai penggunaan

Input$5.00 / M Tokens
Output$25.00 / M Tokens
Cache Read$0.50 / M Tokens
Cache Write$6.25 / M Tokens

Coba model

anthropic/claude-opus-4.8
Online
anthropic
Hai! Saya asisten AI yang siap membantu. Ada yang bisa saya bantu?

Penggunaan API

Gunakan contoh kode berikut untuk integrasi dengan API kami:

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)

Pengenalan Model

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

Penyediaanthropic
Tipellm

Fitur yang Didukung

Input
TeksGambar
Output
Teks
Konteks1,000,000
Output Maks128,000
Vision✓ Didukung
Function Calling✓ Didukung

Panduan Akses API

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

Input

$5 /M

Output

$25 /M

Konteks

1000K

Output Maks.

128K

Vision

Didukung

Penggunaan Tool

Didukung

Coba Claude Opus 4.8 di WaveSpeedAI

Akses Claude Opus 4.8 melalui API terpadu kami — kompatibel dengan OpenAI, tanpa cold start, harga transparan.

Pertanyaan Umum tentang Claude Opus 4.8

Berapa biaya Claude Opus 4.8 melalui API?+

Harga di WaveSpeedAI: $5.00 per juta token input dan $25.00 per juta token output. Prompt caching dan batch processing ditagih terpisah dan mengurangi biaya efektif pada beban kerja yang panjang dan berulang.

Berapa context window Claude Opus 4.8?+

Claude Opus 4.8 mendukung hingga 1000K token konteks dengan hingga 128K token output per permintaan.

Apakah Claude Opus 4.8 kompatibel dengan OpenAI?+

Ya. WaveSpeedAI menyediakan Claude Opus 4.8 melalui endpoint yang kompatibel dengan OpenAI di https://llm.wavespeed.ai/v1. Arahkan OpenAI SDK resmi ke base URL ini dengan API key WaveSpeedAI Anda — tanpa perubahan kode lainnya.

Bagaimana memulai dengan Claude Opus 4.8?+

Masuk ke WaveSpeedAI, buat API key di Access Keys, lalu kirim permintaan ke https://llm.wavespeed.ai/v1/chat/completions dengan model id seperti ditampilkan di atas. Akun baru menerima kredit gratis untuk menguji Claude Opus 4.8.

API LLM terkait