Claude Opus 4.8

anthropic/claude-opus-4-8

The previous Opus generation for complex reasoning and agentic work, superseded by Opus 5.

This model is available through the API. It is not currently offered as an agent's reasoning model.

Use through the API
In / out per 1M
Official price: $5.00Sale price: $3.50Official price: $25.00Sale price: $17.5030% off
Modalities
Text, Image
Context
1M
Released
May 28, 2026

Overview

The previous Opus generation for complex reasoning and agentic work, superseded by Opus 5. It is billed from the same balance as every other model and tool here, and the price of each call comes back in the response.

Pricing

30% off

Prices in USD per million tokens, using your plan when signed in.

MeterPer 1M tokens
InputOfficial price: $5.00Sale price: $3.50
OutputOfficial price: $25.00Sale price: $17.50
Cache readOfficial price: $0.5Sale price: $0.35
Cache writeOfficial price: $6.25Sale price: $4.375

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-4-8",
  max_tokens: 256,
  messages: [{ role: "user", content: "Summarise this ticket." }],
});
console.log(message.usage.cost); // USD, in the response

Questions