Antimatter

Developers

Docs

One API for the models in the catalog. Connect an OpenAI or Anthropic client, choose a model, and send your first request.

API overview and policies

Antimatter uses the OpenAI chat format and also accepts the Anthropic Messages and OpenAI Responses formats. Base URL https://useantimatter.com, an am_live_ key, any model in the catalog. The full surface is the OpenAPI document. Prices are on pricing; what Antimatter is, and what it is not, is in the whitepaper. What is kept is in the privacy policy.

QuickstartPOST/v1/chat/completions

  1. Create a key

    Sign in on the dashboard and make an API key.

  2. Set the connection

    Use https://useantimatter.com/v1 with your key, stored as ANTIMATTER_API_KEY. Every sample here reads it from there.

  3. Send a request

    Choose a model from pricing and run an example below.

Switching from OpenRouter takes two lines: the base URL and the key. Model ids are the same vendor/model ids. What stays the same and what differs is on switching from OpenRouter.

base_url = "https://useantimatter.com/v1"   # was https://openrouter.ai/api/v1
api_key  = os.environ["ANTIMATTER_API_KEY"]   # was sk-or-...

Sign in on the dashboard and make a key. It takes one signature and no deposit. Then call it with curl or any OpenAI client:

curl https://useantimatter.com/v1/chat/completions \
  -H "Authorization: Bearer $ANTIMATTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "inclusionai/ling-3.0-tiny",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Model ids are vendor/model, from GET /v1/models. The ids in these examples come from this site's catalog.

Try it

Try the same catalog from this page. You do not need a key.

anonymous path: rate limited, 1024 token cap

Playground

Try each paid endpoint, one request at a time, with your own key: chat, embeddings, images, speech, transcription, video, sound, 3D, files and batches, vector search and memory. You can edit each request before you send it. The cost is shown first, as the gateway's own quote where it has one and otherwise as the most the hold could take. The answer shows its status, its request id and what it was billed, from x-antimatter-cost-micros. Your key stays in this page's memory and nowhere else.

The playground opens as you reach it.