PROVIDER

Anthropic AI Models

Claude Opus, Sonnet, and Haiku — Anthropic's reasoning-first LLMs for code, analysis, and extended context.

1 models · 12 variants · from $0.030
All Anthropic models available through RunAPI 1 models
OVERVIEW

Anthropic builds the Claude family of large language models, spanning Opus (frontier reasoning), Sonnet (balanced), and Haiku (fast and efficient). All variants excel at complex reasoning, code generation, analysis, and extended-context tasks.

  • Single API key shared across all providers
  • No separate %{provider} account required
  • Model skills carry docs, schemas, and setup steps into your workspace
  • Per-call billing in USD, no subscription or minimum spend
  • Failed generations are never charged
  • Switch models by changing one parameter
  • Billing consolidated into one monthly invoice
FEATURES

What stands out

MODELS

All Anthropic models available through RunAPI

QUICKSTART

Install a Anthropic model skill for your app.

Pick a model and add its skill so your coding tool has docs, schemas, pricing notes, and setup steps. Skills work with Claude Code, Codex, Gemini CLI, Cursor, and VS Code. Install once, then switch models by changing one parameter.

runapi.ai
# Base URL
https://runapi.ai

# Endpoints
POST /v1/messages
curl https://runapi.ai/v1/messages \
  -H "Authorization: Bearer $RUNAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "claude-sonnet-5",
  "max_tokens": 1024,
  "messages": [
    {
      "role": "user",
      "content": "Review this pull request for security vulnerabilities, performance issues, and suggest concrete improvements."
    }
  ]
}'
import anthropic

client = anthropic.Anthropic(
    base_url="https://runapi.ai",
    api_key="your-runapi-key"
)

message = client.messages.create(
    model="claude-sonnet-5",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Review this pull request for security vulnerabilities, performance issues, and suggest concrete improvements."}]
)
import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({
  baseURL: "https://runapi.ai",
  apiKey: "your-runapi-key"
});

const message = await client.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Review this pull request for security vulnerabilities, performance issues, and suggest concrete improvements." }]
});
https://runapi.ai /v1/messages
REFERENCE

Every Anthropic variant with pricing and model IDs

Full pricing table →
Model Variant Billing From
Claude
claude-fable-5 1K tokens $0.250 View →
claude-haiku-4-5-20251001 1K tokens $0.030 View →
claude-opus-4-1-20250805 1K tokens $0.380 View →
claude-opus-4-20250514 1K tokens $0.380 View →
claude-opus-4-5-20251101 1K tokens $0.130 View →
claude-opus-4-6 1K tokens $0.130 View →
claude-opus-4-7 1K tokens $0.130 View →
claude-opus-4-8 1K tokens $0.130 View →
claude-sonnet-4-20250514 1K tokens $0.080 View →
claude-sonnet-4-5-20250929 1K tokens $0.080 View →
claude-sonnet-4-6 1K tokens $0.080 View →
claude-sonnet-5 1K tokens $0.050 View →
FAQ

Frequently asked questions about Anthropic

Is this an official Anthropic integration?

RunAPI exposes a managed API surface with transparent per-call pricing, fully documented capability and parameters, and clear error behavior. You get the same model output quality without managing a direct provider relationship or provider-side account.

Do I need a Anthropic account?

No. Your RunAPI API key is enough for managed access to all Anthropic models. You do not need to create a separate account, manage provider-specific credentials, or handle provider-side billing.

What's the latency overhead from proxying through RunAPI?

Typically under 20 ms. RunAPI keeps the proxy layer close to model execution regions to minimize added latency. Media generation time is dominated by the model itself, not the proxy.

Are images / videos cached?

Generated outputs are stored and retrievable by task ID. You can fetch completed results at any time using the task status endpoint or the RunAPI dashboard. Output URLs remain accessible for the retention period shown in the API docs. Inputs are not cached or stored.

Can I bring my own key?

Not currently. Calls use RunAPI-managed access, which simplifies authentication and lets RunAPI handle rate limiting, retries, and billing consolidation on your behalf.

How is billing consolidated?

All API calls across all providers appear on a single monthly USD invoice. There is no per-provider billing, no subscription, and no minimum spend. Failed generations are never charged.

What SDKs can I use with Anthropic models?

Official SDKs are available for Python, Node.js, PHP, Java, Ruby, and Go. Each SDK handles authentication, async task polling, and typed responses. For LLM models, the OpenAI and Anthropic SDKs also work by pointing the base URL to RunAPI.

What are model skills and how do they work?

Model skills are installable packages that load a model's docs, typed schemas, pricing notes, and setup steps directly into your coding workspace. Install a skill with one command and your agent has the right context before you write integration code. Skills work with Claude Code, Codex, Gemini CLI, Cursor, and VS Code.

How do I switch between Anthropic models?

Change the model parameter in your API request. All Anthropic models share the same API key, the same request shape, and the same billing. No code changes, no re-authentication, and no separate billing setup are required when switching between models or between variants of the same model. You can also switch to models from other providers by changing the same parameter — the API surface is unified across the entire catalog.

START NOW

Start building with Anthropic models.