Gateway
One API and one key for every major model.
- Routing by model, cost or speed
- Automatic fallback
- Spend limits per team and project
- Audit logs and one bill
The AI hub for organisations. Every major model behind one API, with the GPUs and the optimisation to run them.
Gateway. One endpoint for every model.
GPU. Compute when the work needs it.
Optimization. Smaller models, same answers.
Call the models your teams need through one API. Switch provider by changing one string, not one product.
Route by model, cost or speed.
A provider fails. Requests keep going.
Fallback picks the next model by your rules.
Dedicated clusters for training and fine-tuning.
On-demand capacity for inference.
Private deployment of open models.
Quantisation and distillation.
Fine-tuning on your own data.
Benchmarks for cost, speed and quality.
One API and one key for every major model.
Capacity for work that should not run on a shared API.
Lower cost per answer for the models you rely on.
Change one string to move a product from one provider to another. Everything else in your code stays where it is.
curl https://ahiapi.ai/v1/chat/completions \
-H "Authorization: Bearer $AHI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-sonnet",
"messages": [{"role": "user", "content": "Hi"}]
}'
import os, requests
r = requests.post(
"https://ahiapi.ai/v1/chat/completions",
headers={"Authorization": f"Bearer {os.environ['AHI_KEY']}"},
json={
"model": "anthropic/claude-sonnet",
"messages": [{"role": "user", "content": "Hi"}],
},
)
print(r.json())
Example request. The full API reference is shared at onboarding.
Tell us which models you use today and what you want to run next.
Opens your email app. Or write to [email protected]