Rend DocsOpen Studio

Rend API

Call Rend’s models from your own app, script or tool. The API speaks the OpenAI chat completions format, so the OpenAI libraries and most tools that accept a custom address work as they are.

Get a key

In Rend, open Settings → Connections → Rend API and choose Create key. The key starts with rnd_api_ and is shown once, so copy it somewhere safe. You can revoke it there at any time.

A key only reaches the models. It cannot open or change your projects; for that, connect your own agent.

Connect

Use https://rend.ai/api/v1 as the base URL and your key as the API key.

from openai import OpenAI

client = OpenAI(base_url="https://rend.ai/api/v1", api_key="rnd_api_...")
stream = client.chat.completions.create(
    model="rend-pro",
    messages=[{"role": "user", "content": "Write three hooks for a gym ad."}],
    stream=True,
)
for chunk in stream:
    print(chunk.choices[0].delta.content or "", end="")
import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://rend.ai/api/v1", apiKey: "rnd_api_..." });
const reply = await client.chat.completions.create({
  model: "rend-1",
  messages: [{ role: "user", content: "Write three hooks for a gym ad." }],
});
console.log(reply.choices[0].message.content);

In other tools, look for a setting called base URL, API base or custom endpoint, and enter the same address, key and model name.

Models

Model What it is
rend-1 Rend’s everyday model, fast and low cost.
rend-1-regular The same model without the uncensored setting.
rend-pro Rend’s stronger model, for harder writing and reasoning. Priced higher.

GET https://rend.ai/api/v1/models lists them with what your account pays.

What it costs

Requests are paid from your Rend credit at the prices /models returns, per million tokens, plus any web or X searches the model runs. Every reply carries its cost in usage.cost, and every request shows in Usage. A request that fails on Rend’s side is not charged.

Useful settings

  • "stream": true sends the reply as it is written.
  • "search": "off" stops the model searching the web and X; "web" allows the web only. The default is "auto".
  • reasoning_effort sets how long the model thinks. Leave it out for the default.
  • tools works as in the OpenAI format, so the model can call your own functions.
  • POST https://rend.ai/api/v1/chat/compact shortens a long conversation so you can keep going without resending all of it.

Next: Pricing, plainly