op
OpenAI: GPT-4.1 Mini
openai/gpt-4.1-mini
AvailableOpenAIimage intext infile intext out
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...
Context
1.0M
tokens in
Max output
33K
tokens out
Price
$0.400 / $1.60
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-mini",
"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-mini",
messages=[{"role": "user", "content": "hello"}],
)Supported parameters
max_completion_tokensmax_tokensresponse_formatseedstructured_outputstemperaturetool_choicetoolstop_p