Who it is for
Developers who want one endpoint for compatible AI API requests while keeping API keys, usage, credits, and model routing visible in a dashboard.
Use cases
- Central AI API layer for SaaS products.
- Agent backends with model routing.
- Internal AI tools.
- Model evaluation and fallback planning.
- Prepaid credit workflows for controlled spend.
How InferGate helps
Use the InferGate base URL in compatible SDKs, generate an API key in the dashboard, and test requests with $20 trial credits before moving to prepaid credits.
Base URL
https://api.useinfergate.com/v1
curl example
curl https://api.useinfergate.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_INFERGATE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4o-mini",
"messages": [
{"role": "user", "content": "Test a unified AI API endpoint."}
]
}'
JavaScript example
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.INFERGATE_API_KEY,
baseURL: "https://api.useinfergate.com/v1"
});
const completion = await client.chat.completions.create({
model: "gpt-4o-mini",
messages: [{ role: "user", content: "Test a unified AI API endpoint." }]
});
console.log(completion.choices[0]?.message?.content);
Python example
from openai import OpenAI
import os
client = OpenAI(
api_key=os.environ["INFERGATE_API_KEY"],
base_url="https://api.useinfergate.com/v1",
)
completion = client.chat.completions.create(
model="gpt-4o-mini",
messages=[{"role": "user", "content": "Test a unified AI API endpoint."}],
)
print(completion.choices[0].message.content)
Trial credits and pricing
New accounts currently include $20 in trial credits. Pricing depends on selected model/provider route and dashboard configuration. Use prepaid API credits when ready to scale.
FAQ
What is a unified AI API endpoint?
It is one integration endpoint for compatible AI API requests, with account-level dashboard controls.
Can I use existing SDKs?
Compatible SDKs usually need the InferGate base URL and API key.
Can I see usage?
Use the dashboard to review usage and credit activity.
What should I test first?
Test model availability, latency, error behavior, and cost for your real workload.