Skip to content

OpenAI · Text

GPT-4o mini API pricing

openai/gpt-4o-mini

OpenAI has deprecated GPT-4o mini and has not dated its shutdown yet. OpenAI recommends GPT-6 Luna. From 00:00 UTC that day INFRO refuses requests for it before any provider call, naming the replacement; it never switches your requests to another model. OpenAI’s deprecation notice. Model shutdown dates

Legacy small multimodal chat. GPT-4o mini by OpenAI, routed through INFRO on a OpenAI account you connect — alongside every other provider you run. OpenAI bills you for it directly, on that account and at your own rate. INFRO adds routing, failover, request logs, cost attribution and policy around it, and takes no part of what you pay OpenAI.

Pricing

Per 1M tokensUSD · updated 2026-10-05

OpenAI rate

$0.263

per 1M tokens, billed to you by OpenAI

INFRO adds

$0

0% markup on model spend

Per-token rates

$0.15 / 1M input tokens·$0.60 / 1M output tokens

The headline figure above is these two blended at a 3:1 input:output ratio, so one number is comparable across modalities. Your own ratio will move it.

Calling GPT-4o mini

POST /v1/chat/completions
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["INFRO_API_KEY"],
    base_url="https://api.infro.io/v1",
)

response = client.chat.completions.create(
    model="openai/gpt-4o-mini",
    messages=[{"role": "user", "content": "Hello"}],
)

What this modality supports

  • Streaming
  • Tool calling
  • Structured outputs
  • Prompt caching

Frontier and open-weight language models behind an OpenAI-compatible endpoint. Streaming, tool calling, structured outputs, and vision pass straight through — and prompt caching is priced at the provider's own cached rate.

Providers that serve GPT-4o mini

You request "openai/gpt-4o-mini" from INFRO; it sends each provider the id that provider expects. Connect your own account with any of them, and INFRO routes and fails over between the ones you connect.

ProviderModel id sent
OpenAIgpt-4o-mini
Azure OpenAIgpt-4o-mini
OpenRouteropenai/gpt-4o-mini

Same modality, nearest in price. All of them share the request shape above, so comparing them is a one-word change.

More OpenAI models

All OpenAI models

GPT-4o mini: questions

How much does the GPT-4o mini API cost?
OpenAI's published list rate for GPT-4o mini is $0.15 per 1M input tokens and $0.60 per 1M output tokens, with cached input at $0.075 per 1M tokens (checked 2026-10-05). The provider account you connect bills you at the rate on that account, so a negotiated rate replaces the list rate. INFRO adds 0% to model spend.
Which providers serve GPT-4o mini?
In INFRO's provider registry, GPT-4o mini can be served by OpenAI, Azure OpenAI and OpenRouter. You connect your own account with any of them, and INFRO routes and fails over between the ones you connect.
What is the GPT-4o mini model ID?
Request it from INFRO as "openai/gpt-4o-mini". INFRO sends each provider its own id: OpenAI "gpt-4o-mini", Azure OpenAI "gpt-4o-mini", OpenRouter "openai/gpt-4o-mini".
How do I call GPT-4o mini through an OpenAI-compatible API?
Point an OpenAI SDK, or any HTTP client, at https://api.infro.io/v1 with an INFRO gateway key and send model "openai/gpt-4o-mini" to POST /v1/chat/completions. INFRO runs the request on a provider account you connected and returns the provider's response with an estimated cost.
Is GPT-4o mini being retired?
OpenAI has deprecated GPT-4o mini and has not dated its shutdown yet. OpenAI recommends GPT-6 Luna.
Does INFRO mark up GPT-4o mini usage?
No. OpenAI or the provider you connect bills model usage to your own account. INFRO charges a software subscription for routing, failover, observability, budgets and policy, and takes 0% of model spend.

Work out what GPT-4o mini would cost you

Put your monthly usage of this model into the calculator to see the provider cost on your own account and the INFRO subscription side by side, never summed.