GPT-4.1

OpenAI shuts down the gpt-4.1 snapshot on 2027-01-14 (announced 2026-10-14); the named replacement is gpt-6-luna.

OpenAI · more OpenAI models · all models

Pricing and specs

Model IDroutexor/gpt-4.1
ProviderOpenAI
Input, per 1M tokens$2
Output, per 1M tokens$8
Cached input, per 1M tokens$0.50
Price sourceProvider list price, checked 2026-11-23.
Context window1.05M tokens
Max output33K tokens
CapabilitiesStreaming, Tools, Vision, JSON

Your provider bills these tokens on your account. A listing is not a promise that your key has access to this model.

Call it

curl https://api.routexor.com/v1/chat/completions \
  -H "Authorization: Bearer $ROUTEXOR_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{"model":"routexor/gpt-4.1","messages":[{"role":"user","content":"Say hello briefly."}],"max_tokens":64}'

Add your OpenAI key in the dashboard first. This call is billed by OpenAI. See the docs for which request paths are supported.