← All Models

Claude Opus 4.7

Anthropic Text

Anthropic's most capable model. Step-change improvement in agentic coding and long-running task reliability, with a 1M token context window.

Web Search Web Fetch Code Execution

Specifications

ProviderAnthropic
CategoryText
Context window1M tokens

Pricing (Starter tier)

650.00 credits / 1M input tokens
3,250.00 credits / 1M output tokens

Higher tiers get volume discounts. See tiers

Quick Start

curl -N https://query.genx.sh/v1/chat/completions \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"claude-opus-4-7","messages":[{"role":"user","content":"Refactor this function for clarity and add tests"}],"max_tokens":2048,"stream":true}'

Parameters

NameTypeRequiredDefaultDescription
prompt string required The input text prompt
system_prompt string optional System instructions for the model
max_tokens number optional 16384 Maximum tokens to generate (up to 128k)
image_url string optional URL of an image to analyze
tools array optional Builtin tools: web_search, web_fetch, code_execution

Availability

Claude Opus 4.7 is available in the GenX Pro App and via the GenX Router API.

Try Claude Opus 4.7 on GenX Router

Pay only for what you use. No credit card required.