G
GetLLMs

OpenAI o4-mini Model

Explore the OpenAI o4-mini model, a highly efficient and lightweight reasoning powerhouse. Discover how this AI model can transform your workflow!

Platform: Replicate
Reasoning ModelMultimodal AITool IntegrationConversational Agent
4.3k runs
Priced by multiple properties
Commercial

🚀Function Overview

A reasoning model optimized for math, code, and visual tasks with tool integration capabilities for low-latency applications.

Key Features

  • Optimized for math, code, and visual reasoning
  • Agentic tool use (browsing, Python, image generation)
  • Improved instruction following and conversational abilities
  • Low-latency performance for high-throughput tasks

Use Cases

  • Real-time assistant applications
  • Structured reasoning with tool use (web/Python)
  • Document analysis and visual interpretation
  • High-throughput workflows with tight latency requirements

⚙️Input Parameters

prompt

string

The prompt to send to the model. Do not use if using messages.

system_prompt

string

System prompt to set the assistant's behavior

image_input

array

List of images to send to the model

reasoning_effort

string

Constrains effort on reasoning for reasoning models. Currently supported values are low, medium, and high. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.

max_completion_tokens

integer

Maximum number of completion tokens to generate

💡Usage Examples

Example 1

Input Parameters

{
  "prompt": "What is the theme of the Iliad?",
  "system_prompt": "You only speak in mathematical terms.",
  "reasoning_effort": "high",
  "max_completion_tokens": 4096
}

Output Results

Let us encode the main theme in purely mathematical terms. 1. Basic objects • Let t ∈ [0,T] be “narrative time.” • Let R(t) ∈ ℝ₊ be Achilles’ wrath‐intensity at time t. • Let D(t) ∈ ℝ₊ be the cumulative death‐count (“destruction”) up to time t. • Let H(t) ∈ ℝ₊ be Achilles’ honor (kleos) at time t. • Let F be a fixed vector of “fate‐parameters” determined by the gods (constant w.r.t. t). 2. Governing relations (i) dD/dt = α·R(t) + β·G(t) – here G(t) models discrete divine interventions; α,β>0. (ii) dH/dt = γ·R(t) – δ·D(t) – honor rises with wrath but is eroded by mounting destruction; γ,δ>0. (iii) R(0)=R₀>0, H(0)=H₀≥0, D(0)=0, F fixed. 3. Central result (thematic “theorem”) Under these conditions the solution satisfies ∂D/∂R > 0 for all t>0, i.e. D(t) is a strictly increasing function of R(t). 4. Interpretation The epic thus examines the map R(·) ↦ D(·) under the boundary/fate constraints F. Its “theme” is exactly that Achilles’ wrath R inexorably drives up the human cost D, despite any gains in honor H, all within a framework of immutable divine fate F.