Claude Opus 5
Send a message to test this OpenAI-compatible chat completions model.
Explore different use cases and parameter configurations
Transparent pricing with no hidden fees. Pay as you go.
| Rule & Modality | Channel | Credits | Price (USD) | Official / Reference Price | Daily Savings |
|---|---|---|---|---|---|
Claude Code PAYG Claude Opus 5 textAnthropicToken | Regular | Input550.06 Output2,750.28 Cache read55.01 Cache write 5m687.57 Cache write 1h1,100.11 credits / 1M tokens | Input: $2.500 Output: $12.501 Cache read: $0.250 Cache write 5m: $3.125 Cache write 1h: $5.0005 per 1M tokens | - | - |
Complete guide to using claude-opus-5
Build with Claude Opus 5 on ApiPass for complex reasoning, end-to-end coding, code review, research, and enterprise knowledge work. Send OpenAI-compatible chat requests and receive a single completion or a streamed response.

Claude Opus 5 is a model presented for demanding reasoning, agentic coding, and professional analysis. The supplied content emphasizes planning, implementation, verification, and refinement across longer assignments, including software engineering, bug investigation, research, and office deliverables. On ApiPass, the documented integration is a text-focused OpenAI-compatible chat completions route: send a non-empty messages array to POST /v1/chat/completions with model claude-opus-5. The source discusses vision, files, and long context, but their request formats and limits are not established by this ApiPass endpoint reference.
Use chat messages to request feature plans, refactoring guidance, test strategies, precise code review, and root-cause analysis. Supply the relevant code and acceptance criteria in text; the model cannot inspect or modify a repository unless your application provides the necessary context and tools.
Ask the model to compare supplied evidence, identify inconsistencies, and draft structured recommendations or reports. Include source material in messages and verify consequential conclusions.
Set stream to true for OpenAI-compatible chat.completion.chunk Server-Sent Events ending with data: [DONE]. The route also accepts OpenAI-compatible tools and optional reasoning_effort values of low or high; upstream tool support depends on the provider.
The supplied content highlights the model's ability to break down complex assignments, examine intermediate results, and refine an approach. For multi-step applications, provide clear task boundaries and use your own workflow to supply results from each step.
Apply Claude Opus 5 to multi-file implementation plans, code review, edge-case discovery, and investigation of underlying defects. Include the relevant files or excerpts and request explicit verification steps.
The ApiPass chat route accepts reasoning_effort values of low and high when supplied. Test the setting against your own workload to balance response quality, latency, and token consumption.
The source describes work involving extensive documents, charts, and business deliverables. For this documented ApiPass chat route, plain-text message content is the most predictable input; confirm any multimodal support and limits before building a file-based workflow.
Turn specifications and supplied code into implementation plans, tests, review comments, and verification checklists for longer software tasks.
Analyze logs, code excerpts, and observed behavior to develop root-cause hypotheses and identify related edge cases.
Compare provided reports or findings, surface conflicting evidence, and draft concise recommendations with stated uncertainties.
Send OpenAI-compatible tool definitions when your provider supports them, and implement tool execution, result handling, and validation in your application.
The supplied content compares Claude Opus 5 with earlier Claude models and other systems. Benchmark figures describe the source's evaluations, not a guarantee for individual applications.
The source emphasizes stronger follow-through, coding, bug investigation, and novel problem-solving. Its table reports 43.3% for Claude Opus 5 versus 21.1% for Claude Opus 4.8 on Frontier-Bench v0.1; evaluate both on representative tasks before choosing.
The source positions Claude Opus 5 as bringing near-Fable-level capability to frequent production work. Its comparison also shows Claude Fable 5 ahead on selected evaluations, so model choice should reflect your task, latency needs, and measured cost.
The supplied page displays 400 credits per million input tokens and 2,000 credits per million output tokens for its own service. Those figures do not establish ApiPass pricing. Check the current ApiPass dashboard before estimating costs.
Non-streaming responses include usage.prompt_tokens, usage.completion_tokens, and usage.total_tokens when reported by the provider. Track these fields and test representative prompts to understand consumption.
Set a positive max_tokens value when you need an output limit. If you omit it, the upstream provider determines response length; temperature is likewise sent upstream only when supplied.
Create an ApiPass API key and keep it on a secure backend. Do not expose the credential in frontend code or public repositories.
Create a non-empty messages array with a role and content for each message. Give the model clear instructions, relevant text context, expected output, and acceptance criteria. Use model claude-opus-5.
POST the JSON request to https://api.apipass.dev/v1/chat/completions with Authorization: Bearer YOUR_API_KEY. For a non-streaming request, read choices[0].message.content and the usage fields. For streaming, process chat.completion.chunk events until data: [DONE]. Add response validation, error handling, and usage monitoring before production.
All APIs require authentication via Bearer Token.
Authorization: Bearer
Generate text with claude-opus-5 through the ApiPass OpenAI-compatible chat completions endpoint.
Send an OpenAI-compatible JSON request body. ApiPass routes claude-opus-5 to the APIPASS adapter, which forwards the chat payload to APIPASS's LLM endpoint.
1{
2 "model": "claude-opus-5",
3 "messages": [
4 {
5 "role": "user",
6 "content": "Hello!"
7 }
8 ],
9 "stream": false,
10 "temperature": 0.7,
11 "max_tokens": 512,
12 "channel": "auto"
13}modelRequiredstringThe public ApiPass model name. The APIPASS adapter also accepts the gpt-5.5 alias and maps it upstream to claude-opus-5.
"claude-opus-5"
messagesRequiredarray<object>OpenAI-style chat messages array. The adapter requires a non-empty list, and each message object must include role and content.
[{"role":"user","content":"Write a short product announcement for APIPASS Claude Opus 5 support in ApiPass."}]streamOptionalbooleanSet to true to receive Server-Sent Events. When false or omitted, ApiPass returns a single OpenAI-compatible chat.completion response.
false
temperatureOptionalnumberOptional sampling temperature from 0 to 2. If omitted, the adapter does not include temperature in the upstream request.
Allowed range: 0 to 2
0.7
max_tokensOptionalintegerOptional maximum number of completion tokens. If omitted, the upstream provider decides the response length.
Must be greater than 0 when provided
512
top_pOptionalnumberOptional nucleus sampling value accepted by the ApiPass chat endpoint and forwarded to APIPASS when supplied.
Allowed range: 0 to 1
0.9
frequency_penaltyOptionalnumberOptional OpenAI-compatible frequency penalty accepted by ApiPass and forwarded when supplied.
Allowed range: -2 to 2
0
presence_penaltyOptionalnumberOptional OpenAI-compatible presence penalty accepted by ApiPass and forwarded when supplied.
Allowed range: -2 to 2
0
response_formatOptionalobjectOptional response format object accepted by the ApiPass chat endpoint and forwarded to the provider if present.
{"type":"json_object"}toolsOptionalarray<object>Optional OpenAI-compatible tools array. ApiPass accepts tool definitions and forwards them to APIPASS when supplied; support depends on the upstream model.
[{"type":"function","function":{"name":"lookup_order","description":"Look up an order by ID","parameters":{"type":"object","properties":{"order_id":{"type":"string"}},"required":["order_id"]}}}]include_thoughtsOptionalbooleanOptional provider-specific flag accepted by ApiPass and forwarded when true.
false
reasoning_effortOptionalstringOptional reasoning effort value accepted by the ApiPass chat endpoint and forwarded to the provider when supplied.
Available options:
"low"
_provider_config_idOptionalstringOptional ApiPass routing override. Supply a provider_model_configs.id to force this request to a specific configured APIPASS provider.
"provider-config-id"
channelOptionalstringYou may specify the corresponding provider within APIPASS via the channel parameter; these providers handle the actual image and video generation tasks. APIPASS currently offers three provider options:
The default value for the channel parameter is auto. When enabled, APIPASS automatically allocates tasks across available providers based on real-time pricing and stability metrics to balance minimal cost and reliable performance. Retain the default auto value unless you have custom routing requirements.
Available options:
auto
Each item in the messages array follows the OpenAI chat message shape validated by ApiPass before the APIPASS adapter is called.
messages[].roleRequiredstringMessage role. ApiPass accepts developer, system, user, and assistant roles in the chat request model.
Available options:
"user"
messages[].contentRequiredstringMessage content. For Claude Opus 5 text generation, use plain text content for the most predictable provider behavior.
"Summarize the following text in three concise bullets."
1curl -X POST "https://api.apipass.dev/v1/chat/completions" \
2 -H "Content-Type: application/json" \
3 -H "Authorization: Bearer YOUR_API_KEY" \
4 -d '{
5 "model": "claude-opus-5",
6 "messages": [
7 {
8 "role": "system",
9 "content": "You are a precise and concise assistant."
10 },
11 {
12 "role": "user",
13 "content": "Write a short product announcement for APIPASS Claude Opus 5 support in ApiPass."
14 }
15 ],
16 "temperature": 0.7,
17 "max_tokens": 512,
18 "stream": false
19 }'1{
2 "id": "chatcmpl_gpt_5_5_demo",
3 "object": "chat.completion",
4 "created": 1765968190,
5 "model": "claude-opus-5",
6 "choices": [
7 {
8 "index": 0,
9 "message": {
10 "role": "assistant",
11 "content": "ApiPass now supports APIPASS Claude Opus 5 through the standard OpenAI-compatible chat completions endpoint."
12 },
13 "finish_reason": "stop"
14 }
15 ],
16 "usage": {
17 "prompt_tokens": 35,
18 "completion_tokens": 19,
19 "total_tokens": 54
20 }
21}idApiPass chat completion response ID.
objectResponse object type. Non-streaming calls return chat.completion.
modelThe public model name used for the request.
choices[0].message.contentAssistant reply text extracted from the APIPASS OpenAI-compatible response.
choices[0].finish_reasonCompletion finish reason. ApiPass returns stop for successful non-streaming Claude Opus 5 completions.
usage.prompt_tokensPrompt token count reported by the upstream provider.
usage.completion_tokensCompletion token count reported by the upstream provider.
usage.total_tokensTotal token count used for ApiPass usage accounting.

