Kataleptic
§ API · v1 Updated 2026-10-31

The Inference API

Kataleptic serves frontier open-source and proprietary models from a single OpenAI-compatible endpoint. Drop-in for any OpenAI or OpenRouter client — change the base URL, keep your code.

Base URLhttps://api.kataleptic.com/v1
AuthBearer dg_...
FormatOpenAI-compatible JSON / SSE

Quickstart

Three minutes from zero to your first token.

  1. Get a key. Get an API key — sign-up is free, and after confirming your email the key starts with a $0 balance. Top up prepaid credit from your account page (from $10) to start making requests.
  2. Pick a model. Browse the models catalogue. Start with meta/llama-3.3-70b ($0.30 / $0.40 per MTok) for day-to-day work. Model IDs are OpenRouter-style provider/model (openai/gpt-5.5); the bare name (llama-3.3-70b) works too.
  3. Fire a request. Your existing OpenAI SDK works. Just change the base URL.
curl https://api.kataleptic.com/v1/chat/completions \
  -H "Authorization: Bearer $DUGUET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "meta/llama-3.3-70b",
    "messages": [
      { "role": "user", "content": "Hello from Kataleptic." }
    ]
  }'

Authentication

All requests carry an API key in the Authorization header, Bearer scheme. Keys start with dg_ and are shown only once at signup — save them securely.

Authorization: Bearer dg_177984c7a0e3ef28tHi0zHgQXdjYLHdLqm87M3kPmQ6OLSYf

Inspect a key's state (usage, remaining credit, call count) at GET /v1/auth/key. The example below shows an account after a $10 top-up and $0.0014 of usage, not a new zero-balance account.

$ curl https://api.kataleptic.com/v1/auth/key \
    -H "Authorization: Bearer $DUGUET_API_KEY"

{
  "data": {
    "label": "[email protected]",
    "usage": 0.0014,
    "limit": 9.9986,
    "is_free_tier": false,
    "rate_limit": { "requests": 500, "interval": "60s" },
    "tokens_used": { "prompt": 2431, "completion": 802 },
    "calls": 17
  }
}

Chat completions

POST /v1/chat/completions — OpenAI-compatible. All standard parameters are accepted: messages, temperature, top_p, max_tokens, stream, stop, seed, frequency_penalty, presence_penalty.

The response includes OpenRouter-compatible extensions:

  • provider — the model's real upstream provider (e.g. "openai", "meta", "mistralai")
  • native_finish_reason — upstream raw reason, preserved alongside the normalised finish_reason
  • usage.cost — dollar cost of this call, computed from the per-model price

Request example — with tool use

{
  "model": "meta/llama-3.3-70b",
  "messages": [
    { "role": "system", "content": "You are a research assistant." },
    { "role": "user",   "content": "Summarise the paper at arxiv.org/abs/2401.XXX" }
  ],
  "temperature": 0.3,
  "max_tokens": 1024,
  "tools": [{
    "type": "function",
    "function": {
      "name": "fetch_url",
      "description": "Fetch the text of a URL",
      "parameters": {
        "type": "object",
        "properties": { "url": { "type": "string" } },
        "required": ["url"]
      }
    }
  }]
}

Response

{
  "id": "chatcmpl-9ecf…",
  "object": "chat.completion",
  "created": 1776293537,
  "model": "meta/llama-3.3-70b",
  "provider": "meta",
  "choices": [{
    "index": 0,
    "message": {
      "role": "assistant",
      "content": "…"
    },
    "finish_reason": "stop",
    "native_finish_reason": "stop"
  }],
  "usage": {
    "prompt_tokens": 142,
    "completion_tokens": 387,
    "total_tokens": 529,
    "cost": 0.000197,
    "is_byok": false
  }
}

Streaming

Pass "stream": true to receive a Server-Sent-Events stream of chat.completion.chunk objects. The stream ends with data: [DONE]. All chunks carry provider and the prefixed model name.

from openai import OpenAI

client = OpenAI(
    base_url="https://api.kataleptic.com/v1",
    api_key=os.environ["DUGUET_API_KEY"],
)

stream = client.chat.completions.create(
    model="mistralai/mistral-large-3",
    messages=[{"role": "user", "content": "Write a haiku about inference."}],
    stream=True,
)
for chunk in stream:
    delta = chunk.choices[0].delta.content or ""
    print(delta, end="", flush=True)

Transcription

POST /v1/audio/transcriptions — OpenAI-compatible multipart upload. Send the audio file and a model id; you get the transcript back. Billed per minute of audio.

curl https://api.kataleptic.com/v1/audio/transcriptions \
  -H "Authorization: Bearer $DUGUET_API_KEY" \
  -F model="gpt-4o-mini-transcribe" \
  -F file="@meeting.mp3"
  • gpt-4o-mini-transcribe — the cheapest ($0.0045/min); bulk and background audio. The default when the request names no model.
  • gpt-transcribe — current-generation accuracy ($0.006/min).
  • gpt-4o-transcribe — GPT-4o accuracy with semantic context.
  • gpt-4o-transcribe-diarize — speaker-labelled transcripts for multi-speaker meetings.
  • whisper-large-v2 — timestamps and subtitles ($0.0097/min), rate-limited to about 3 requests per minute; see below.

