OpenAI: GPT-4.1 Nano
openai/gpt-4.1-nanoFor tasks that demand low latency, GPT‑4.1 nano is the fastest and cheapest model in the GPT-4.1 series. It delivers exceptional performance at a small size with its 1 million token context window, and scores 80.1% on MMLU, 50.3% on GPQA, and 9.8% on Aider polyglot coding – even higher than GPT‑4o mini. It’s ideal for tasks like classification or autocompletion.
- Modalities
- TextImageFiletoText
- In / out price
- $0.10 / $0.40per 1M
- Context
- 1M
- Released
- Apr 15, 2025
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.
| Checking | Checking | Checking |
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.
For agents
Connect Claude Code, Codex, Pi, and more through Private AI Proxy. Traffic is protected while a verified session is active.
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.1-nano",
messages: [{ role: "user", content: "Say hello." }],
});