Early Access Learn what that means
Exception AI
Log in

Documentation

Everything below describes the real, live system -- nothing aspirational. Anything not shipped yet is marked Coming soon rather than written as if it already works.

Quickstart

  1. Sign in. Coming soon -- login isn't open yet on this preview. Everything else below is written for when it is.
  2. Create a project and pick a use case: Text inference for free-text generation, or !Decision (decision) for classification/routing. This can't be changed later -- the two use a different training format under the hood.
  3. Add examples. Each one is a (request, response) pair, added by hand from the project page or programmatically via the API. More examples -- and correcting the ones it gets wrong -- is what actually improves the next trained version; nothing trains from volume alone.
  4. Mint an API key from API Keys, optionally scoped to one project. Shown once -- copy it before navigating away.
  5. Call it. See API reference below.

Core concepts

Projects

One project is one trained adapter on top of a shared base model. Projects are private to their owner -- there's no public listing of any project's inputs or outputs.

Examples & training

Training happens automatically in the background as examples accumulate -- no fixed wait, no manual "train now" step. The project keeps improving continuously; test the live model at any time, even between training runs.

Adapters & versions

Every successful training pass produces a new version, scored against held-out examples and served immediately -- the previous version stays available. Export the adapter itself at any time (see Your data).

!Decision (decisions)

Instead of free text, a !Decision-mode project picks one of N declared options with a calibrated confidence score, read directly off the model's own logprobs -- not a second free-text call asked to self-report confidence.

Guideline gate

Every project can carry a guideline -- a short description of what it should and shouldn't answer. Every request is checked against it before the model responds; anything off-topic or unsafe is blocked outright rather than answered. You can see this running live on this site's own chat demo -- the pills above each answer are the real verdict, not a mockup. Every visitor can see a project's current guideline; editing one is a Pro feature, coming soon.

Build your own harness

Most requests are easy. Send every one through a !Decision project first -- a cheap, fast classification call that answers one question, "is this easy or hard?" -- and route on the answer: easy requests go to your small, fast model as usual; the rare hard ones get sent on to a large model instead, wherever that lives for you. You only pay that bigger model's latency and cost on the requests that actually need it.

This is the same pattern a coding assistant can use to pick between a small local model and a larger one on every single thing you type: ask a !Decision project "small or big?" against the request text, switch models based on the answer, then ask again on the next request. The decision call itself stays cheap and fast no matter which model ends up doing the real work.

harness.sh
curl -X POST https://<your-exceptionai-host>/router/llm \
  -H "Authorization: Bearer ks_pat_..." \
  -H "Content-Type: application/json" \
  -d '{
    "caller": "my-harness",
    "user": "is this request easy or hard: <request text>",
    "logprobs": true,
    "project": {"userId": "<your-user-id>", "projectId": "harness"}
  }'

The response's top option plus its calibrated confidence is your routing decision -- send "easy" to your small model, "hard" on to a large model of your choosing.

Looking for a concrete model to point that last hop at: Inception Labs' mercury-3 is built for exactly this -- fast enough that the escalation hop doesn't dominate your latency budget, strong enough to be worth escalating to. It speaks the same OpenAI-compatible chat-completions shape as the rest of this page's examples, so the hard-path call is just:

hard-path.sh
curl -X POST https://api.inceptionlabs.ai/v1/chat/completions \
  -H "Authorization: Bearer $INCEPTION_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mercury-3",
    "messages": [{"role": "user", "content": "<request text>"}]
  }'

API reference

Authentication

Bearer-authenticate with an API key from API Keys.

Inference

request.sh
curl -X POST https://<your-exceptionai-host>/router/llm \
  -H "Authorization: Bearer ks_pat_..." \
  -H "Content-Type: application/json" \
  -d '{
    "caller": "my-app",
    "user": "your prompt here",
    "userId": "<your-user-id>",
    "project": {"userId": "<your-user-id>", "projectId": "your-project"}
  }'

The response carries text, model, and provider.

!Decision mode

Call the same endpoint with "logprobs": true on a !Decision-mode project to also get back per-option log-probabilities and a calibrationTemperature, once enough held-out examples exist to fit one.

Client libraries

There's no SDK or npm package yet Coming soon -- the endpoint is plain HTTPS and JSON, so curl, fetch, Python's requests or any other HTTP client works. The about page has the same request in each.

Your data

From a project page, export your examples as JSONL (choose how many, or leave it blank for all), or download the trained adapter itself -- the real PEFT files (adapter_config.json, adapter_model.safetensors, README.md) for whichever version is currently active. Both are yours; nothing about them is Exception AI-specific or locked in.

Pricing & plans

Every plan and what it includes, the same list as the pricing page:

  • Free, $0/mo. 1 project, fully yours -- pick free-text generation or !Decision decisions; Unlimited examples -- add, edit, correct anytime; Continual training -- it keeps improving automatically as you use it; The full guideline gate -- same on-topic/safety tooling Pro gets; Export all your data and examples; Also runs fully local -- the SQLite app, offline, no account needed.
  • Pro, $500/mo. Unlimited tokens -- no metering, no surprise overage bill; Unlimited training -- your adapter keeps learning, continuously; Centralized training per example; Your own private adapter, continually trained; Self-serve plan changes & billing portal (coming soon); Priority support queue (coming soon).
  • Scale, $2,000/mo. Everything in Pro; Dedicated capacity planning for real volume; A real relationship, not a ticket queue.

Plans are billed monthly.