Quick start
Install the SDK, set your key, send a streaming chat completion. The response starts arriving before the model finishes composing it.
bun add @orvex/sdk export ORVEX_API_KEY=orx_live_…
Every choice we make is a choice a developer will feel SDK ergonomics, error shapes, log formats, receipt structure. Nothing shipped to make a chart, everything shipped to make a shift.
A live terminal boots the runtime, then monitors it. Follow the numbered steps on the right.
bun add @orvex/sdkorvex login
orvex keys create prodorvex chat "hello, runtime"A request enters the gateway, gets scored, warms a worker, streams back. Nothing between your code and the model that isn't earning its ms.
A live request in the language you already write in. The response streams beside it, exactly like production.
from orvex import Orvex
client = Orvex(api_key=os.environ[300/85">"ORVEX_API_KEY"])
stream = client.chat.completions.create(
model=300/85">"orvex-1",
stream=True,
temperature=0.4,
messages=[
{300/85">"role": 300/85">"system", 300/85">"content": 300/85">"You are a runtime engineer."},
{300/85">"role": 300/85">"user", 300/85">"content": 300/85">"How does the router decide which worker gets my request?"},
],
)
for chunk in stream:
print(chunk.choices[0].delta.content or 300/85">"", end=300/85">"", flush=True)Every major endpoint on the runtime. Same auth, same envelope, same receipt.
Streamed chat with tools, JSON mode, and function calling.
Text-to-image routed to image-capable workers.
Batched, deduped, cached. 1536-d by default.
Live catalog with capabilities, context, price per token.
Network-wide status: region, GPU class, health, load.
Usage by key, by model, by window. Live and historical.
Search by shape, not by page. Every endpoint, every error, every SDK one keystroke away.
Install the SDK, set your key, send a streaming chat completion. The response starts arriving before the model finishes composing it.
bun add @orvex/sdk export ORVEX_API_KEY=orx_live_…
Async iterables. Tools that stream. Backpressure the runtime respects.
const stream = await orvex.chat.stream({
model: "orvex-1",
messages,
});
for await (const chunk of stream) {
process.stdout.write(chunk.delta ?? "");
}
const receipt = await stream.receipt();
console.log(receipt.worker, receipt.credits);Every layer between your code and the model. Nothing hidden.
Prices are per 1M tokens unless noted. Same endpoint, different worker.
bun add @orvex/sdk
pip install orvex-sdk
go get github.com/orvex/sdk-go
cargo add orvex-sdk
spm: orvex-sdk-swift
impl 'dev.orvex:sdk:0.5.0'
No sidecars. No agents. HTTPS, a key, and a network.
What our largest customers do. What we do ourselves.
A key, a base URL, an SDK. That's it. Move your first request in an afternoon, then keep the same code as you scale to millions.