Subtitles and timestamps: the gpt-* models return json or text only. For verbose_json (word and segment timestamps), srt or vtt, use whisper-large-v2. It is rate-limited to about 3 requests per minute; use gpt-4o-mini-transcribe for volume. Azure retires it on 2026-12-15, and after that no model on Kataleptic returns timestamps or subtitles.

For live audio, stream it instead: gpt-live-transcribe and gpt-realtime-whisper run as a realtime transcription session at wss://api.kataleptic.com/v1/realtime?intent=transcription, returning partial and final transcripts as you speak — see streaming transcription.

Since 2026-10-31: requests naming whisper-large-v3-turbo or the compatibility names whisper-1, whisper, whisper-large-v3 and large-v3 are served by whisper-large-v2 and billed at its price ($0.0097/min). They are not listed in /v1/models, and this lasts only until whisper-large-v2 retires on 2026-12-15; for volume, use gpt-4o-mini-transcribe. See retired models.

Embeddings

No embedding model is offered. The only one we served, nomic-embed, was retired on 2026-10-31 (see retired models), so POST /v1/embeddings has no model to route to. If you need embeddings, write to us.

Realtime voice

Speech-to-speech over WebSocket at wss://api.kataleptic.com/v1/realtime — wire-compatible with the OpenAI Realtime API, so unmodified OpenAI realtime clients work. Two kinds of tier behind one endpoint: HD neural voices via Azure Voice Live (kataleptic-realtime-hd), and native speech-to-speech (gpt-realtime-2.1, plus a -mini volume tier and the previous gpt-realtime-2).

Full reference: quickstart, the tier comparison, session.update fields, transcript events, telephony / G.711, streaming transcription and pricing live on the Realtime voice page.

A realtime session that names no model gets gpt-realtime-2.1-mini. The cascade tier kataleptic-realtime was retired on 2026-10-31 — see retired models.

Models

Sixty-three models — open-source and proprietary chat and reasoning, image, video, realtime voice, transcription, text-to-speech and decision scoring. The full live list, with prices, is at GET /v1/models; the models page describes each one.

Retired models

On 2026-10-31 we retired the models we hosted on our own GPU, together with the compatibility names that pointed at them. A request naming one of the ids below fails with HTTP 410 and error.code: "model_retired", and the message names the replacement.

One exception: on /v1/audio/transcriptions, whisper-large-v3-turbo and its compatibility names whisper-1, whisper, whisper-large-v3 and large-v3 are served by whisper-large-v2 and billed at its price ($0.0097/min), until whisper-large-v2 retires on 2026-12-15. They are not listed in /v1/models.

RetiredUse instead
qwen3-8b, qwen2.5-coder-7b, gemma3-27b, glm4-9bAny chat model, e.g. gpt-5.4-mini, llama-3.3-70b or deepseek-v4-flash.
mistral-nemo-12bmistral-medium-3.5, or any of the above.
whisper-large-v3-turbo-stream, parakeet-tdt-0-6b-stream, and the /v1/listen endpointgpt-live-transcribe or gpt-realtime-whisper in a realtime transcription session. /v1/listen is removed.
kataleptic-realtime, piper-tts, and /v1/realtime?model=<chat model>kataleptic-realtime-hd, or gpt-realtime-2.1 / gpt-realtime-2.1-mini.
gpt-realtime, gpt-4o-realtime*, gpt-audio* on /v1/realtime (compatibility names for the cascade)gpt-realtime-2.1-mini, which is also the default for a realtime session that names no model. The real ids gpt-realtime-2, gpt-realtime-2.1 and gpt-realtime-2.1-mini are unaffected.
nomic-embedNo replacement: no embedding model is offered.

Rate limits

Accounts that have not yet topped up: 20 requests / minute and two concurrent requests per account, shared across keys. Paid accounts normally allow 120 requests / minute and eight concurrent requests; individual capacity agreements may differ. Source IP and platform capacity limits also apply. Signup permits five requests per source IP per hour and three confirmation emails per inbox per hour, including Gmail aliases. A zero-balance account cannot run inference until topped up (HTTP 402); any remaining legitimate credit from an older signup can still be used under the unpaid-account limits.

When a request would exceed the limit, the API returns HTTP 429 with a Retry-After header.

Errors

All errors follow the OpenAI shape:

{
  "error": {
    "message": "Invalid or missing API key",
    "type": "authentication_error"
  }
}
StatusTypeWhen
400invalid_request_errorMalformed body or unsupported parameter.
401authentication_errorMissing, invalid, or disabled API key.
402insufficient_quotaCredit exhausted or account not yet topped up. Top up from your account page.
404model_not_foundUnknown model id. See /v1/models.
410model_retiredThe model id was retired. The message names the replacement; see retired models.
429rate_limit_exceededSlow down.
5xxupstream_errorA backend provider is misbehaving. We'll tell you which.

OpenRouter compatibility

Every response body mirrors OpenRouter's extensions: provider, native_finish_reason, usage.cost, usage.is_byok. Model IDs use the model's real upstream provider as an OpenRouter-style prefix — openai/gpt-5.5, meta/llama-3.3-70b, mistralai/mistral-large-3 — and the bare name (gpt-5.5) is accepted too. /v1/models lists both forms.

If you're migrating from OpenRouter, set base_url to https://api.kataleptic.com/v1 and adjust model names. That's the whole migration.

Support

One inbox. Answered by the person who wrote this.

[email protected]