Available now
OpenAI

gpt-4.1

GPT-4.1 is a flagship large language model optimized for advanced instruction following, real-world software engineering, and long-context reasoning. It supports a 1 million token context window and outperforms GPT-4o and...

TextToolsFilesVision1MCache
InputFree
OutputFree
Endpointsopenai

Capabilities

ToolsParallel toolsVisionFilesCacheStructuredStreamingSystem msg

Modalities

Input
imagetextfile
Output
text

Quick stats

Context window1M
Max output32.8K
Modechat
TokenizerGPT
Knowledge cutoff2024

Performance

Loading performance data...

Supported parameters

ParameterAlwaysDefault
max_completion_tokens--
max_tokens--
response_format-
seed-
structured_outputs-
temperature-
tool_choice-
tools-
top_p-
§ 01

Pricing

Input price$0.00 · 1M tokens
Output price$0.00 · 1M tokens
Compatible endpointsopenai
VendorOpenAI
§ 02

Call gpt-4.1 from your code

Point any OpenAI-compatible SDK at UnoRouter and request the model by name. Replace YOUR_API_KEY with a real key from your dashboard.

bash
curl https://api.unorouter.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4.1",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Sign in to auto-fill your API key

§ 03

Frequently asked questions

How much does gpt-4.1 cost per 1M tokens?

Input is priced at $0.00 per 1M tokens, output at $0.00 per 1M tokens. Billing is per token, no rounding to batch sizes.

How do I access gpt-4.1 via API?

Send requests to the UnoRouter /v1/chat/completions endpoint with model=gpt-4.1. Any OpenAI-compatible client library works. Authentication uses a standard Bearer token.

§ 04

Similar models

Try gpt-4.1 now

Create an API key and start making requests in under a minute.

View all models