Skip to content
Zenith / Docs
Developers
OpenAI compatible

Developer documentation

Zenith is OpenAI-compatible. Point the official OpenAI SDK at Cloud or your self-hosted Gateway — there is no proprietary Zenith SDK.

Enter the hostname your application uses to reach Zenith Gateway. Every Enterprise example below updates instantly.

Hostname only, or paste a full URL. Saved in this browser.
SDK openai (official)
Auth Authorization: Bearer <key>
Cloud base https://zenithgw.com/api/v1
Gateway base https://your-domain.demo/v1

Choose a path

Hosted Cloud and self-hosted Enterprise share the same OpenAI request shapes. They differ on base URL path prefix, how you obtain keys, and what the model field means.

SurfaceBase URL for OpenAI SDKAPI keymodel field
Zenith Cloudhttps://zenithgw.com/api/v1zk_… from /appauto or catalog id; BYOK uses openai/…
Enterprise Gatewayhttps://your-domain.demo/v1Gateway API keyPool alias (for example chat-pool)
CapabilityCloud /api/v1Gateway /v1
Models, chat completions, responsesSupportedSupported
Embeddings, images, audio, moderations, rerankNot hostedSupported when configured
model fieldauto or catalog modelConfigured pool alias

What stays the same

  • Authorization: Bearer <api-key> on inference routes
  • POST …/chat/completions and GET …/models shapes
  • stream: true returns text/event-stream
  • tools, tool_choice, and response_format are accepted on chat and forwarded upstream

Where to go next

  • Getting started — first request in under five minutes
  • Cloud OpenAI SDK — hosted and Your Own Keys examples
  • Install Gateway — install.sh quick path and activation
  • Docker / Swarm — manual Compose and Swarm runbook
  • Gateway OpenAI SDK — pool aliases and the full /v1 surface
  • Cloud API reference — interactive Scalar at /docs/api/cloud
  • Gateway API reference — interactive Scalar at /docs/api/gateway