GPT-4.1 mini until 2027-01-14

openai/gpt-4.1-mini

Sign up to try it

Overview

Chat Low cost

A smaller, faster and cheaper GPT-4.1 that keeps the 1M-token context, for everyday chat and tool use.

Made by OpenAI · released Apr 2025

Input

Text · Images · File

Output

Text
Context
1.047.576
Input, maximum
1.014.808
Output, maximum
32.768
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
Rp7.400per million tokens$0.4
Output
Rp29.600per million tokens$1.6
Cache read
Rp1.850per million tokens$0.1

Per-part units

Max tokens per input image
48.600 OpenAI images guide, 2026-09-07
Tokens per input image, low detail
415 OpenAI images guide, 2026-09-07
Tokens per document page
52.600 OpenAI PDF guide, 2026-09-07

batch

  • Input: Rp3.700 per million tokens
  • Output: Rp14.800 per million tokens
  • Cache read: Rp1.850 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-4.1-mini",
       "messages": [{"role": "user", "content": "halo"}]}'