Claude claude-opus-4-8 API
Same API, same SDK — switch variants by changing one parameter.
# Works with Claude Code, Codex, Gemini CLI, Cursor, and 50+ agents
npx skills add runapi-ai/claude -g
Install the Claude skill for me: 1. Clone https://github.com/runapi-ai/claude 2. Copy the skills/claude/ directory into your user-level skills directory (e.g. ~/.claude/skills/ for Claude Code, ~/.codex/skills/ for Codex). 3. Verify that SKILL.md is present. 4. Confirm the install path when done.
claude-opus-4-8 targets the sweet spot of quality and cost within the Claude family.
- Pay-per-call pricing in USD
- Failed generations not charged
- Streaming when supported by the model
- Schema-validated tool calls
Pricing
Technical details
| Model ID | claude-opus-4-8 |
| Provider | Anthropic |
| Modality | text |
| Task type | synchronous |
| Billing unit | 1K tokens |
| API endpoint | /v1/messages |
| Commercial license | Yes — included via API |
| Status | Operational |
Quickstart — claude-opus-4-8
curl -X POST https://runapi.ai/v1/messages \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-opus-4-8",
"max_tokens": 1024,
"messages": [
{
"role": "user",
"content": "Review this pull request for security vulnerabilities, performance issues, and suggest concrete improvements."
}
]
}'
import { ClaudeClient } from "@runapi.ai/claude";
const client = new ClaudeClient();
const result = await client.message.run({
model: "claude-opus-4-8",
max_tokens: 1024,
messages: [{"role":"user","content":"Review this pull request for security vulnerabilities, performance issues, and suggest concrete improvements."}],
});
require "runapi/claude"
client = RunApi::Claude::Client.new
result = client.message.run(
model: "claude-opus-4-8",
max_tokens: 1024,
messages: [{role: "user", content: "Review this pull request for security vulnerabilities, performance issues, and suggest concrete improvements."}]
)
Use claude-opus-4-8 in four steps
Install
Install the model SDK or agent skill for this model line.
Configure
Set the model field to the full model ID shown on this page.
Call
Send a typed request with your prompt, inputs, and callback settings.
Receive
Read the task response, webhook callback, or cached output URL from RunAPI.
What's different about claude-opus-4-8
1M context; strongest judgment and long-workflow reliability
Dated snapshot of Haiku 4.5 for reproducible outputs
1M context; strongest judgment and long-workflow reliability
claude-opus-4-5-20251101
1M context; strongest judgment and long-workflow reliability
1M token context; frontier reasoning at $5/$25 per M tokens
Best for
Customer support
Answer customer questions from a private knowledge base, reducing ticket volume.
Document analysis
Draft contract summaries and flag key clauses for attorney review.
Code generation
Auto-generate unit tests, code reviews, and refactoring suggestions in CI.
Frequently asked questions about claude-opus-4-8
Is the model ID stable across versions?
RunAPI keeps the model ID stable and handles compatible version refreshes without changing your request shape.
What's the rate limit on this variant?
Per-key rate limits scale with usage tier. See pricing page for current limits.
Can I switch variants later?
Yes — variant is a flag. Switch by changing the model parameter.
Does it stream?
Where streaming is available, RunAPI streams end-to-end.
Where do I report quality issues?
Open an issue on the public GitHub repo or email support.