---
id: "openai/gpt-4o-mini-2024-07-18"
also: ["openai/gpt-4o-mini-2024-07-18"]
card_usd_per_m: "0.15 in, 0.6 out, at openai"
cheapest_list_usd_per_m: "0.15 in, 0.6 out, at openai on openrouter"
cheapest_effective_usd_per_m: "0.1118 in, 0.5951 out, at openai on openrouter"
context: 128000
max_output: 16384
input: ["text", "image", "file"]
output: ["text"]
released: "2024-07-18"
api: ["/api/v1/chat/completions", "/api/v1/completions", "/api/v1/messages", "/api/v1/responses"]
params: ["frequency_penalty", "logit_bias", "logprobs", "max_tokens", "prediction", "presence_penalty", "response_format", "seed", "stop", "structured_outputs", "temperature", "tool_choice", "tools", "top_logprobs", "top_p", "web_search_options"]
endpoints: 1
gateways: "openrouter (1)"
no_training: 1
trains: 0
retains_prompts: 1
---
# OpenAI: GPT-4o-mini (2024-07-18)

GPT-4o mini is OpenAI's newest model after [GPT-4 Omni](/models/openai/gpt-4o), supporting both text and image inputs with text outputs. As their most advanced small model, it is many multiples more affordable...