Overview
Gateway Base:
http://localhost:8000/v1
Available Balance
0.00
Total API Calls
0
Total Tokens Utilized
0
Token Consumption Trends (Last 7 Days)
Developer Integration
Use EqualRouter as a drop-in replacement for OpenAI endpoints. Set base URL and authentication header.
Python Example
from openai import OpenAI
client = OpenAI(
api_key="YOUR_EQUALROUTER_KEY",
base_url="http://localhost:8000/v1"
)
response = client.chat.completions.create(
model="gpt-4o-mini",
messages=[{"role": "user", "content": "Hello Router!"}]
)
print(response.choices[0].message.content)
cURL Example
curl http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_EQUALROUTER_KEY" \
-d '{
"model": "gpt-4o-mini",
"messages": [{"role": "user", "content": "Hello"}]
}'