GPT-4o mini until 2027-01-14

openai/gpt-4o-mini

Sign up to try it

Overview

Chat Low cost

OpenAI's fast, affordable small model for focused tasks, with image input.

Made by OpenAI · released Jul 2024

Input

Text · Images · File

Output

Text
Context
128.000
Input, maximum
120.000
Output, maximum
16.384
Default output
4.096
  • Reasoning Not supported
  • Tool calling Supported
  • Prompt caching Supported
  • Automatic fallback routes Not supported

Routes and pricing

Providers are tried in the order listed below. We try these providers in order. If one fails, we move on to the next, and you pay the rate of the one that answers.

OpenAI

primary until 2027-01-14 (announced by the vendor)
Input
Rp2.780per million tokens$0.15
Output
Rp11.100per million tokens$0.6
Cache read
Rp1.390per million tokens$0.075

Per-part units

Max tokens per input image
48.169 OpenAI images guide, 2026-09-07
Tokens per input image, low detail
2.833 OpenAI images guide, 2026-09-07
Tokens per document page
52.169 OpenAI PDF guide, 2026-09-07

batch

  • Input: Rp1.390 per million tokens
  • Output: Rp5.550 per million tokens

Today's reference rate: Rp18.500/USD

Prices exclude the 5,5% service fee

Data and privacy

OpenAI OpenAI, Your data

Used to train models
No
Retention
Up to 30 days for abuse monitoring, unless the law requires longer.
Processing location
Not stated; storing data in a chosen region is a separate opt-in.
At indoRouter
We don't store your prompts or responses. Files you upload, batches, and responses you send with store: true are kept encrypted for up to 30 days.

Code samples

Use this model ID with any OpenAI SDK. The base URL is the same for every model.

curl https://api.indorouter.ai/v1/chat/completions \
  -H "authorization: Bearer $INDOROUTER_API_KEY" \
  -H "content-type: application/json" \
  -d '{"model": "openai/gpt-4o-mini",
       "messages": [{"role": "user", "content": "halo"}]}'