Overview

Inference for realtime AI and long-running AI agents: an OpenAI-compatible API with realtime, priority, flex, and batch windows on one fleet. Quickstart, models, pricing, and full HTTP reference.

Inference API

sference is an inference stack for open models, exposed as one OpenAI-compatible HTTP API. It serves both shapes of production AI from the same fleet: realtime AI, where a user is waiting on the response, and long-running AI agents, where work spans many model calls and nobody is waiting on any single one.

Three processing modes carry that range, and you pick per request:

ModeWindowFor
realtimeimmediateInteractive requests, the turn a user is waiting on
priorityimmediate — jumps the queueLatency-critical traffic that cannot wait out congestion, at 1.3 × list
flexup to 30 minutesLatency-tolerant sync work: background steps, enrichment, summarization
batchup to 24 hoursLarge jobs, evals, backfills, offline pipelines

All four run on the same endpoints, the same models, and the same GPU fleet — a scheduling priority per request rather than a separate deployment per workload. Pin model versions and keep a compliance-grade trail, without replatforming how your team already calls models.

Quickstart · Models · Pricing · API Reference

Start here

Developer quickstart

Export an API key and make a realtime request. It is OpenAI-shaped, so an existing client needs only a new base URL and model id:

export SFERENCE_API_KEY="sk_..."
curl https://api.sference.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $SFERENCE_API_KEY" \
  -d '{"model":"deepseek-ai/DeepSeek-V4.1-Flash-1017","enable_thinking":false,"messages":[{"role":"user","content":"Say hello in one sentence."}]}'

Prefer the CLI? Install it and authenticate:

curl -fsSL https://raw.githubusercontent.com/s-ference/sference/main/install.sh | sh
sference auth login        # opens the console to approve this device

Step-by-step: Quickstart. Prefer Python? See Python SDK.

Build an agent

Agent loops are the workload the platform is shaped for: the turn a user waits on runs realtime, the steps behind it run flex or batch, and one bill covers both.

Choose a workload

Operate it

Bring your existing client

OpenAI-shaped clients need only a base-URL change: /v1/chat/completions and /v1/responses are OpenAI-compatible. POST /v1/embeddings is available on dedicated deployments only. It serves dedicated or custom models, not the public catalog. For classification and routing, /v1/decisions returns probabilities for structured questions instead of generated text.

Product & compliance

For positioning, regulation, and workloads, use the marketing site and use cases.