AI inference API
Production inference with guardrails built in.
Rate limits, credit checks, budgets, request logging and webhooks wrap every inference call — so you ship features, not plumbing.
Budgets that hold
Project, organization and key limits are checked before a provider is called.
Exact metering
Usage is charged from provider-reported tokens with BigInt arithmetic — no float rounding drift.
Webhooks
Signed events for completed and failed requests, low credit and provider health changes.
Privacy controls
Prompt and response logging are off by default; zero-retention mode is available.
chat.completions
curl https://api.inrent.ai/v1/chat/completions \
-H "Authorization: Bearer $INRENT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "inrent/auto",
"messages": [
{ "role": "user", "content": "Hello" }
]
}'FAQ
Common questions
- Is inference asynchronous?
- No — requests are synchronous (or streamed). Background jobs handle billing retries, webhooks and analytics.