Models / OpenAI

GPT-4o mini API pricing

$0.15 in, $0.60 out per million tokens.

gpt-4o-minimanaged routeOpenAI SDK
GPT-4o mini on UplinkSwitch

Price · per million tokens, USD

Get a key
TokensOpenAI list priceUplinkSwitchSaving
Input$0.15$0.15none
Cached input$0.075$0.075none
Output$0.60$0.60none
List price: OpenAI's published rate, read October 2026. Prices read from the live catalog on 2026-12-03; the page follows the catalog.
Real-model check: Steady since Oct 23

GPT-4o mini specs

Context window
128,000 tokens
Max output
16,384 tokens
Input
text and image
Released
July 18, 2024

GPT-4o mini is deprecated: OpenAI shuts it down on 2027-01-14 · OpenAI’s deprecations page, read 2026-10-19

On 2026-10-14 OpenAI notified developers that GPT-4o mini (gpt-4o-mini-2024-07-18) will be removed from its API on 2027-01-14, together with GPT-4o, GPT-4.1 and GPT-4.1 mini. Fine-tuned versions follow the same date. OpenAI's recommended replacement for all four is gpt-6-luna (OpenAI deprecations; the model page marks it Deprecated).

Here gpt-4o-mini answers today, and the daily real-model check shows whether it still does. Moving is a one-word change on the same key and base URL: send a different model id. GPT-6 Luna is $0.0625 input and $0.20 output per million tokens here, with a 1,050,000-token context window.

ModelReleasedContextHere, in / outOpenAI list, in / out1,000 chat turns here
GPT-4o mini2024-07-18128,000$0.15 / $0.60$0.15 / $0.60$0.60
GPT-6 Luna2026-09-221,050,000$0.0625 / $0.20$0.10 / $0.50$0.23
GPT-5.6 Luna2026-07-091,050,000$0.12 / $0.72$0.20 / $1.20$0.60
GPT-5.4 Mini2026-03-17400,000$0.75 / $4.50$0.75 / $4.50$3.75

Price per million tokens. A chat turn is 2,000 input and 500 output tokens. Live from the catalog.

GPT-4o mini pricing, worked · cost of 1,000 requests

OpenAI bills GPT-4o mini at $0.15 per million input tokens, $0.075 for cached input and $0.60 for output (OpenAI model page, read 2026-10-19). Here it is $0.15 input and $0.60 output, from prepaid credit. The table prices 1,000 requests of three common shapes at both.

RequestTokens in / outOpenAI listHere
Classify a support ticket300 / 10$0.05$0.05
A chat turn2,000 / 500$0.60$0.60
Summarize a long document10,000 / 400$1.74$1.74

USD for 1,000 requests, uncached input. Here: live from the catalog.

GPT-4o mini takes text and images and returns text, with a 128,000-token context window, up to 16,384 output tokens and an October 2023 knowledge cutoff, per OpenAI's model page.

GPT-4o mini API key · base URL and setup

  1. Create a key in the console at uplinkswitch.ai/console. Credit is prepaid from $10 with no subscription, and the key works at once.
  2. Point your SDK or tool at https://api.uplinkswitch.com/v1, for example with OPENAI_BASE_URL, and send the key as the bearer token.
  3. Send gpt-4o-mini as the model. The same key calls every other model in the catalog.
Python · OpenAI SDK
from openai import OpenAI

client = OpenAI(
    base_url="https://api.uplinkswitch.com/v1",
    api_key="sk-uplink-live-...",
)

completion = client.chat.completions.create(
    model="gpt-4o-mini",
    messages=[{"role": "user", "content": "Summarize this in one line."}],
)
print(completion.choices[0].message.content)
TypeScript · OpenAI SDK
import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://api.uplinkswitch.com/v1',
  apiKey: 'sk-uplink-live-...',
});

const completion = await client.chat.completions.create({
  model: 'gpt-4o-mini',
  messages: [{ role: 'user', content: 'Summarize this in one line.' }],
});
console.log(completion.choices[0].message.content);
curl
curl https://api.uplinkswitch.com/v1/chat/completions \
  -H "authorization: Bearer sk-uplink-live-..." \
  -H "content-type: application/json" \
  -d '{"model":"gpt-4o-mini","messages":[{"role":"user","content":"Hello"}]}'

What would it cost? · paste a prompt, priced before you send it

Input is counted at about 4 characters per token.

GPT-4o mini questions

GPT-4o mini is a model from OpenAI, released July 18, 2024, with a 128,000-token context window, taking text and image input. Through UplinkSwitch it answers the OpenAI SDK on one key as gpt-4o-mini.

$0.15 per million input tokens and $0.60 per million output tokens, with cached input at $0.075. OpenAI's list price is $0.15 and $0.60.

It is pay as you go: prepaid credit from $10, with no subscription or monthly fee, billed per token. A 1,000-token prompt with a 500-token reply costs about $0.0005.

GPT-4o mini has a 128,000-token context window, with up to 16,384 output tokens per request. It takes text and image input.

gpt-4o-mini. Send it as the model through the OpenAI SDK with base URL https://api.uplinkswitch.com/v1.

Create one in the console at uplinkswitch.ai/console: prepaid credit from $10, no subscription, and the key is live at once. The same key calls GPT-4o mini and every other model in the catalog; send it as the bearer token with base URL https://api.uplinkswitch.com/v1.

Every day each model gets the same test prompt, and the results are public on /proof. GPT-4o mini's latest result: Steady since Oct 23.

Yes. OpenAI announced on 2026-10-14 that gpt-4o-mini-2024-07-18 will be removed from its API on 2027-01-14, and recommends gpt-6-luna instead (OpenAI deprecations page, read 2026-10-19). It answers on this key today; /proof shows the daily check.

OpenAI recommends GPT-6 Luna (gpt-6-luna). GPT-6 Luna is $0.0625 input and $0.20 output per million tokens here, with a 1,050,000-token context window. On this key the switch is the model id only.

GPT-4o is the larger model; OpenAI describes GPT-4o mini as its fast, affordable small model for focused tasks such as classification, extraction and tagging. Both have a 128,000-token window and both leave OpenAI's API on 2027-01-14. Here GPT-4o is $2.50 / $10.00 and GPT-4o mini $0.15 / $0.60 per million tokens in / out.

OpenAI has not published a parameter count. What it does publish: a 128,000-token context window, 16,384 output tokens per request, text and image input, and an October 2023 knowledge cutoff.
Join on Telegram
Help