// documentation

Everything you need to ship.

Quickstart in five minutes. Full API reference with typed schemas. SDKs for Python, Node, Go, and Rust. Guides for common patterns.

Quickstart →API reference →
// five lines to first token
from openai import OpenAI

client = OpenAI(
  base_url="https://api.uat.clusterbid.com/v1",
  api_key="CLUSTERBID_API_KEY",
)
response = client.chat.completions.create(
  model="llama-3.1-405b-instruct",
  messages=[{"role": "user", "content": "Hello"}],
)
// core reference

Start here.

// sdks

Use any OpenAI-compatible client.

Python
openai>=1.0 · pip install openai
Node / TS
openai@^4 · npm install openai
Go
openai-go · go get github.com/openai/openai-go
Rust
async-openai · cargo add async-openai
// guides

Common patterns.

Region pinning and data residency
8 min
Streaming with server-sent events
5 min
Function calling with Llama-3.1
10 min
JSON mode and structured output
6 min
Rate limits and retry backoff
4 min
Migrating from OpenAI to clusterbid
12 min
RAG with long-context models
15 min
Cost estimation and budgeting
7 min
Fine-tuning a domain classifier
20 min
Audit logs and compliance exports
8 min