Back to the models list Active on this gateway

Openai: gpt-4o-mini

openai/gpt-4o-mini Start building free

gpt-4o-mini is an OpenAI model in the GPT‑4o family, designed as a lighter, cheaper, and faster variant while retaining much of GPT‑4o’s general-purpose capability. It targets everyday application workloads such as chatbots, simple agents, product integrations, and high-volume API use where latency and cost are critical. Compared with larger GPT‑4‑class models, it typically trades some peak reasoning depth and accuracy for speed and affordability, but still supports a broad range of language tasks and basic multimodal interactions. It is intended as a practical default for developers who need scalable, production-friendly intelligence rather than maximum model capacity.

Modalities
Context 128K tokens
Quota cost Standard (1×)
Added September 23, 2026

Pricing

Current price per 1,000,000 tokens. Every request is billed automatically from its exact usage.

Free to use Included at no cost — no input or output charges for this model.

Included in plans

Chat GPT Chat GPT Chat GPT

Statistics

Live performance and usage of this model, aggregated across all users.

Rolling 30 days Aggregated across all users · refreshed every few minutes
Requests 1,097 ▲ 10,870% vs previous 30 days
Success rate 97,17% 31 failed requests
Median latency 1,18 s p95 3,81 s
Throughput 26,5 output tokens per second
Tokens processed 2,9M 2,678 avg. per request
Est. cost per request Free no usage charges
Popularity #3 of 35 5,18% of all requests
Uptime (24h) 95,14% 453 requests

Usage over time

Token usage

Last 30 days
Input tokens
2,9M 98,5%
Output tokens
43,7K 1,5%
Avg. input per request
2,638
Avg. output per request
40
Largest request
21,944 tokens

Reliability

Last 30 days
Successful
1,065 97,1%
Failed
31 2,8%
No response
1
  • 200 Success 1,065 97,1%
  • 400 Bad request 31 2,8%
  • — No response 1 0,1%

Response time

Successful requests · last 30 days
Fastest545 ms
Average1,55 s
Median1,18 s
95th percentile3,81 s
99th percentile7,39 s
Slowest15,55 s

Last 24 hours

≥ 99% ≥ 90% < 90%
Latency (ms)
Requests per hour

Usage rhythm

Last 30 days · site timezone
  • Busiest hour: 08:00
  • Busiest weekday: Sunday
  • Busiest day: 22 November (418 requests)

All-time record

Total requests
1,107
Total tokens
2,9M
Active days
14
First request
20 October 2026
Last request
35 دقیقه ago

API

Call this model from any OpenAI-compatible client using your API token.

curl
curl https://apiex.cloud/api/v1/chat/completions \
  -H "Authorization: Bearer $NEW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "openai/gpt-4o-mini",
  "messages": [
    {
      "role": "user",
      "content": "Explain quantum entanglement in one paragraph."
    }
  ],
  "temperature": 0.7
}'
Authentication

Every request must include an Authorization: Bearer <TOKEN> header. Generate a token from your account's API Keys page — its access to models is set automatically from your active plans and redeemed codes, and you can set its rate limit and IP restrictions.

Supported parameters
Parameter Type Description
modelstring, requiredThis model's ID, exactly as shown above.
messagesarray, requiredConversation history as role/content objects (system, user, assistant).
temperaturenumber, optionalSampling randomness, typically 0–2.
max_tokensinteger, optionalUpper limit on tokens generated in the reply.
top_pnumber, optionalNucleus-sampling threshold, as an alternative to temperature.
streamboolean, ignoredResponses are always returned in full so the exact cost can be billed; streaming is not available.

Replace YOUR_API_KEY with a token from your account, then see the full API reference for every parameter.

Frequently asked questions

What is gpt-4o-mini?

gpt-4o-mini is an OpenAI model in the GPT‑4o family, designed as a lighter, cheaper, and faster variant while retaining much of GPT‑4o’s general-purpose capability. It targets everyday application workloads such as chatbots, simple agents, product integrations, and high-volume API use where latency and cost are critical. Compared with larger GPT‑4‑class models, it typically trades some peak reasoning depth and accuracy for speed and affordability, but still supports a broad range of language tasks and basic multimodal interactions. It is intended as a practical default for developers who need scalable, production-friendly intelligence rather than maximum model capacity.

How much does gpt-4o-mini cost?

Input tokens are priced at $0,18 per 1,000,000 tokens and output tokens at $0,72 per 1,000,000 tokens. Pricing is billed automatically per request; no separate plan is required.

What is the context length of gpt-4o-mini?

gpt-4o-mini supports a context window of up to 128,000 tokens.

Does gpt-4o-mini support image input?

Yes, gpt-4o-mini accepts image input in addition to text.

Which provider is gpt-4o-mini from?

gpt-4o-mini is developed by Openai and made available on this gateway through our routing infrastructure.

When was gpt-4o-mini added to this gateway?

gpt-4o-mini has been available on this gateway since September 23, 2026.

Is gpt-4o-mini currently available?

Yes, gpt-4o-mini is active and can be used right now through this gateway.

Explore more models

Keep exploring