API keys, scopes and rotation.
Overview
Every request uses the same OpenAI-compatible base URL, one workspace key and the same metering pipeline. That means a single integration can switch between staff-listed and vendor models without changing your client.
python
from openai import OpenAI client = OpenAI(base_url="https://api.zephai.dev/v1", api_key=os.environ["ZEPHAI_KEY"]) response = client.chat.completions.create(model="zeph-nexus-4", messages=[{"role": "user", "content": "Ship it"}])
What to watch
- Per-key spend caps apply before the request reaches a vendor.
- Streaming responses close cleanly with
data: [DONE]. - Retries are safe for idempotent calls; include
Idempotency-Keyfor writes.
Questions? The support inbox is staffed by engineers, not a script.
0 found this helpful
Need a hand?
Contact supportOur engineers answer API questions in the support inbox.