openai logo

OpenAI: o4 Mini

Chat
openai/o4-mini
Created Apr 17, 2025|200K context|$1.10/M input tokens|$4.40/M output tokens

OpenAI o4-mini is a compact reasoning model in the o-series, optimized for fast, cost-efficient performance while retaining strong multimodal and agentic capabilities. It supports tool use and demonstrates competitive reasoning and coding performance across benchmarks like AIME (99.5% with Python) and SWE-bench, outperforming its predecessor o3-mini and even approaching o3 in some domains. Despite its smaller size, o4-mini exhibits high accuracy in STEM tasks, visual problem solving (e.g., MathVista, MMMU), and code editing. It is especially well-suited for high-throughput scenarios where latency or cost is critical. Thanks to its efficient architecture and refined reinforcement learning training, o4-mini can chain tools, generate structured outputs, and solve multi-step tasks with minimal delay—often in under a minute.

Providers for OpenAI: o4 Mini

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.

Total Context
200K
Input
$1.10/M
Output
$4.40/M
ProviderFirst TokenSpeedUptime
openai logoopenai
CheckingCheckingChecking

Gateway API

RedPill provides a unified private completion API to all models and providers that you can call directly, or through the OpenAI SDK. Verification can be added without changing your model call pattern.

const response = await fetch("https://api.redpill.ai/v1/chat/completions", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${process.env.REDPILL_API_KEY}`,
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "model": "openai/o4-mini",
    "messages": [
      {
        "role": "user",
        "content": "What is the meaning of life?"
      }
    ],
    "provider": { "aci_verified": true }
  })
});

console.log("receipt", response.headers.get("x-receipt-id"));
console.log(await response.json());
RedPill

End-to-end encrypted AI through one gateway: private models, verified providers, unified pricing, live performance, and evidence your team can check.