anthropic logo

Anthropic: Claude Opus 4.8

Chat
anthropic/claude-opus-4.8
Created May 29, 2026|1M context|$5.00/M input tokens|$25.00/M output tokens
Intel TDX

Claude Opus 4.8 is Anthropic's most capable generally available model in the Opus family. It supports text, image, and file inputs with text output, includes reasoning support, and has a 1M-token context window.

Providers for Anthropic: Claude Opus 4.8

RedPill routes requests to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.

anthropic logo
anthropic
Total Context
1M
Input
$5.00/M
Output
$25.00/M

API

RedPill provides an OpenAI-compatible completion API to all models & providers that you can call directly, or using the OpenAI SDK. Additionally, some third-party SDKs are available.

fetch("https://api.redpill.ai/v1/chat/completions", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <YOUR-REDPILL-API-KEY>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "model": "anthropic/claude-opus-4.8",
    "messages": [
      {
        "role": "user",
        "content": "What is the meaning of life?"
      }
    ]
  })
})