Streaming, function calling, vision, and error shapes are unchanged. What RedPill adds: every
response carries an
x-receipt-id you can verify, and confidential
(is_tee) models run on a verified upstream enclave. See Models.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Point an existing OpenAI-compatible integration at RedPill: a new base URL, a new key, and provider-prefixed model ids.
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["REDPILL_AI_API_KEY"],
base_url="https://api.redpill.ai/v1",
)
response = client.chat.completions.create(
model="openai/gpt-5",
messages=[{"role": "user", "content": "Hello"}],
)
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.REDPILL_AI_API_KEY,
baseURL: "https://api.redpill.ai/v1",
});
| From OpenAI | From OpenRouter | |
|---|---|---|
| Base URL | https://api.openai.com/v1 becomes https://api.redpill.ai/v1 | https://openrouter.ai/api/v1 becomes https://api.redpill.ai/v1 |
| Model id | gpt-5 becomes openai/gpt-5 | Same provider/model format; confirm each id in GET /v1/models |
| Extra headers | None | Drop HTTP-Referer and X-Title |
x-receipt-id you can verify, and confidential
(is_tee) models run on a verified upstream enclave. See Models.Was this page helpful?