[ Layer #01 ]
import openai
client = openai.OpenAI(
api_key="vsk_prod_04", # Verosek virtual key
base_url="https://gateway.your-domain/v1", # ← one line changed
)
response = client.chat.completions.create(
model="gpt-4o",
messages=[{"role": "user", "content": "Summarise Q3 results"}],
)
# Policy enforced. Every step audited.
print(response.choices[0].message.content)
AI Gateway
Route any SDK to any provider. Twelve OpenAI endpoints plus native Anthropic and Gemini. Change one line — swap base_url and key. Cross-SDK translation runs on the fly. Weighted fallback, priority routing, 3-fail cooldown. Under 30ms P99 overhead.
15 endpoints · 3 SDKs · <30ms P99