Skip to content
INRENT
OpenAI-compatible API

Change the base URL. Keep your code.

INRENT implements the OpenAI API format, so the official OpenAI SDKs and most OpenAI-compatible tools work by switching the base URL and API key.

  • Drop-in SDK support

    Use the OpenAI Python or JavaScript SDK with base_url set to the INRENT API.

  • Streaming over SSE

    Server-sent events in the OpenAI chunk format, including usage on the final chunk when requested.

  • Tools & structured output

    Function calling and JSON-schema responses pass through to providers that support them.

  • Standard headers

    x-request-id, rate-limit headers and retry-after on every response.

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

Are model names the same as OpenAI's?
Models are addressed as vendor/model (for example openai/gpt-4.1 or qwen/qwen3-32b). GET /v1/models lists every id.
Is every OpenAI parameter supported?
Common parameters are supported; provider-specific limitations are reflected in each model's capabilities. Unsupported endpoints return a documented not_supported error.