Claude Opus 4.8

New
Popular
Anthropic
Text & Chat

Anthropic's most capable Opus-tier model. State of the art on long-horizon agentic work, coding and knowledge tasks, with a 1M-token context window at standard pricing.

Try Claude Opus 4.8 now
Send a single prompt and stream a response inline. Hit Cmd+Enter to submit.
Sign in to try this model with €5 free credits.
Sign in
Press Cmd+Enter to send
Response appears here.
TL;DR·Last updated June 24, 2026

Claude Opus 4.8 is text & chat AI model from Anthropic, priced at €5.00 per 1M input tokens with a 1M tokens context window.

About this model

Claude Opus 4.8 is Anthropic's flagship as of mid-2026. It is highly autonomous on multi-step agentic tasks, strong at coding and code review, and supports adaptive thinking (sampling parameters and fixed thinking budgets were removed from this generation). 1M-token context window, up to 128K output tokens via streaming. Use it when correctness on hard, long tasks matters more than cost.
Try Claude Opus 4.8

0.7

Sign in to generate — 50 free credits on sign-up

Pricing

Price per Generation
Per generationFree

API Integration

Use our OpenAI-compatible API to integrate Claude Opus 4.8 into your application.

Install
npm install railwail
JavaScript / TypeScript
import railwail from "railwail";

const rw = railwail("YOUR_API_KEY");

// Simple — just pass a string
const reply = await rw.run("claude-opus-4-8", "Hello! What can you do?");
console.log(reply);

// With message history
const reply2 = await rw.run("claude-opus-4-8", [
  { role: "system", content: "You are a helpful assistant." },
  { role: "user", content: "Explain quantum computing simply." },
]);
console.log(reply2);

// Full response with usage info
const res = await rw.chat("claude-opus-4-8", [
  { role: "user", content: "Hello!" },
], { temperature: 0.7, max_tokens: 500 });
console.log(res.choices[0].message.content);
console.log(res.usage);
Specifications
Context window
1,000,000 tokens
Max output
128,000 tokens
Developer
Anthropic
Category
Text & Chat
Supported Formats
text
image
Tags
anthropic
claude
opus
flagship
agentic
coding
long-context
1m-context

Frequently asked questions

Start using Claude Opus 4.8 today

Get started with free credits. No credit card required. Access Claude Opus 4.8 and 100+ other models through a single API.