Keep a small call small.
Use an integrated model tag when the application owns the whole request and nothing needs to be shared yet.
Find an AI modelApplications keep one OpenAI-compatible request. Behind it, the model, knowledge, tools and policy can change as one shared system.
Two operating modes
Request anatomy
The model identifier can point directly to an integrated model or to a gateway that carries the reusable behavior around it.
curl https://inference.aivax.net /v1/chat/completions \
-H "Authorization: Bearer $AIVAX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "<gateway-slug>",
"messages": [
{
"role": "user",
"content": "Checkout timed out after the database pool reached capacity. Return severity, summary and next_action."
}
],
"response_format": { "type": "json_object" }
}'
application/json
Response fields and values are illustrative.
Model, usage, errors and attached resources stay together.
When conversation logging is enabled, follow the origin, request ID, actual model, usage, linked resources and error state in one record.
requestId: req_...
Direct API
OpenAI-compatible request
<gateway-slug>
model: <resolved-model>
Completed
318 prompt · 64 completion · no error
Publish one configured gateway as a callable tool without exposing the prompt, retrieval or provider setup behind it.
https://inference.aivax.net/v1/mcp/inference