openai logo
openai

OpenAI: GPT-4o-mini (batch)

Descrizione della fonte (inglese)

GPT-4o mini is OpenAI's newest model after GPT-4 Omni, supporting both text and image inputs with text outputs. As their most advanced small model, it is many multiples more affordable...

Panoramica

Specifiche del modello

Contesto
128.000 tokens
Output massimo
16.384 tokens
Architettura
text+image+file->text
Tokenizer
GPT
Limite di conoscenza
2023-10-31
Moderato
OPENROUTER

Prezzi completi

Tariffe sincronizzate da OpenRouter, per milione di token.

Input
$0.075
per milione di token
Output
$0.3
per milione di token
Lettura cache
$0.0375
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.

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-4o-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
textimagefile
Output
text
API

Parametri API supportati

frequency_penaltylogit_biaslogprobsmax_tokenspredictionpresence_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_logprobstop_pweb_search_options
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
128K
Output massimo
16K
Input
$0.075
Output
$0.3
Lettura cache
$0.0375
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