GPT-4.1 until 2027-01-14

openai/gpt-4.1

Sign up to try it

Overview

Chat

OpenAI's strongest non-reasoning model of 2025, good at instruction following and tool use, with a 1M-token context.

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
Rp37.000per million tokens$2
Output
Rp148.000per million tokens$8
Cache read
Rp9.250per million tokens$0.5

Per-part units

Max tokens per input image
1.445 OpenAI images guide, 2026-09-07
Tokens per input image, low detail
85 OpenAI images guide, 2026-09-07
Tokens per document page
5.445 OpenAI PDF guide, 2026-09-07

batch

  • Input: Rp18.500 per million tokens
  • Output: Rp74.000 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",
       "messages": [{"role": "user", "content": "halo"}]}'