Private Models





Working with agentsConnect RedPill to agent frameworks and runtimes.
OpenAI: GPT-4
openai/gpt-4OpenAI's flagship model, GPT-4 is a large-scale multimodal language model capable of solving difficult problems with greater accuracy than previous models due to its broader general knowledge and advanced reasoning capabilities. Training data: up to Sep 2021.
- Modalities
- TexttoText
- In / out price
- $30.00 / $60.00per 1M
- Context
- 8,191
- Released
- May 28, 2023
Providers
RedPill routes this private model across verified providers with automatic fallbacks. Pricing is unified, so you pay the same price no matter which provider serves your request, while live metrics show first-token latency, speed, and uptime.
| Checking | Checking | Checking |
Gateway API
Call this model through RedPill's OpenAI-compatible API.
- Create an API key
- Set
REDPILL_API_KEY - Run the request
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.redpill.ai/v1",
apiKey: process.env.REDPILL_API_KEY,
});
const response = await client.chat.completions.create({
model: "openai/gpt-4",
messages: [{ role: "user", content: "Say hello." }],
});