Claude Opus 5 API

$12/Mtok in

Anthropic · text

The Claude 5 generation's deep-work model — maximum-capability reasoning for research, architecture, and hard agentic tasks.

Overview

About Claude Opus 5

Claude Opus 5 is the deep-work model of the Claude 5 generation — maximum-capability reasoning for research, architecture, and hard agentic tasks, sitting between Sonnet 4.5's everyday reliability and Fable 5's flagship tier. One CompanyFabric key covers the whole family. Every model on CompanyFabric shares the same API key, billing balance, and rate-limit envelope — one integration covers the entire library.

Facts

At a glance

Availability

Live

Pricing

$12/Mtok in

Metered exactly per call

Context window

200k tokens

Commercial use

See license

Commercial use of outputs permitted per Anthropic's usage policies.

Variants

All endpoints

Quickstart

How to use the Claude Opus 5 API

  1. 1

    Create a free CompanyFabric account — starter credits are included, no card required.

  2. 2

    Copy your API key from the dashboard. One key covers every model in the library.

  3. 3

    Point any OpenAI SDK at api.companyfabric.com/v1 and set model to "anthropic/claude-opus-5".

  4. 4

    Read the exact metered cost of the call from the response — the same number shown in the playground.

Use cases

What teams build with it

Agents & copilots

Drive agent loops, tool calls, and user-facing assistants over the OpenAI-compatible endpoint.

agentstool useassistants

Content pipelines

Summarization, rewriting, and structured generation at metered per-token cost.

contentsummarization

Extraction & classification

Turn unstructured input into typed JSON with schema-constrained output.

extractionjson mode

Get better output

Prompting tips

  • State the output format before the task — models follow contracts declared early.
  • Few-shot beats description: two worked examples outperform a paragraph of rules.
  • Cap output length explicitly when cost matters; output tokens dominate most bills.

Exact, metered, prepaid

Claude Opus 5 pricing

Claude Opus 5 pricing is per token: $12 / M input · $60 / M output. Output tokens cost 5× input tokens, so long generations — not long prompts — are what actually drive most bills. A typical call with a 2k-token prompt and a 1k-token answer costs about $0.0840.

Every call is metered exactly and attributed to your key — the dashboard, the API usage response, and your invoice all read from the same ledger row. Cap any key's monthly spend with a budget cap, and bring your own provider key (BYOK) at 0% platform fee if you already have a direct contract.

EndpointTypePrice
Claude Sonnet 4.5Chat$3 / M input · $15 / M output
Claude Haiku 4.5Chat$1 / M input · $5 / M output
Claude Opus 4.6Chat$15 / M input · $75 / M output
Claude Fable 5Chat$6 / M input · $30 / M output
Claude Opus 5Chat$12 / M input · $60 / M output

Starter credits

Use Claude Opus 5 free

Your CompanyFabric starter credits cover your first Claude Opus 5 calls at no cost — create a free account, no card required, and the credits apply to Claude Opus 5 and every other model on the key. When they run out, prepaid credits or BYOK (0% fee) take over with no plan to pick.

All ways to use AI models free →

Production-grade

Code samples

import OpenAI from "openai"

const client = new OpenAI({
  baseURL: "https://api.companyfabric.com/v1",
  apiKey: process.env.COMPANYFABRIC_API_KEY,
})

const res = await client.chat.completions.create({
  model: "anthropic/claude-opus-5",
  max_tokens: 1024,
  temperature: 0.7,
  messages: [{ role: "user", content: "Say hello from the fabric." }],
})

console.log(res.choices[0].message.content)

Playground

Try it in the browser

PlaygroundClaude$12 in / $60 out per 1M tokens

Comparisons

Claude Opus 5 vs the alternatives

Claude Opus 5 vs GPT-5.5

GPT-5.5 undercuts on input-token price; Opus 5 answers with Claude's agentic reliability at full depth. Teams that already run Sonnet in the loop step up to Opus 5 for the hard turns without touching their integration.

FAQ

Frequently asked questions

How much does the Claude Opus 5 API cost?

$12 / M input · $60 / M output. Every call is metered exactly and shown before you run it.

How do I get a Claude Opus 5 API key?

Create a CompanyFabric account, and one key unlocks Claude Opus 5 and every other model in the library. Free starter credits are included — no subscription, no card required to try it.

Why use Claude Opus 5 on CompanyFabric instead of going direct?

One key, one prepaid balance, and one rate-limit envelope across the whole library, at pricing at parity with or below the direct API. Model switching is a one-line change, and BYOK routing is 0% fee.

Is the API OpenAI-compatible?

Yes — point any OpenAI SDK at api.companyfabric.com/v1 and set model to "anthropic/claude-opus-5".

Can I use the output commercially?

Commercial use of outputs permitted per Anthropic's usage policies.

How does billing work?

Prepaid credits via card, or BYOK with your own provider keys at 0% platform fee. No subscription required; balances never expire.

Opus 5 vs Opus 4.6 — worth the upgrade?

Opus 5 is the newer generation with stronger reasoning and agentic behavior. Opus 4.6 remains cheaper and battle-tested; with both behind one key, the practical move is to A/B your real workload and let the eval decide.

Provider

About Anthropic

Anthropic publishes the claude family. Also in this family: Claude Sonnet 4.5, Claude Haiku 4.5, Claude Opus 4.6, Claude Fable 5. License: Commercial use of outputs permitted per Anthropic's usage policies.

Explore

Related model APIs

One key. Every model. Exact prices.

Run Claude Opus 5 with free starter credits. Free starter credits included — no subscription required.