Back to Models

o4-mini

by openai

Reasoning

Description

o4-mini is OpenAI's cost-efficient reasoning model that balances strong reasoning capabilities with lower cost. Ideal for applications requiring reasoning at scale.

Providers

Pricing

Input$1.21 /1M tokens
Output$4.84 /1M tokens
Get Your API Key

Specifications

Context128K tokens
Parameters
Licenseproprietary
ReleasedApr 2025

Capabilities

ReasoningVisionToolsJSON ModeStreaming

EU-Compliant API Access

Use o4-mini with a simple API call. OpenAI-compatible endpoint, EU data residency guaranteed.

JavaScript
const response = await fetch("https://api.eurouter.ai/v1/chat/completions", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": `Bearer ${process.env.EUROUTER_API_KEY}`,
  },
  body: JSON.stringify({
    model: "o4-mini",
    messages: [
      { role: "user", content: "Hello!" }
    ],
  }),
});

const data = await response.json();
console.log(data.choices[0].message.content);

More from openai

Explore more

Integrate AI without GDPR risk.

You need AI that won’t create compliance headaches. Your data stays in the EU, GDPR is enforced by default, and every request is routed for the best balance of cost, latency, and uptime, reducing risk while improving performance.

Get Your API Key
GDPR by default
EU data residency
Smart routing
Claim €15 free credits·200 left
Sign up free →