Pick the right model
Create approved routes for different teams or tasks, then rank eligible models by priority, cost, or health. If a service goes down, use a backup you approved in advance.
Explore routingGive every team one safe way to use AI. Set who can use it, what they can spend, and what to do when a service fails. See the cost and the work it helped deliver across each team or company.
Illustrative values show the intended decision hierarchy. Production reports identify source, owner, period, and support state for each measure.
Your apps use one web address. Change the models, spend limits, and backup plan in one place. No need to edit each app.
Teams keep the AI tools they know. You decide who can use them, how much they can spend, and which service takes each request.
Create approved routes for different teams or tasks, then rank eligible models by priority, cost, or health. If a service goes down, use a backup you approved in advance.
Explore routingSet a firm cap for the company, a team, or an app. The gateway checks each request before it can add another charge.
Control costStart in watch mode. Turn on each rule when ready. Keep a clear record of each decision.
See governanceStop copying provider keys into apps. Give each app its own limited gateway key instead.
Review deploymentCodex, Claude Code, OpenCode, cURL, and compatible apps can connect to one web address. Change keys, limits, models, or backup routes without editing each app again.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.aigatewayhq.com/v1",
api_key=os.environ["AIGHQ_API_KEY"]
)
response = client.responses.create(
model="company-approved-fast",
input="Summarize the incident timeline"
)Tech teams manage access and routes. Finance sees cost and approved results. Portfolio teams can compare the companies that take part. Each company keeps its keys, prompts, and financial records private.
Add a limited test key. Review each rule and safety check before you send private or live work through the gateway.