API · Models
TextFeatured

Opus 4.7

Claude Opus 4.7 is Anthropic's most capable model, designed for complex reasoning and long-horizon agent workflows.

Context 1M·Max out 128K

Quickstart

import { streamText } from 'ai';
import { createOpenAICompatible } from '@ai-sdk/openai-compatible';

const blackbox = createOpenAICompatible({
  name: 'blackbox',
  apiKey: process.env.BLACKBOX_API_KEY!,
  baseURL: 'https://api.blackbox.ai/v1',
});

const result = streamText({
  model: blackbox('blackboxai/anthropic/claude-opus-4.7'),
  prompt: 'Why is the sky blue?',
});

for await (const chunk of result.textStream) {
  process.stdout.write(chunk);
}

Specs & pricing

Input $/M
$5
Output $/M
$25
Context window
1M
Max output
128K
Supported parameters
tool-usereasoningvision

Related models

ModelTypeContextInput $/M
Claude Opus 4.6Text1M$5
Sonnet 4.6Text1M$3
Sonnet 4.5Text1M$3
Blackbox ProText400K$1.75
GPT-5.3 CodexText400K$1.75