Openai model page

OpenAI: GPT-4o-mini (2024-07-18)

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...

TextVisionStructured outputTool callingFast responsesLong context
Input / 1M
$0.20
Output / 1M
$0.78
Context
128K
Markup
30%

Use this model through UAI

A dedicated public landing page for this synced catalog row.

Provider
Openai

Synced from the active catalog

Context window
128K tokens

Validated for gateway requests

UAI input
$0.20

Charged from your UAI balance

UAI output
$0.78

Same API key and billing flow

This page exists for direct linking, onboarding, and SEO. The same model row powers /v1/models, the public catalog, the app pricing screen, and request validation for /v1/chat/completions.

Why use this model through UAI

The same model route, but with one account, one balance, and one API shape.

Long-context inputs

OpenAI: GPT-4o-mini (2024-07-18) exposes 128K tokens, which makes it a good fit for large documents, transcripts, and retrieval-heavy chat flows.

Multimodal prompts

The synced capabilities for this row indicate image or vision support, so you can route multimodal requests through the same UAI account and billing flow.

Interactive latency

OpenAI: GPT-4o-mini (2024-07-18) is positioned well for chat UIs, demos, and agent loops where faster turn time matters.

Pricing and access

Current synced numbers for this exact model row.

UAI input / 1M tokens
$0.20
UAI output / 1M tokens
$0.78
Openai input / 1M
$0.15
Openai output / 1M
$0.60
Context window
128,000
Current markup
30%

Need another option? Browse the full models catalog or compare rows in the signed-in pricing table.

Quickstart

Use this model with your UAI key over the standard OpenAI-compatible route.

Create a key in API Keys, then send requests to https://uai.sh/v1/chat/completions.

curl
curl https://uai.sh/v1/chat/completions \
  -H "Authorization: Bearer uai-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4o-mini-2024-07-18",
    "messages": [{"role": "user", "content": "Say hi in one short sentence."}],
    "stream": false
  }'
Python (OpenAI SDK)
from openai import OpenAI

client = OpenAI(base_url="https://uai.sh/v1", api_key="uai-YOUR_API_KEY")
response = client.chat.completions.create(
    model="openai/gpt-4o-mini-2024-07-18",
    messages=[{"role": "user", "content": "Say hi in one short sentence."}],
    stream=False
)
print(response.choices[0].message.content)
Node.js (OpenAI SDK)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://uai.sh/v1",
  apiKey: "uai-YOUR_API_KEY"
});

const response = await client.chat.completions.create({
  model: "openai/gpt-4o-mini-2024-07-18",
  messages: [{ role: "user", content: "Say hi in one short sentence." }],
  stream: false
});

console.log(response.choices[0].message.content);

Related models

Other active rows to compare without leaving the public catalog.

openai
OpenAI: GPT-4o-mini
openai/gpt-4o-mini
Input / 1M$0.20
Context128K tokens
openai
OpenAI: gpt-oss-120b
openai/gpt-oss-120b
Input / 1M$0.20
Context131K tokens
openai
OpenAI: GPT-5 Mini (batch)
openai/gpt-5-mini:batch
Input / 1M$0.16
Context400K tokens