Claude Opus 5.5
Newanthropic/claude-opus-5-5
AnthropicTextAnthropic-compatibleStreaming
Input$4.00per 1M tokens
Output$20.00per 1M tokens
Cached input$0.20per 1M tokens
EndpointPOST /v2/anthropic/v1/messages Anthropic-compatible
Quick start
Use the Anthropic SDK with these two settings.
- Base URL
https://api.widelabs.tr/v2/anthropic- Model
anthropic/claude-opus-5-5
curl -X POST https://api.widelabs.tr/v2/anthropic/v1/messages \ -H "Authorization: Bearer $WIDELABS_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "anthropic/claude-opus-5-5", "messages": [ { "role": "user", "content": "Explain to a 5 year old why the sky is blue" } ], "max_tokens": 1024 }'
import os
import anthropic
client = anthropic.Anthropic(
base_url="https://api.widelabs.tr/v2/anthropic",
api_key=os.environ["WIDELABS_API_KEY"],
)
msg = client.messages.create(
model="anthropic/claude-opus-5-5",
messages=[{
"role": "user",
"content": "Explain to a 5 year old why the sky is blue"
}],
max_tokens=1024,
)
print(msg.content[0].text)
import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic({ baseURL: "https://api.widelabs.tr/v2/anthropic", apiKey: process.env.WIDELABS_API_KEY, }); const msg = await client.messages.create({ model: "anthropic/claude-opus-5-5", messages: [ { role: "user", content: "Explain to a 5 year old why the sky is blue" } ], max_tokens: 1024 }); console.log(msg.content[0].text);
Parameters
| Name | Type | Description |
|---|---|---|
model required | string | Model name, case-sensitive, in the form `anthropic/<model>`. The models your account can call are the `anthropic` source in `GET /v2/models` (send your key to see them). |
messages required | object[] | Array of conversation messages with role and content |
max_tokens required | integer | Maximum number of tokens to generate (required). At most the model's output limit; a larger value is refused with 422 naming the limit. |
system | string | object[] | System prompt (string or content blocks) |
temperature | number | Sampling temperature (0.0-1.0). Not supported on the newest models (the `anthropic/<model>` generation from 4.8 on); such requests are rejected with 422. |
top_p | number | Nucleus sampling parameter. Not supported on the newest models (the `anthropic/<model>` generation from 4.8 on); such requests are rejected with 422. |
top_k | integer | Top-K sampling parameter. Not supported on the newest models (the `anthropic/<model>` generation from 4.8 on); such requests are rejected with 422. |
stop_sequences | string[] | Stop sequences |
stream | boolean default false | Enable streaming response (SSE format, direct mode only) |
tools | object[] | Available tools for function calling |
tool_choice | object | Tool choice strategy |
thinking | object | Extended thinking config, passed to the model unchanged. Accepted forms depend on the model: newer models take `{"type": "adaptive"}` or `{"type": "disabled"}`, some always think and accept only `{"type": "adaptive"}`, one takes `{"type": "between_tools"}` (no thinking before the reply). On these the thinking block arrives empty… |
metadata | object | Optional request metadata (e.g. {"user_id": "abc123"}). |
service_tier | "auto" | "standard_only" | "priority" | Service tier hint forwarded to the upstream provider. |
output_config | object | Optional structured-output config passed through to the upstream provider unchanged. Support varies by model: the API does not validate this field or emulate it where a model ignores it, so a model that does not implement structured output simply answers as if it were absent. Where it is supported, `{"format": {"type": "json_schema",… |
cache_control | object | Automatic prompt caching: `{"type": "ephemeral"}` with optional `"ttl": "5m"` (default) or `"1h"`. Wide Labs places the breakpoint on the last cacheable block, as Anthropic does. Block-level `cache_control` markers are accepted on `system`, `messages` content and `tools` entries. Only on models whose pricing lists cache-write rates;… |
webhook_url | string | HTTPS URL to receive a signed completion webhook when the async task reaches a terminal state (requires an API key, "async": true and direct mode; otherwise 422). See the Webhooks section for the delivery payload and events, and GET /v2/customer/webhook-secret for the signing secret + verification. |
Related
Similar models
AnthropicNew
Claude Sonnet 5.5
anthropic/claude-sonnet-5-5
Anthropic APIPrompt caching
Input$2.00
Output$10.00
per 1M tokens
AnthropicNew
Claude Haiku 5.5
anthropic/claude-haiku-5-5
Anthropic APIPrompt caching
Input$0.10
Output$0.50
per 1M tokens
AnthropicNew
Claude Fable 5.2
anthropic/claude-fable-5-2
Anthropic APIPrompt caching
Input$8.00
Output$40.00
per 1M tokens
Anthropic
Claude Sonnet 5
anthropic/claude-sonnet-5
Anthropic APIPrompt caching
Input$2.00
Output$10.00
per 1M tokens
Start building on Wide Labs Compute
Create an account, add credit and send your first request with the SDK you already use.