Inference gateway · Cloudflare edge

One endpoint.
Every model.
Two APIs. One key.

Abstracta speaks the two dialects your code already knows — OpenAI chat completions and Anthropic Messages — and routes both through a pool of upstream keys with automatic failover. Change the base URL, keep the SDK.

2API formats
3pooled upstream keys
SSEstreaming on both
0prompts stored
request path live
Your SDKopenai · anthropic
Abstracta edgetranslate · rotate · stream
Key poolfailover on 401 / 429 / 5xx
key 01key 02key 03…

How it works

Three steps to a working client

Nothing to install. Pick up your access key, point the SDK at the gateway, and send the same request you always send.

Get a key

Abstracta issues access keys that authenticate every call to the gateway.

abstracta_YourAccessKey

Swap the base URL

Keep your SDK, your model names and your request body. Only the host changes.

https://abstracta-ai.pages.dev/v1

Send it

Streaming, tools, system prompts and images all work on both API formats.

client.chat.completions.create(...)

Two dialects

Whichever client you already have

The gateway speaks both protocols natively, so Anthropic-style tool definitions and OpenAI-style streaming both work without a shim in your app.

OpenAI format

Bodies pass through untouched, including SSE chunks, usage totals and reasoning traces. Tool calls keep their function shape.

{ "model": "…", "messages": [], "stream": true }

Anthropic format

System blocks, tool_use and tool_result, images, stop reasons and the full event sequence — translated at the edge in both directions.

{ "model": "…", "max_tokens": 512, "system": "…" }

Playground

Call the gateway yourself

Streams live from the edge through your access key. Nothing typed here is stored server-side.

live event log
Raw response body
(empty)

Catalog

Models available right now

Fetched live from GET /v1/models on this deployment. Every entry works with both API formats.

Model IDDisplay nameProvider
Add your access key to load the catalog.

Reference

Endpoints

Four routes. Authentication is Authorization: Bearer <key> (or x-api-key).

POST/v1/chat/completionsOpenAI Chat Completions, streaming
POST/v1/messagesAnthropic Messages, streaming
GET/v1/modelsLive model catalog
GET/api/healthHealth probe, no auth

Quick start

Copy a working request

The snippet follows the format selected in the playground, and swaps the base URL and key for this deployment.


        

Access

Keys

Use a key to call the API. Operators can mint new keys and revoke the ones that leak.

Access key

Paste your Abstracta access key to call the API. It is stored in this browser only.

Operator admin secret
Enter the operator secret to create and revoke access keys.

The admin secret is only used for key management and never grants access to the upstream model pool.

The gateway rejects unauthenticated requests, so the upstream key pool can never be used as an open proxy. Upstream credentials live as encrypted Worker secrets and are never exposed to clients.