Models, Tokens & Usage
Programmatically inspect the live model catalog available to your API key, verify service status, and reconcile token consumption.
List Available Models
GET
https://api.vanix.io/v1/modelsCalls go directly from your browser to https://api.vanix.io. Key is kept in session memory only.
Enter your Vanix AI API key and click "Send Request" to run a live call against https://api.vanix.io.
Returns every model authorized for the calling API token's group and allowlist:
bash
curl https://api.vanix.io/v1/models \
-H "Authorization: Bearer $VANIX_API_KEY"json
{
"object": "list",
"data": [
{ "id": "gpt-4o", "object": "model", "owned_by": "openai" },
{ "id": "gpt-5", "object": "model", "owned_by": "openai" },
{ "id": "claude-sonnet-4-5", "object": "model", "owned_by": "anthropic" },
{ "id": "gemini-2.5-pro", "object": "model", "owned_by": "google" }
]
}Query Token Quota & Usage
GET
https://api.vanix.io/v1/dashboard/billing/subscriptionGET
https://api.vanix.io/v1/dashboard/billing/usageCheck your token's configured credit cap (hard_limit_usd) and historical usage directly with your sk-... API key:
bash
curl https://api.vanix.io/v1/dashboard/billing/subscription \
-H "Authorization: Bearer $VANIX_API_KEY"Gateway Health Endpoint
GET
https://api.vanix.io/api/statusPublic health and system capability probe returning {"success": true, "data": {...}} when the gateway is operational.
Full Console Management
For creating tokens, rotating keys, filtering per-request logs by x-oneapi-request-id, and exporting CSV usage reports, sign in to the Vanix AI Console.