GPT-3.5 Turbo es el modelo más rápido de OpenAI. Puede comprender y generar lenguaje natural o código, y está optimizado para tareas de chat y finalización tradicionales. Datos de entrenamiento hasta septiembre de 2021.
Compatible con OpenAI: conserva tu SDK actual
https://api.orcarouter.ai/v1from openai import OpenAI
client = OpenAI(
base_url="https://api.orcarouter.ai/v1",
api_key="$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| Entrada / 1M tokens | $0.500 |
| Salida / 1M tokens | $1.50 |
| Moneda | USD |
Estimación según precio de lista
Solo una estimación: el número real de tokens depende del tokenizador del proveedor.
GET /api/public/models/openai/gpt-3.5-turboAbrir @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