View as Markdown (.md)
AnthropicText / LLMclaude-opus-4-8

claude-opus-4-8 API

Anthropic Claude Opus 4.8 (May 2026; since succeeded by Opus 5 and Opus 5.5), 1M-token context and 128K output, excelling at long-horizon agentic execution, coding and knowledge work — highly autonomous, runs overnight-scale tasks with hundreds of parallel subagents, and far less likely than 4.7 to silently pass flawed code. Adaptive thinking up to xhigh/max.

Give this to your agent·Claude Code·Codex·Cursor·OpenClaw / Hermes

Read https://wanapi.ai/SKILL.md and https://wanapi.ai/model/claude-opus-4-8.md, then configure WanAPIs for claude-opus-4-8

Token Pricing (1M)
$5.00 / $25.00
≈ $0.714 / $3.57 USD
Provider
Anthropic
Unified billing
API Endpoint
/v1/chat/completions
OpenAI-compatible
Billing Rate
¥1 = $1 quota
~86% off USD parity

Live Cost Estimator

¥1 = $1 quota

Adjust parameters to preview live WanAPIs quota, RMB real cost, and approx. USD (~86% off USD parity).

10K
2K
10K input + 2K output tokens
¥0.1
≈ $0.014 USD
($0.1 quota)
1,000 similar requests ≈ ¥100 (~$14.29 USD)
curl https://api.wanapis.com/v1/chat/completions \
  -H "Authorization: Bearer $WANAPIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-opus-4-8",
    "messages": [
      {"role": "user", "content": "Explain the key trade-offs of microservices in 3 bullets.
    ]
  }'
Drop-in OpenAI SDK · swap base_url onlyhttps://api.wanapis.com/v1

About claude-opus-4-8

Anthropic Claude Opus 4.8 (May 2026; since succeeded by Opus 5 and Opus 5.5), 1M-token context and 128K output, excelling at long-horizon agentic execution, coding and knowledge work — highly autonomous, runs overnight-scale tasks with hundreds of parallel subagents, and far less likely than 4.7 to silently pass flawed code. Adaptive thinking up to xhigh/max.

Capabilities

  • Text
  • Vision
  • Reasoning

Compare Related Models (Live Pricing)

Synced live from /api/pricing · ¥1 = $1 quota (~86% off USD parity at $1 ≈ ¥7).

ModelLive Price (Quota)Est. Real Cost (¥ / ~USD)Action
$5.00 in · $25.00 out¥5 / ¥25 (~$0.714 / $3.57 USD)—
$8.00 in · $40.00 out¥8 / ¥40 (~$1.14 / $5.71 USD)View
$5.00 in · $25.00 out¥5 / ¥25 (~$0.714 / $3.57 USD)View
$4.00 in · $20.00 out¥4 / ¥20 (~$0.571 / $2.86 USD)View
$10.00 in · $50.00 out¥10 / ¥50 (~$1.43 / $7.14 USD)View

claude-opus-4-8 FAQ

How do I call claude-opus-4-8 via WanAPIs?

Send an authenticated request with Authorization: Bearer <WANAPIS_API_KEY> to https://api.wanapis.com using POST /v1/chat/completions and model "claude-opus-4-8".

How much does claude-opus-4-8 cost on WanAPIs?

Current live rate: $5.00 in · $25.00 out. WanAPIs uses RMB-anchored quota (¥1 = $1 quota, roughly 1/7 or ~86% off USD-denominated list pricing) with zero monthly subscription.

Can AI coding agents (Claude Code, Codex, Cursor) discover and use this model?

Yes. Point your agent to https://wanapi.ai/SKILL.md or install npx -y @wanapis/mcp. A machine-readable Markdown spec is also available at /model/claude-opus-4-8.md.

More Anthropic models

Integrate claude-opus-4-8 in minutes

Sign up for starter credit — change one base_url line or hand SKILL.md to your AI agent.