Skip to content
INRENT
Getting started

Quickstart

From zero to your first successful API call in under five minutes.

1. Create an account

Sign up with email, GitHub or Google. You get a personal workspace with a default project.

2. Create an API key

Open Dashboard → API Keys → Create key. Choose a project and an environment (development, staging or production).

The full key is shown once. INRENT stores only a keyed hash, so copy it now. Lost keys can't be recovered — rotate them instead.

Keys look like sk-inrent-dev-…, sk-inrent-stg-… or sk-inrent-prod-…. The prefix tells you the environment; it contains no account information.

3. Store the key

export INRENT_API_KEY="sk-inrent-dev-..."

4. Install an SDK

pip install openai   # or: pip install inrent

5. Make your first request

import os
from openai import OpenAI

client = OpenAI(base_url="https://api.inrent.ai/v1", api_key=os.environ["INRENT_API_KEY"])

response = client.chat.completions.create(
    model="inrent/auto",
    messages=[{"role": "user", "content": "Say hello in five languages."}],
)
print(response.choices[0].message.content)

The response includes x-request-id, x-inrent-provider and x-inrent-cost-inr headers, and the request appears in Dashboard → Logs within seconds.

Next steps

Edit this page