openai logo
openai

OpenAI: GPT-4.1 Mini (batch)

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
OPENROUTER

Prezzi completi

Tariffe sincronizzate da OpenRouter, per milione di token.

Input
$0.2
per milione di token
Output
$0.8
per milione di token
Lettura cache
$0.05
per milione di token
Ricerca web
$10
per 1.000 chiamate
API

Avvio rapido

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

Questa richiesta invia un batch asincrono con l’ID del modello base. L’ID dell’attività conferma l’invio, non il completamento.

Documentazione API

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

# Replace JOB_ID with the returned id to check progress.
curl --fail-with-body "https://openrouter.ai/api/beta/batches/JOB_ID" \
  -H "Authorization: Bearer $OPENROUTER_API_KEY"
Capacità e modalità

InputOutput

Input
imagetextfile
Output
text
API

Parametri API supportati

max_tokensresponse_formatseedstructured_outputstemperaturetool_choicetoolstop_p
Provider disponibili

1 Provider

Verificato: 7 settembre 2026

Provider live su OpenRouter

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

OpenRouter

OpenAI

Non indicato
Contesto
1.0M
Output massimo
33K
Input
$0.2
Output
$0.8
Lettura cache
$0.05
Scrittura cache
Non indicato
openai

4 modelli

Tutti i modelli
openai logoopenai

OpenAI: GPT-6 Astra

GPT-6 Astra is OpenAI's flagship model for demanding end-to-end work. It is suited for advanced analysis, software engineering, deep research, scientific work, and document creation, with particular strengths in long-horizon...

Contesto
1.1M
Input
file · image · text
Output
text
Input: $10Output: $50per milione di token
Vedi i dettagli del modello
openai logoopenai

OpenAI: GPT-6 Astra (batch)

GPT-6 Astra is OpenAI's flagship model for demanding end-to-end work. It is suited for advanced analysis, software engineering, deep research, scientific work, and document creation, with particular strengths in long-horizon...

Contesto
1.1M
Input
file · image · text
Output
text
Input: $5Output: $25per milione di token
Vedi i dettagli del modello
openai logoopenai

OpenAI: GPT-6 Astra Pro

GPT-6 Astra Pro is the same underlying model as GPT-6 Astra, served with reasoning.mode set to pro for higher-quality responses on complex tasks. Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode

Contesto
1.1M
Input
file · image · text
Output
text
Input: $10Output: $50per milione di token
Vedi i dettagli del modello
openai logoopenai

OpenAI: GPT-6 Astra Pro (batch)

GPT-6 Astra Pro is the same underlying model as GPT-6 Astra, served with reasoning.mode set to pro for higher-quality responses on complex tasks. Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode

Contesto
1.1M
Input
file · image · text
Output
text
Input: $5Output: $25per milione di token
Vedi i dettagli del modello