AI Gateway API Docs
Base URL
https://api.omanexa.com
Authentication
Authorization: Bearer YOUR_API_KEY
GET /v1/models
curl https://api.omanexa.com/v1/models
POST /v1/chat/completions
curl -X POST https://api.omanexa.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "deepseek-chat",
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}'
Supported Models
- deepseek-chat
- deepseek-reasoner
- gpt-4.1-mini
- gpt-4.1
- openrouter/anthropic/claude-3.5-sonnet
- claude-3-5-sonnet-latest
- claude-3-opus-latest
- gemini-1.5-pro
- gemini-1.5-flash
Error Codes
- 401 Invalid API key
- 402 Insufficient balance
- 429 Rate limit exceeded
Back to Dashboard