Seedance 2.0 ลด 15% | สร้างใน Video Generator →
anthropic
anthropic/claude-opus-4

anthropic/claude-opus-4

วันที่เผยแพร่: 2025-05-23

200,000 context · $15.00/M input tokens · $75.00/M output tokens

Claude Opus 4 is benchmarked as the world’s best coding model, at time of release, bringing sustained performance on complex, long-running tasks and agent workflows. It sets new benchmarks in...

ราคา

จ่ายตามการใช้งาน

ไม่มีค่าใช้จ่ายล่วงหน้า จ่ายเฉพาะสิ่งที่คุณใช้

อินพุต$15.00 / M Tokens
เอาต์พุต$75.00 / M Tokens
Cache Read$1.50 / M Tokens
Cache Write$18.75 / M Tokens

ลองใช้โมเดล

anthropic/claude-opus-4
ออนไลน์
anthropic
สวัสดี! ฉันคือผู้ช่วย AI พร้อมช่วยคุณ ต้องการให้ช่วยอะไรไหม?

การใช้งาน API

ใช้ตัวอย่างโค้ดต่อไปนี้เพื่อผสานรวมกับ 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",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

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

แนะนำโมเดล

Anthropic claude-opus-4

anthropic claude-opus-4


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 200000 context window for long document handling
  • Competitive pricing at $16.5/$82.5 per million tokens

Key Features

  • Context Window: 200000 tokens
  • Max Output: 32000 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

SpecificationValue
ProviderAnthropic
Model TypeLarge Language Model (LLM)
ArchitectureN/A
Context Window200000 tokens
Max Output32000 tokens
InputText
OutputText
VisionSupported
Function CallingSupported

Pricing

Token TypeCost per Million Tokens
Input$16.5
Output$82.5

How to Use

  1. Write your prompt — describe the task, provide context, and specify 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


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",
    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",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: anthropic/claude-opus-4
  • Provider: Anthropic

ข้อมูล

ผู้ให้บริการanthropic
ประเภทllm

ฟังก์ชันที่รองรับ

อินพุต
ข้อความรูปภาพ
เอาต์พุต
ข้อความ
บริบท200,000
เอาต์พุตสูงสุด32,000
Vision✓ รองรับ
Function Calling✓ รองรับ

คู่มือการเข้าถึง API

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
Model IDanthropic/claude-opus-4

Claude Opus 4 API

anthropic/claude-opus-4

Claude Opus 4 is benchmarked as the world’s best coding model, at time of release, bringing sustained performance on complex, long-running tasks and agent workflows. It sets new benchmarks in...

อินพุต

$15 /M

เอาต์พุต

$75 /M

คอนเท็กซ์

200K

เอาต์พุตสูงสุด

32K

Vision

รองรับ

การใช้เครื่องมือ

รองรับ

ลองใช้ Claude Opus 4 บน WaveSpeedAI

เข้าถึง Claude Opus 4 ผ่าน API แบบรวมของเรา — เข้ากันได้กับ OpenAI ไม่มี cold start ราคาโปร่งใส

คำถามที่พบบ่อยเกี่ยวกับ Claude Opus 4

Claude Opus 4 API ราคาเท่าไหร่?+

ราคาบน WaveSpeedAI: $15.00 ต่อล้านโทเคนอินพุต และ $75.00 ต่อล้านโทเคนเอาต์พุต Prompt caching และ batch processing คิดค่าบริการแยกและช่วยลดต้นทุนที่แท้จริงสำหรับภาระงานที่ยาวและทำซ้ำ

Claude Opus 4 มี context window เท่าใด?+

Claude Opus 4 รองรับสูงสุด 200K โทเคนคอนเท็กซ์ และสูงสุด 32K โทเคนเอาต์พุตต่อคำขอ

Claude Opus 4 เข้ากันได้กับ OpenAI หรือไม่?+

ใช่ WaveSpeedAI ให้บริการ Claude Opus 4 ผ่าน endpoint ที่เข้ากันได้กับ OpenAI ที่ https://llm.wavespeed.ai/v1 ชี้ OpenAI SDK ทางการมาที่ base URL นี้ด้วย API key ของ WaveSpeedAI — ไม่ต้องแก้ไขโค้ดอื่น

จะเริ่มใช้ Claude Opus 4 ได้อย่างไร?+

ลงชื่อเข้าใช้ WaveSpeedAI สร้าง API key ใน Access Keys จากนั้นส่งคำขอไปยัง https://llm.wavespeed.ai/v1/chat/completions พร้อม model id ที่แสดงด้านบน บัญชีใหม่จะได้รับเครดิตฟรีสำหรับทดลองใช้ Claude Opus 4

LLM API ที่เกี่ยวข้อง