GPT-3.5 Turbo è il modello più veloce di OpenAI. È in grado di comprendere e generare linguaggio naturale o codice, ed è ottimizzato per chat e attività di completamento tradizionali. Dati di addestramento fino a settembre 2021.
Compatibile con OpenAI: mantieni il tuo SDK
https://api.orcarouter.ai/v1import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.orcarouter.ai/v1",
api_key=os.environ["ORCAROUTER_API_KEY"],
)
response = client.chat.completions.create(
model="openai/gpt-3.5-turbo",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)frequency_penaltylogit_biaslogprobsmax_tokenspresence_penaltyresponse_formatseedstopstreamtemperaturetool_choicetoolstop_logprobstop_p| Input / 1M token | $0.500 |
|---|---|
| Output / 1M token | $1.50 |
| Valuta | USD |
Stima basata sul prezzo di listino
Solo una stima — il numero effettivo di token dipende dal tokenizzatore del provider.
Confronta i costi mensuali dei modelli nel calcolatore dei costi LLM
Di cosa parlano gli sviluppatori questa settimana
GET /api/public/models/openai/gpt-3.5-turboApri @misc{orcarouter_gpt_3_5_turbo,
title = {GPT-3.5 Turbo API},
author = {OpenAI},
year = {2023},
howpublished = {OrcaRouter},
url = {https://www.orcarouter.ai/models/openai/gpt-3.5-turbo}
}OpenAI. (2023). GPT-3.5 Turbo API. OrcaRouter. https://www.orcarouter.ai/models/openai/gpt-3.5-turbo