VARIANTE · Anthropic / Claude

Claude claude-opus-4-6 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
The -g flag installs globally so every project picks it up.
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
APERÇU

Claude claude-opus-4-6 is available through the same RunAPI auth, SDKs, and agent skill workflow.

  • Unified endpoint
  • SDK snippets
  • Agent install path
  • Les générations échouées ne sont pas facturées
TARIFS

TARIFS

Les générations échouées ne sont pas facturées
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
FICHE TECHNIQUE

FICHE TECHNIQUE

Model ID claude-opus-4-6
Fournisseur Anthropic
Modalité text
Task type synchronous
Facturation 1K tokens
Endpoint /v1/messages
Commercial Yes
Status Operational
DÉMARRAGE RAPIDE

Quickstart — claude-opus-4-6

runapi.ai
curl -X POST https://runapi.ai/v1/messages \
  -H "Authorization: Bearer $RUNAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "claude-opus-4-6",
  "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-6",
    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-6",
    max_tokens: 1024,
    messages: [{role: "user", content: "Review this pull request for security vulnerabilities, performance issues, and suggest concrete improvements."}]
)
@runapi.ai/claude v1
FONCTIONNEMENT

How to use claude-opus-4-6

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.

DIFFÉRENCES

How claude-opus-4-6 compares

VS CLAUDE-HAIKU-4-5-20251001

1M token context; frontier reasoning at $5/$25 per M tokens

Dated snapshot of Haiku 4.5 for reproducible outputs

VS CLAUDE-OPUS-4-5-20251101

1M token context; frontier reasoning at $5/$25 per M tokens

claude-opus-4-5-20251101

VS CLAUDE-OPUS-4-7

1M token context; frontier reasoning at $5/$25 per M tokens

1M context; enhanced coding and tool use over 4.6

CAS D’USAGE

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-6

How do I select claude-opus-4-6?

Pass the model ID shown in the quickstart.

Is pricing usage-based?

Yes. Pricing is metered per call or unit.

COMMENCER

Start with Claude today.