GPT-5 Mini

Text & chatDeprecatedAvailable
by OpenAIModel ID: gpt-5-mini

Smaller, faster, cheaper member of OpenAI's GPT-5 family. Tuned for high-throughput chat, classification and extraction where the full flagship is overkill.

Price · 1M in / out
US$0.30 / US$2.40
Context
400,000 tokens
Max. output
128,000 tokens
Input → output
Text + Image → Text
Developer
OpenAI
Updated
September 23, 2026

The provider is phasing this model out.

01

Playground

Try GPT-5 Mini

Chat

US$0.30/1M in
Try GPT-5 Mini

Send a message. The answer arrives in full once the model is done (no streaming).

System prompt
Max. answer length (tokens)

This run

at most US$0.0025 · 0.25 credits reserved

Billed by the tokens actually used; the unused part of the reservation is refunded.

New here?

10 free credits (US$0.10) when you sign up with Google

Usable 24 hours after sign-up, up to 5 runs per day and at most 2 credits per run. Other sign-in methods start without credits. Enough for 40 runs of this model.

02

About GPT-5 Mini

TL;DRAs of September 23, 2026

GPT-5 Mini is a model by OpenAI in the Text & chat category. On Railwail, GPT-5 Mini costs US$0.30 per 1M input tokens and US$2.40 per 1M output tokens. The context window holds 400,000 tokens, and one response can be up to 128,000 tokens long.

03

Pricing

Prices in US dollars. Usage is charged from prepaid credits.
InputUS$0.30 / 1M tokens
OutputUS$2.40 / 1M tokens
  • Billed by the tokens each request actually uses.
  • 1 credit = US$0.01

Cost calculator

Price calculator

/ req.
/ req.

Total

US$0.15

15 credits

Per request

US$0.0015 · 0.15 credits

Each request is rounded up to 0.01 credits.

04

API

Call GPT-5 Mini with your Railwail API key. Use this model ID in the request:
curl https://railwail.com/api/v1/chat/completions \
  -H "Authorization: Bearer $RAILWAIL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5-mini",
    "messages": [
      {
        "role": "user",
        "content": "Explain what a vector database is in two sentences."
      }
    ],
    "max_tokens": 1024
  }'
Set your key as RAILWAIL_API_KEYCreate API key
05

Specifications

Model ID
gpt-5-mini
Developer
OpenAI
Category
Text & chat
Input
Text, Image
Output
Text
Context window
400,000 tokens
Max. output
128,000 tokens
Billing
By usage (tokens or GPU time)
Lifecycle
Deprecated
Catalog entry updated
September 23, 2026

Tags

  • openai
  • gpt-5
  • cost-efficient
  • fast
06

Use cases

07

Frequently asked questions

What is GPT-5 Mini?

GPT-5 Mini is a model by OpenAI in the Text & chat category. On Railwail you can call it with an API key through the Railwail API.

How much does GPT-5 Mini cost on Railwail?

On Railwail, GPT-5 Mini costs US$0.30 per 1M input tokens and US$2.40 per 1M output tokens. You are charged for what each request actually uses. Usage is paid from prepaid credits; 1 credit equals US$0.01.

What is the context window of GPT-5 Mini?

The context window of GPT-5 Mini holds 400,000 tokens. One response can be up to 128,000 tokens long.

How fast is GPT-5 Mini?

There are not enough measured runs of GPT-5 Mini on Railwail yet to state a run time. It depends on the input, the settings and the load at the provider.

Is GPT-5 Mini better than Claude Fable 5.1?

That depends on the task. GPT-5 Mini (OpenAI) and Claude Fable 5.1 (Anthropic) are both models in the Text & chat category. The comparison page shows their prices and specifications side by side.

Compare GPT-5 Mini and Claude Fable 5.1

Can GPT-5 Mini process images?

Yes. GPT-5 Mini accepts images as input in addition to text.

How do I use GPT-5 Mini through the API?

Create a Railwail API key and send your request with the model ID gpt-5-mini. Code examples for curl, Python and JavaScript are in the API section of this page.

08

Comparable models

All in this category
  • Anthropic's model for the most demanding reasoning and long-horizon agentic work. 1M-token context window, up to 128K output tokens, adaptive thinking that is always on.

    US$12.00/1M in

    3,900 % more expensive per unit

    Compare GPT-5 Mini vs. Claude Fable 5.1
  • The most capable model of Anthropic's Opus 4 series. State of the art on long-horizon agentic work, coding and knowledge tasks, with a 1M-token context window at standard pricing.

    US$6.00/1M in

    1,900 % more expensive per unit

    Compare GPT-5 Mini vs. Claude Opus 4.8
  • Anthropic's current Opus model for long-running agentic coding and knowledge work. 1M-token context window, up to 128K output tokens, adaptive thinking that is always on.

    US$4.80/1M in

    1,500 % more expensive per unit

    Compare GPT-5 Mini vs. Claude Opus 5.5

Use GPT-5 Mini via the API

One API key for every model on Railwail. Usage is charged from prepaid credits, 1 credit = US$0.01.