OpenAI Compatible Gateway

Switch to OpenBytes AI with a single line change. Our gateway supports the OpenAI SDK and spec.

API Configuration

To use the OpenBytes network, configure your LLM client with the OpenBytes base URL and your API key generated from the API Keys dashboard.

Example Usage (Python)
from openai import OpenAI

client = OpenAI(
    base_url="https://gateway.openbytes.ai/v1",
    api_key="sk-sph-..."
)

response = client.chat.completions.create(
    model="gpt-4o",
    messages=[{"role": "user", "content": "Hello, OpenBytes!"}]
)

print(response.choices[0].message.content)

Pro Tip: Smart Routing

OpenBytes automatically routes your request to the best available provider based on price and latency. You don't need to manage individual provider keys.