Claude Opus 5
claude-opus-5Claude Opus 5 by Anthropic: 1M context, 128K max output, with Vision, Function Calling, Reasoning, Prompt Caching, Response Schema, Streaming, Web Search. Via SoleAPI, Input (prompt) costs 2.5 Credits / M tokens, 92% below list price. 7-day uptime 98.9%. Compatible with Anthropic Messages / OpenAI Responses: swap the base URL and you are connected.
Capabilities
Listed exactly as the catalog flags them, including what this model does not support.
Vision
Natively multimodal: captioning, classification, visual Q&A, chart and screenshot understanding. Images are converted to tokens at the input rate.
Function Calling
Connect the model to external tools and APIs: it decides when to call which function and with what arguments, your code runs it. Force or forbid calls with tool_choice.
Reasoning
The model thinks before answering, which markedly improves multi-step planning and reasoning for coding, math and data analysis. Thinking tokens bill at the output rate.
Prompt Caching
Repeated prefixes (system prompts, long documents) hit the cache: reads cost far less than input, writes are priced by retention time.
Response Schema
Constrain output to a JSON Schema you provide for predictable, type-safe results without parsing free text.
Streaming
Tokens arrive over SSE as they are generated; the first frame is forwarded immediately with no buffering. Claude Code, Codex and similar tools depend on this.
Web Search
Vendor-hosted live web retrieval; the model decides when to search and cites sources.
AudioNot supported
Audio input or speech output.
VideoNot supported
Video input understanding or video generation.
File InputNot supported
Upload PDFs and other documents directly; the model reads the whole document with native vision.
RealtimeNot supported
Bidirectional low-latency voice / text sessions over WebSocket.
SessionNot supported
Server-side multi-turn context (e.g. previous_response_id in Responses) so you need not resend history.
MediaNot supported
Image / video / music generation endpoints.
Multipart FormNot supported
multipart/form-data file-upload requests.
Binary ResponseNot supported
Endpoints that return raw audio / image bytes.
Reliability & performance
SoleAPI probes this model through the real supply chain on a schedule — measured, not self-reported.
Latency & throughput
Protocols & code samples
Change the base URL to SoleAPI, keep everything else. Native protocols pass straight through; “adapted” ones are translated by the gateway.
Anthropic SDK or any Messages-protocol client: point base_url at https://api.soleapi.com and use a SoleAPI key.
curl https://api.soleapi.com/v1/messages \
-H "x-api-key: $SOLEAPI_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "content-type: application/json" \
-d '{
"model": "claude-opus-5",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Explain prompt caching in one sentence"}]
}'| Endpoint | Path | Mode |
|---|---|---|
| Token count | POST /v1/messages/count_tokens | native |
Full price list
List price → SoleAPI price per channel, every pricing dimension, nothing hidden.
| Item | Unit | Anthropic list price | Kiro-Claude Group ×0.592% off | Official Claude ×1.380% off |
|---|---|---|---|---|
| Input (prompt) | per 1M tokens | 2.5 Credits | 6.5 Credits | |
| Output (completion) | per 1M tokens | 12.5 Credits | 32.5 Credits | |
| Cache read | per 1M tokens | 0.25 Credits | 0.65 Credits | |
| Cache write · 5 min | per 1M tokens | 3.13 Credits | 8.13 Credits | |
| Cache write · 1 hour | per 1M tokens | 5 Credits | 13 Credits | |
| Web search (general) | per 1K calls | 5 Credits | 13 Credits |
“Off” is computed at 1 Credit = ¥1 and today’s rate: 1 − channel multiplier × (1 Credit in the list currency). Fast tier ×2: every pricing dimension is multiplied by this factor when request body field speed matches ^fast$; stacks with any channel.
FAQ
How much does the Claude Opus 5 API cost?
Via SoleAPI, Input (prompt) costs 2.5 Credits / M tokens, with 1 Credit = ¥1. That is 92% below the Anthropic list price.
What are the context window and output limit of Claude Opus 5?
Context window 1M tokens, up to 128K tokens per response.
Does Claude Opus 5 support function calling and structured outputs?
Function calling with tool_choice control is supported; structured outputs (JSON Schema) are supported.
How do I use Claude Opus 5 in Claude Code?
Set ANTHROPIC_BASE_URL=https://api.soleapi.com, ANTHROPIC_API_KEY to your SoleAPI key and ANTHROPIC_MODEL=claude-opus-5, then run claude. No config files to edit.
How is the 98.9% uptime measured?
SoleAPI sends probe requests to this model through the real supply chain on a schedule and divides successful probes by total probes over the last 7 days. When one channel fails the gateway fails over to a backup, so the figure reflects what end users actually see.
One API key for Claude Opus 5 and 30+ models
Free credits on sign-up, pay as you go, no monthly fee.