Private Models

OpenAI: GPT-4o-mini

openai/gpt-4o-mini

GPT-4o mini is OpenAI's newest model after GPT-4 Omni, supporting both text and image inputs with text outputs. As their most advanced small model, it is many multiples more affordable than other recent frontier models, and more than 60% cheaper than GPT-3.5 Turbo. It maintains SOTA intelligence, while being significantly more cost-effective. GPT-4o mini achieves an 82% score on MMLU and presently ranks higher than GPT-4 on chat preferences common leaderboards. Check out the launch announcement to learn more. #multimodal

Modalities
TextImageFiletoText
In / out price
$0.15 / $0.60per 1M
Context
128K
Released
Jul 18, 2024

Providers

RedPill routes this model across 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.

openaiCheckingCheckingChecking

Start building

Call this model from your application, or through your agents.

For applications

Point your OpenAI SDK at the Gateway. Chat, completions, and embeddings work unchanged.

1
Create a key
2
Set base URL
3
Verify receipt

For agents

Connect Claude Code, Codex, Pi, and more through Private AI Proxy. Traffic is protected while a verified session is active.

1
Install Proxy
2
Turn on Protected
3
Connect agents
Release notes
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-4o-mini",
  messages: [{ role: "user", content: "Say hello." }],
});

Search

Search models and pages.