xAI
xAI
Starting from
0 credits
OpenAI
OpenAI
GPT-5.6 models shared by Codex-compatible clients and direct API callers.
Starting from
0 credits
Anthropic
Anthropic
Upgrade to Fable 5.1 for sharper, more natural responses with improved context awareness and refined writing quality.
Starting from
0 credits
OpenAI
OpenAI
GPT‑6 Astra brings together years of research and big bets across pre-training, reinforcement learning, and alignment
Starting from
0 credits
Anthropic
Anthropic
Harness Fable 5 to turn raw ideas into vivid, natural-sounding text across any creative or conversational task.
Starting from
0 credits
Anthropic
Anthropic
Deploy Opus 4.8's advanced cognitive architecture to tackle your most complex reasoning and multi-step problem-solving challenges.
Starting from
0 credits
Anthropic
Anthropic
Choose Sonnet 5 for stronger reasoning, nuanced conversation, and reliable, safety-optimized performance across everyday tasks.
Starting from
0 credits
Anthropic
Anthropic
Starting from
0 credits
OpenAI
OpenAI
Starting from
0 credits
Gemini 3 Flash Preview - Fast Response Preview
Starting from
0 credits
OpenAI
OpenAI
Orchestrate autonomous AI agents with GPT-5.5 API.
Starting from
0 credits
Gemini 3 Pro Preview - Try out the latest features
Starting from
0 credits
Anthropic
Anthropic
Choose Haiku 5.5 for fast, cost-efficient responses and everyday tasks, with Claude Messages API support.
Starting from
0 credits