openai logo
openai

OpenAI: GPT-4.1 Mini

Descrizione della fonte (inglese)

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

Panoramica

Specifiche del modello

Contesto
1.047.576 tokens
Output massimo
32.768 tokens
Architettura
text+image+file->text
Tokenizer
GPT
Limite di conoscenza
2024-06-30
Moderato
Sì
OPENROUTER

Prezzi completi

Tariffe sincronizzate da OpenRouter, per milione di token.

Input
$0.4
per milione di token
Output
$1.6
per milione di token
Lettura cache
$0.1
per milione di token
API

Avvio rapido

Imposta OPENROUTER_API_KEY localmente. Python richiede requests; JavaScript viene eseguito in Node.js. Conserva la chiave sul server.

Documentazione API

curl --fail-with-body https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"openai/gpt-4.1-mini","messages":[{"role":"user","content":"Hello!"}]}'
Capacità e modalità

Input → Output

Input
imagetextfile
Output
text
API

Parametri API supportati

max_completion_tokensmax_tokensresponse_formatseedstructured_outputstemperaturetool_choicetoolstop_p
Provider disponibili

3 provider

Verificato: 7 settembre 2026

Provider live su OpenRouter

Disponibilità, latenza, throughput e routing cambiano continuamente. Consulta la fonte per i dati correnti.

OpenRouter

Azure

Non indicato
Contesto
1.0M
Output massimo
943K
Input
$0.4
Output
$1.6
Lettura cache
$0.1
Scrittura cache
Non indicato

OpenAI

Non indicato
Contesto
1.0M
Output massimo
33K
Input
$0.4
Output
$1.6
Lettura cache
$0.1
Scrittura cache
Non indicato

Azure

Non indicato
Contesto
1.0M
Output massimo
943K
Input
$0.44
Output
$1.76
Lettura cache
$0.11
Scrittura cache
Non indicato
openai

4 modelli

Tutti i modelli