MarketsModelsChatAPIDocs+ Create

API keys

Spend the compute pool from your own code. The endpoint is OpenAI shaped, so an existing client works by changing the base URL and the key. Any wallet that has launched a token can create one.

Pool available

$10.00

Callable models

2

Connect to manage keys

Use the wallet you launched with. Keys belong to that address.

Quickstart

curl

curl https://usesynapse.ink/api/v1/chat/completions \
  -H "Authorization: Bearer syn_sk_..." \
  -H "Content-Type: application/json" \
  -d '{"model":"anthropic/claude-fable-5.1","messages":[{"role":"user","content":"Hello"}]}'

Node

import OpenAI from "openai";
const client = new OpenAI({ apiKey: process.env.SYNAPSE_API_KEY, baseURL: "https://usesynapse.ink/api/v1" });
const res = await client.chat.completions.create({
  model: "anthropic/claude-fable-5.1",
  messages: [{ role: "user", content: "Hello" }],
});

Python

from openai import OpenAI
client = OpenAI(api_key=os.environ["SYNAPSE_API_KEY"], base_url="https://usesynapse.ink/api/v1")
res = client.chat.completions.create(
    model="anthropic/claude-fable-5.1",
    messages=[{"role": "user", "content": "Hello"}],
)

Response headers

x-compute-charged-micro-usd
cost of this call
x-compute-remaining-micro-usd
pool left

Max 4,096 tokens per request. Streaming is not supported. There is no per-key quota; the shared pool is the limit.