Integrations / Provider Guides
OpenAI
Connect Aurora to OpenAI for GPT, o-series reasoning, and embedding models.
Browse docs
Use this provider to route to OpenAI's hosted models. Aurora speaks the OpenAI wire format natively, so requests to https://api.openai.com go through without translation.
Activate
OPENAI_API_KEY=sk-...Restart Aurora. The openai provider appears at /v1/models with the current GPT, o-series, and embedding catalog.
Default models
Override the catalog with OPENAI_MODELS=gpt-4o,gpt-4o-mini,o3-mini or pull the latest via aurora models sync.
Multiple instances
Run separate OpenAI providers for quota, region, or billing:
OPENAI_EAST_API_KEY=sk-...
OPENAI_WEST_API_KEY=sk-...Aurora exposes them as openai-east and openai-west. Use them in aliases, pools, or workflows.
Custom base URL
OPENAI_BASE_URL=https://my-corp-openai-proxy.example.com/v1Use this for corporate proxies, regional endpoints (e.g. Azure-hosted OpenAI), or any OpenAI-compatible gateway.
Gotchas
- Reasoning models —
o3ando1requiremax_completion_tokensrather thanmax_tokens. Aurora does this translation automatically. Streaming is supported; reasoning tokens are surfaced asreasoningcontent blocks in the Anthropic ingress and asreasoning_contentdeltas in the OpenAI format. - Embeddings —
text-embedding-3-*accepts adimensionsparameter to truncate. Aurora forwards it. - Function calling — full support, including parallel tool calls. No provider-specific quirks.
- Prompt caching — OpenAI's automatic prompt caching is enabled by default on supported models. Aurora forwards
cache_controland surfaces cache-hit tokens in the response usage.
Sample request
curl http://localhost:8080/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $AURORA_MASTER_KEY" \
-d '{
"model": "openai/gpt-4o-mini",
"messages": [{"role": "user", "content": "Hello from Aurora"}]
}'Related
- Providers Overview — full 14-provider matrix
- Model Management — aliases, overrides, allowlists
- Aliases — give your app a stable model name