Skip to content
ModelsRankingsChatDocsPricing
op

OpenAI: GPT-4.1 (batch)

openai/gpt-4.1:batch

AvailableOpenAIimage intext infile intext out

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...

Context

1.0M

tokens in

Max output

33K

tokens out

Price

$1.00 / $4.00

per 1M in / out

Quick start

curl https://api.token265.com/v1/chat/completions \
  -H "Authorization: Bearer ${OPENROUTER_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4.1:batch",
    "messages": [{"role": "user", "content": "hello"}]
  }'
from openai import OpenAI

client = OpenAI(base_url="https://api.token265.com/v1", api_key="sk-...")
client.chat.completions.create(
    model="openai/gpt-4.1:batch",
    messages=[{"role": "user", "content": "hello"}],
)

Supported parameters

max_tokensresponse_formatseedstructured_outputstemperaturetool_choicetoolstop_p

More from OpenAI