Decentralised.si
Open appDocsWhitepaperSign out

Dashboard

Sign in

Create an account

Network credit
–
Settles Decentralised.si network inference. BYOK usage is billed by your provider.
Default routing mode
–
Overridable per request with X-Decentralise-Mode.
Shadow estimate
–

Settings › Providers. Keys are envelope-encrypted at rest, decrypted only for the outbound call, never logged or returned, and never sent to network nodes. After you submit a key, only its last four characters are ever shown.

Priority weights

Allowed providers

Before

Application | v Anthropic API

After

Application | v Decentralised.si | +---- Anthropic +---- OpenAI +---- Gemini +---- Decentralised Network
NO PROMPT REWRITENO RESPONSE REWRITENO SDK REWRITENO TOOL REWRITE
from anthropic import Anthropic

client = Anthropic(
    api_key="ds_live_...",                     # your Decentralised.si key
    base_url="https://api.decentralised.si/anthropic",              # ← the only change
)

message = client.messages.create(
    model="claude-sonnet-5",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Explain this code..."}],
)
import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({
  apiKey: process.env.DECENTRALISE_API_KEY,
  baseURL: "https://api.decentralised.si/anthropic",              // ← the only change
});
from openai import OpenAI

client = OpenAI(
    api_key="ds_live_...",
    base_url="https://api.decentralised.si/openai/v1",              # ← the only change
)
client.chat.completions.create(model="gpt-5-mini", messages=[...])
client.responses.create(model="gpt-5", input="...")
client.embeddings.create(model="text-embedding-3-small", input="...")
from google import genai

client = genai.Client(
    api_key="ds_live_...",
    http_options={"base_url": "https://api.decentralised.si/gemini"},  # ← the only change
)
client.models.generate_content(model="gemini-2.5-flash", contents="...")
# No code change at all for SDKs that read base URLs from the environment
ANTHROPIC_BASE_URL=https://api.decentralised.si/anthropic
ANTHROPIC_API_KEY=ds_live_...
OPENAI_BASE_URL=https://api.decentralised.si/openai/v1
OPENAI_API_KEY=ds_live_...
# Per-request control without touching the request body.
# Omit them and your account-level policy applies.
X-Decentralise-Mode: optimise          # passthrough|optimise|cheapest|fastest|quality|private|
                                       # decentralised_only|byok_only|network_only
X-Decentralise-Max-Cost: 0.01          # USD per request
X-Decentralise-Max-Latency-Ms: 2000
X-Decentralise-Min-Quality: 0.90
X-Decentralise-Privacy: strict
X-Decentralise-Verification: standard
X-Decentralise-Shadow: estimate        # off|estimate|benchmark

# Every response carries provenance headers:
x-decentralise-requested-model / -actual-model / -actual-provider / -market / -receipt