openai logo
openai

OpenAI: GPT-4o (2024-08-06)

Descrizione della fonte (inglese)

The 2024-08-06 version of GPT-4o offers improved performance in structured outputs, with the ability to supply a JSON schema in the responeformat. Read more here. GPT-4o ("o" for "omni") is...

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
Sì
OPENROUTER

Prezzi completi

Tariffe sincronizzate da OpenRouter, per milione di token.

Input
$2.5
per milione di token
Output
$10
per milione di token
Lettura cache
$1.25
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-4o-2024-08-06","messages":[{"role":"user","content":"Hello!"}]}'
Capacità e modalità

Input → Output

Input
textimagefile
Output
text
API

Parametri API supportati

frequency_penaltylogit_biaslogprobsmax_completion_tokensmax_tokenspredictionpresence_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_logprobstop_pweb_search_options
Provider disponibili

2 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
128K
Output massimo
16K
Input
$2.5
Output
$10
Lettura cache
$1.25
Scrittura cache
Non indicato

OpenAI

Non indicato
Contesto
128K
Output massimo
16K
Input
$2.5
Output
$10
Lettura cache
$1.25
Scrittura cache
Non indicato
openai

4 modelli

Tutti i modelli