AI models from the EU with Pirol Online, or on your own hardware with Pirol Local.
from openai import OpenAI
client = OpenAI(
base_url="https://endpoint.pirol.ai/v1", # ← only change
api_key="ep_live_…",
)
response = client.chat.completions.create(
model="pirol/pirol-ai", # Pirol AI, no provider key needed
# bring your own key to reach OpenAI or Anthropic models here
messages=[{"role": "user", "content": prompt}],
)Bring your own key — OpenAI, Anthropic and others through the same gateway.
Change one URL in your existing OpenAI SDK setup. No new client library, no schema changes.
Traffic stays on European infrastructure. No transatlantic data transfer for the raw payload.
Every request is logged with its model and token counts — queryable from the console.
Issue scoped API keys per team or product. Revoke instantly without rotating provider credentials.
One model id, the right model underneath. Pirol AI routes each request to the open-weight model that handles it best.
Sign up and make your first request in minutes.
Get an API key →