The gateway Checking

Bring a key. Get tokens.

An OpenAI-compatible gateway in front of the ring. Point any client at the base URL, send a bearer key, and chat completions, streaming and tool calls behave the way they do against OpenAI. Search rides along, gated by the same key.

Base URL
https://api.snail3d.com/v1
Auth
Bearer key
Model
snail-top
Quick start

A base URL and a key.

Three requests, all real. Replace the key placeholder with yours and they run as written.

curl · chat completions
# stream a completion
curl https://api.snail3d.com/v1/chat/completions \
  -H "Authorization: Bearer snail-YOUR-KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "snail-top",
    "messages": [{"role": "user", "content": "explain the ring in one paragraph"}],
    "stream": true
  }'
python · openai sdk
from openai import OpenAI

client = OpenAI(
    base_url="https://api.snail3d.com/v1",
    api_key="snail-YOUR-KEY",
)

stream = client.chat.completions.create(
    model="snail-top",
    messages=[{"role": "user", "content": "what runs on the ring?"}],
    stream=True,
)

for chunk in stream:
    print(chunk.choices[0].delta.content or "", end="")
curl · key-gated search
# SearXNG, behind the same key
curl "https://api.snail3d.com/v1/search?q=helix+snail" \
  -H "Authorization: Bearer snail-YOUR-KEY"
What it speaks

Standard shape, nothing new.

No SDK of ours to install. If a client takes a base URL, it works.

01 / Compat

OpenAI-compatible

Chat completions, models and the usual request body. The official SDKs, OpenWebUI, Hermes and your own scripts all take it.

02 / Stream

Streaming

Server-sent events. Set "stream": true and read deltas, with usage in the final chunk.

03 / Tools

Tool calls

Function calling passes through untouched, so agents and loops work the same way they do upstream.

04 / Search

Key-gated search

A SearXNG instance behind the same key. Web results without the tracking, at /v1/search?q=….

Keys and limits

Limits sit on the key.

No metered billing. A key carries the rules, and the gate enforces them before the ring sees the request.

FieldWhat it does
max_concurrencyHow many requests may run at once. Past it the gate answers 429. Blank means no cap.
modelsAllow-list of model names. Blank means every alias. A name outside the list answers 403.
max_prompt_tokensCeiling on a single prompt, rejected at the gate. Blank falls back to the global cap.
active_hoursA window such as 08:00-22:00 during which the key works. Blank means always.
expiresDays from issue. After that the key is dead, not throttled.
no_thinkingForces reasoning off for every request on the key.
Two probes, one of them free. GET /health needs no key and returns 200 with the backend and search state — that is what the dot at the top of this page reads. GET /v1/models requires a key and answers 401 without one, so it is a poor liveness check.
Access

Need a key?

Keys are hand-issued from the workshop. Say what you are building and how hard you will lean on it. Existing keys are managed in the console.