parezenparezenDocs
Get free X-ray

Documentation

DocsThe stackQuickstartRun the auditHosted gatewaySelf-hostingCloud platformsSDKs and frameworksFail-open patternLever guideHow savings are verifiedData handlingAPI referencePR cost check setup

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.

Read the quickstartSee the stack
OpenAI-compatible request
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.

    Open
  • Quickstart

    A first request with the OpenAI SDK. The gateway is built; the hosted address is not live yet.

    Open
  • Run 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.

    Open
  • Hosted Quickstart

    For startups: change one URL and bring your own keys. api.parezen.com does not exist yet.

    Open
  • Cloud platforms

    Models you already buy through your cloud, or the gateway in your VPC.

    Open
  • SDKs 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.

    Open
  • Lever guide

    Every way to spend less, what it changes, and the stop that guards it.

    Open
  • Fail-open pattern

    Retry around Parezen only when it cannot be reached. Never around a budget hard stop.

    Open
  • Data handling

    Metadata only by default. What is stored, where, and for how long.

    Open