OpenAI SDK
Route official OpenAI Python/Node SDKs through the Intertrace edge.
Setup
Mint itr_rt_* in Settings → Runtime API keys. Keep upstream secrets in the Provider vault — clients should not need vendor sk- keys.
# Python
from openai import OpenAI
import os
c = OpenAI(api_key=os.environ["INTERTRACE_RUNTIME_API_KEY"], base_url="https://intertrace.fly.dev/v1")
print(c.chat.completions.create(
model="gpt-4o-mini", messages=[{"role":"user","content":"Hello"}]
).choices[0].message.content)
# Node: baseURL "https://intertrace.fly.dev/v1" (or https://gateway.intertrace.ai/v1), apiKey = INTERTRACE_RUNTIME_API_KEY