Claude claude-opus-4-8 API
A model variant exposed through RunAPI's unified AI API.
Operational
·
text
·
Commercial use supported
# Works with Claude Code, Codex, Gemini CLI, Cursor, and 50+ agents
npx skills add runapi-ai/claude -g
Or paste this prompt to your AI agent:
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.
Switch variant
RESUMEN
Claude claude-opus-4-8 is available through the same RunAPI auth, SDKs, and agent skill workflow.
- Unified endpoint
- SDK snippets
- Agent install path
- Las generaciones fallidas no se cobran
PRECIOS
PRECIOS
Las generaciones fallidas no se cobran
Messages API
Input
$2.50
/ 1M tokens
Output
$12.50
/ 1M tokens
Cache read
$0.25
Cache write 5m
$3.13
Cache write 1h
$5.00
FICHA TÉCNICA
FICHA TÉCNICA
| Model ID | claude-opus-4-8 |
| Proveedor | Anthropic |
| Modalidad | text |
| Task type | synchronous |
| Facturación | 1K tokens |
| Endpoint | /v1/messages |
| Commercial | Yes |
| Status | Operational |
INICIO RÁPIDO
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."}]
)
CÓMO FUNCIONA
How to use claude-opus-4-8
01
Choose endpoint
Pick the endpoint and copy the SDK snippet.
02
Pass model ID
Use this variant ID in the request body.
03
Run task
Submit the request and store the returned task ID.
04
Collect output
Poll or receive the callback when the task finishes.
DIFERENCIAS
How claude-opus-4-8 compares
VS CLAUDE-HAIKU-4-5-20251001
1M context; strongest judgment and long-workflow reliability
Dated snapshot of Haiku 4.5 for reproducible outputs
VS CLAUDE-OPUS-4-5-20251101
1M context; strongest judgment and long-workflow reliability
claude-opus-4-5-20251101
VS CLAUDE-OPUS-4-6
1M context; strongest judgment and long-workflow reliability
1M token context; frontier reasoning at $5/$25 per M tokens
CASOS DE USO
Where to use this variant
Chat
Use LLMs for chat and reasoning.
Code
Generate and review implementation work.
Automation
Connect models into backend tasks.
FAQ
Frequently asked questions about claude-opus-4-8
How do I select claude-opus-4-8?
Pass the model ID shown in the quickstart.
Is pricing usage-based?
Yes. Pricing is metered per call or unit.
Other Claude variants
claude-haiku-4-5-20251001
Cheapest
haiku-4-5-20251001
$0.050 / 1K tokens
claude-sonnet-4-5-20250929
sonnet-4-5-20250929
$0.130 / 1K tokens
claude-sonnet-4-6
sonnet-4-6
$0.130 / 1K tokens
claude-opus-4-5-20251101
Quality
opus-4-5-20251101
$0.250 / 1K tokens
claude-opus-4-6
Quality
opus-4-6
$0.250 / 1K tokens
claude-opus-4-7
Quality
opus-4-7
$0.250 / 1K tokens
Related models
EMPEZAR