Skip to content
Rapid Router
← All models

GPT 4.1 Mini

openai/gpt-4.1-mini-2025-04-14

OpenAI model · Served by OpenAI · live on the gateway

Input / 1M
$0.400
Output / 1M
$1.60
Context
1M tokens
Max output
33K tokens
Input
Text, Image
Released
1y ago

Pricing

Input tokens$0.400 per 1M
Output tokens$1.60 per 1M
Provider list priceExactly what your balance is debited; our fee is charged when you buy credits

About GPT 4.1 Mini

Affordable GPT-4.1 lane for fast coding help and structured extraction

Vision

What it supports

  • Tool calling (function calling)
  • JSON mode and structured output
  • Image input (vision)
  • Audio input
  • Extended reasoning
  • Streaming responses
  • OpenAI SDK, Anthropic SDK and any OpenAI-compatible client

Make a request

curl https://rapidrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $RAPIDROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4.1-mini-2025-04-14",
    "messages": [{ "role": "user", "content": "Hello" }]
  }'

Frequently asked

How do I call GPT 4.1 Mini through an OpenAI-compatible API?

Point any OpenAI-compatible client at https://rapidrouter.ai/api/v1 with a Rapid Router API key and set the model to openai/gpt-4.1-mini-2025-04-14. The chat completions endpoint is https://rapidrouter.ai/api/v1/chat/completions.

What is the context window of GPT 4.1 Mini?

GPT 4.1 Mini has a context window of 1,047,576 tokens on Rapid Router, and returns up to 32,768 output tokens per reply.

What can GPT 4.1 Mini do?

On Rapid Router, GPT 4.1 Mini supports image input.

More GPT models