openai

OpenAI: GPT-4.1 Mini

openai/gpt-4.1-mini

GPT-4.1 Mini is a mid-sized model delivering performance competitive with GPT-4o at substantially lower latency and cost. It retains a 1 million token context window and scores 45.1% on hard...

Prices updated: 7/28/2026

Input
80
credits / 1M tokens
Output
320
credits / 1M tokens
Context
1048k
tokens
Messages per $1 USD
≈ 420
typical message: 1k tokens in + 500 out

Prices in credits per million tokens. 1 credit = $0.01 USD. Final price, billed in MXN at the exchange rate on payment day + VAT (CFDI). Subject to change without notice.

Additional prices

Cache (read): 20 /1M
Web search: 2,000,000 /1M

Spec sheet

Inputs
image, text, file
Outputs
text
Max output tokens
32,768
Knowledge cutoff
2024-06-30
Tokenizer
GPT
Capabilities
Text / LLM
Vision / OCR
Tools
JSON

Use it in your code

One OpenAI-compatible endpoint. Switch models by changing one line.

curl https://api.deployalo.com/ai/gateway/v1/chat/completions \
  -H "Authorization: Bearer $DEPLOYALO_AI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"openai/gpt-4.1-mini","messages":[{"role":"user","content":"Hola"}]}'

Ready to use it?

Top up a credit pack, create your API key with a spend cap and start in minutes.