GPT-4.1 nano (Batch)

openai/gpt-4.1-nano-batch

A chat model with a 1M-token context window, at $0.0525 per million input tokens and $0.21 per million output tokens.

Details

Maker
openai
Kind
Chat
Context window
1,047,576 tokens
Max output
32,768 tokens
Input
$0.0525 per million tokens
Cached input
$0.013125 per million tokens, 75% off
Cache write
Same as input
Output
$0.21 per million tokens
Capabilities
Tool use, vision, file input
Takes
Text, image, pdf
Returns
Text
Zero data retention
Not on every provider
No training on requests
Yes, on every provider
Released
2025-04-14

Description

GPT-4.1 nano is the fastest, most cost-effective GPT 4.1 model.

Call it

curl
curl https://phantom.codes/v1/chat/completions \
  -H "Authorization: Bearer $PHANTOM_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4.1-nano-batch",
    "messages": [
      {"role": "user", "content": "Hello"}
    ]
  }'

Set PHANTOM_KEY to your key. Any OpenAI client works with the base URL https://phantom.codes/v1.