Wide LabsCompute

Claude Fable 5

anthropic/claude-fable-5 AnthropicTextAnthropic-compatibleStreaming
Input$10.00per 1M tokens
Output$50.00per 1M tokens
Cached input$1.00per 1M tokens
EndpointPOST /v2/anthropic/v1/messagesAnthropic-compatible

Quick start

Use the Anthropic SDK with these two settings.
Base URL
https://api.widelabs.tr/v2/anthropic
Model
anthropic/claude-fable-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-fable-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-fable-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-fable-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

NameTypeDescription
model requiredstringModel 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 requiredobject[]Array of conversation messages with role and content
max_tokens requiredintegerMaximum number of tokens to generate (required). At most the model's output limit; a larger value is refused with 422 naming the limit.
systemstring | object[]System prompt (string or content blocks)
temperaturenumberSampling 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_pnumberNucleus sampling parameter. Not supported on the newest models (the `anthropic/<model>` generation from 4.8 on); such requests are rejected with 422.
top_kintegerTop-K sampling parameter. Not supported on the newest models (the `anthropic/<model>` generation from 4.8 on); such requests are rejected with 422.
stop_sequencesstring[]Stop sequences
streamboolean
default false
Enable streaming response (SSE format, direct mode only)
toolsobject[]Available tools for function calling
tool_choiceobjectTool choice strategy
thinkingobjectExtended 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…
metadataobjectOptional request metadata (e.g. {"user_id": "abc123"}).
service_tier"auto" | "standard_only" | "priority"Service tier hint forwarded to the upstream provider.
output_configobjectOptional 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_controlobjectAutomatic 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_urlstringHTTPS 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.

Start building on Wide Labs Compute

Create an account, add credit and send your first request with the SDK you already use.