Self-Hosted Proxy
Running the Prysm proxy on your own infrastructure? Point the SDK or your HTTP client at your instance:
client = PrysmClient(
prysm_key="sk-prysm-...",
base_url="http://localhost:3000/api/v1",
).llm()
curl -X POST http://localhost:3000/api/v1/chat/completions \
-H "Authorization: Bearer sk-prysm-your-key" \
-H "Content-Type: application/json" \
-d '{"model": "gpt-4o-mini", "messages": [{"role": "user", "content": "Hello!"}]}'
const client = new OpenAI({
baseURL: "http://localhost:3000/api/v1",
apiKey: "sk-prysm-your-key",
});