openai logo
openai

OpenAI: GPT-5 Mini (batch)

Source description (English)

GPT-5 Mini is a compact version of GPT-5, designed to handle lighter-weight reasoning tasks. It provides the same instruction-following and safety-tuning benefits as GPT-5, but with reduced latency and cost....

Overview

Model specifications

Context
400,000 tokens
Maximum output
128,000 tokens
Architecture
text+image+file->text
Tokenizer
GPT
Knowledge cutoff
2024-05-31
Moderated
Yes
OPENROUTER

Complete pricing

Synchronized OpenRouter rates. Token prices are shown per one million tokens.

Input
$0.125
per 1M tokens
Output
$1
per 1M tokens
Cache read
$0.0125
per 1M tokens
Web search
$10
per 1,000 calls
API

Model configuration

Reasoning

Reasoning required
Yes
Default parameters
medium
Capabilities
high, medium, low, minimal
API

Quick start

Set OPENROUTER_API_KEY locally. Python requires requests; JavaScript runs in Node.js. Keep the key on the server.

This submits an asynchronous batch using the base model ID. A job ID confirms submission, not completion.

API documentation

curl --fail-with-body https://openrouter.ai/api/beta/batches \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"endpoint":"/v1/chat/completions","model":"openai/gpt-5-mini","requests":[{"custom_id":"request-1","body":{"messages":[{"role":"user","content":"Hello!"}]}}]}'

# Replace JOB_ID with the returned id to check progress.
curl --fail-with-body "https://openrouter.ai/api/beta/batches/JOB_ID" \
  -H "Authorization: Bearer $OPENROUTER_API_KEY"
Capabilities

InputOutput

Input
textimagefile
Output
text
Reasoning

No · high · medium · low · minimal

API

Supported API parameters

include_reasoningmax_tokensreasoningreasoning_effortresponse_formatseedstructured_outputstool_choicetools
Available providers

1 Provider

Checked: September 7, 2026

Live providers on OpenRouter

Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.

OpenRouter

OpenAI

Not provided
Context
400K
Maximum output
128K
Input
$0.125
Output
$1
Cache read
$0.0125
Cache write
Not provided
openai

4 models

All models
openai logoopenai

OpenAI: GPT-6 Astra

GPT-6 Astra is OpenAI's flagship model for demanding end-to-end work. It is suited for advanced analysis, software engineering, deep research, scientific work, and document creation, with particular strengths in long-horizon...

Context
1.1M
Input
file · image · text
Output
text
Input: $10Output: $50per 1M tokens
View model details
openai logoopenai

OpenAI: GPT-6 Astra (batch)

GPT-6 Astra is OpenAI's flagship model for demanding end-to-end work. It is suited for advanced analysis, software engineering, deep research, scientific work, and document creation, with particular strengths in long-horizon...

Context
1.1M
Input
file · image · text
Output
text
Input: $5Output: $25per 1M tokens
View model details
openai logoopenai

OpenAI: GPT-6 Astra Pro

GPT-6 Astra Pro is the same underlying model as GPT-6 Astra, served with reasoning.mode set to pro for higher-quality responses on complex tasks. Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode

Context
1.1M
Input
file · image · text
Output
text
Input: $10Output: $50per 1M tokens
View model details
openai logoopenai

OpenAI: GPT-6 Astra Pro (batch)

GPT-6 Astra Pro is the same underlying model as GPT-6 Astra, served with reasoning.mode set to pro for higher-quality responses on complex tasks. Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode

Context
1.1M
Input
file · image · text
Output
text
Input: $5Output: $25per 1M tokens
View model details