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ì
Prezzi completi
Tariffe sincronizzate da OpenRouter, per milione di token.
- Input
- $1 per milione di token
- Output
- $4 per milione di token
- Lettura cache
- $0.25 per milione di token
- Ricerca web
- $10 per 1.000 chiamate
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.
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","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"Input → Output
Parametri API supportati
max_tokensresponse_formatseedstructured_outputstemperaturetool_choicetoolstop_p1 Provider
Verificato: 7 settembre 2026
Disponibilità, latenza, throughput e routing cambiano continuamente. Consulta la fonte per i dati correnti.
OpenAI
Non indicato- Contesto
- 1.0M
- Output massimo
- 33K
- Input
- $1
- Output
- $4
- Lettura cache
- $0.25
- Scrittura cache
- Non indicato