Claude Opus 5

anthropic/claude-opus-5

Anthropic's flagship model for complex agentic coding and long-horizon professional work, with adaptive reasoning across a million-token window.

Sign in to send. You only pay for what you use.

Use through the API
Modalities
Text, Image
In / out per 1M
$5 / $25
Context
1M
Released
Jul 24, 2026

Overview

Anthropic's flagship model for complex agentic coding and long-horizon professional work, with adaptive reasoning across a million-token window. It is billed from the same balance as every other model and API here, and the price of each call comes back in the response.

Run Claude Opus 5 with an agent

Each guide pairs this model with a currently compatible agent, explains their separate roles, and opens the shared Composer with both selections ready.

  • Hermes + Claude Opus 5

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • Claude Code + Claude Opus 5

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • OpenClaw + Claude Opus 5

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • pi + Claude Opus 5

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • Kimi Code + Claude Opus 5

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • OpenCode + Claude Opus 5

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide

Pricing

The default plan, in USD per million tokens.

MeterPer 1M tokens
Input$5.00
Output$25.00
Cache read$0.5
Cache write$6.25

Your balance and per-call records come from /v1/credits and /v1/generation.

Use it

Point your client at the gateway and pass this model id. Nothing else changes.

import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({
  baseURL: "https://gateway.agentsky.dev",
  apiKey: process.env.AGENTSKY_API_KEY, // ast_…
});

const message = await client.messages.create({
  model: "anthropic/claude-opus-5",
  max_tokens: 256,
  messages: [{ role: "user", content: "Summarise this ticket." }],
});
console.log(message.usage.cost); // USD, in the response

Questions