Docs
Change one base URL. Keep your SDK.
How an app would connect, see spend in one place, and check a saving. Your app does not send AI requests through Parezen today, and cross-provider switching is planned. Smaller-model routing and exact-match caching exist only in an unhardened prototype. The gateway is not deployed. This repository does not call a model provider, does not read provider usage fields, does not terminate TLS, does not encrypt stored keys and does not rate-limit requests.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.parezen.com/v1",
apiKey: process.env.PAREZEN_API_KEY, // pz_ key. Project and environment come from this key.
});
await client.chat.completions.create({
model: "anthropic/claude-sonnet-4.5",
messages: [{ role: "user", content: "Summarise the latest customer ticket." }],
});Start here
The stack
Seven layers in this demo, and the planned path from a gateway to a verified saving.
OpenQuickstart
A first request with the OpenAI SDK. The gateway is built; the hosted address is not live yet.
OpenRun the audit
A usage export in the browser can show a sample estimate. Read-only billing connectors are not built.
Open
Run the gateway
Self-hosting (hybrid)
The default: the gateway and your Postgres on your servers, enrolled with a one-time token. No published image.
OpenHosted Quickstart
For startups: change one URL and bring your own keys. api.parezen.com does not exist yet.
OpenCloud platforms
Models you already buy through your cloud, or the gateway in your VPC.
OpenSDKs and frameworks
Example snippets for Node, Python and frameworks. Not a live integration.
Open
Savings and data
How savings are verified
Baseline, price versions, the evidence ladder and the match against your provider bill.
OpenLever guide
Every way to spend less, what it changes, and the stop that guards it.
OpenFail-open pattern
Retry around Parezen only when it cannot be reached. Never around a budget hard stop.
OpenData handling
Metadata only by default. What is stored, where, and for how long.
Open