GPT-3.5 Turbo

GPT-3.5 Turbo is OpenAI's fastest model. It can understand and generate natural language or code, and is optimized for chat and traditional completion tasks. Training data up to Sep 2021.

ChatOpenAI16k tokens$0.545 / $1.6351 · 1M

openai/gpt-3.5-turbo

Contexto
16k tokens
Máx. completion
4,096
Tools
JSON
Lanzamiento
2023-05-28

Llámalo desde Geek Hub

El mismo SDK de OpenAI. Cambia el base URL y el id del modelo.

curl https://api.geekhub.mx/v1/chat/completions \
  -H "Authorization: Bearer $GEEKHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-3.5-turbo",
    "messages": [{"role": "user", "content": "Hola"}]
  }'
Consigue tu API key

Preguntas frecuentes

¿Qué es GPT-3.5 Turbo?
GPT-3.5 Turbo is OpenAI's fastest model. It can understand and generate natural language or code, and is optimized for chat and traditional completion tasks. Training data up to Sep 2021. GPT-3.5 Turbo corre en el API de Geek Hub (compatible con OpenAI). Id: openai/gpt-3.5-turbo.
¿GPT-3.5 Turbo es gratis?
No. El input cuesta $0.545 / 1M tokens y el output $1.6351 / 1M tokens en Geek Hub (markup incluido).
¿Cuál es el contexto de GPT-3.5 Turbo?
GPT-3.5 Turbo tiene una ventana de 16k tokens. Soporta hasta 4,096 tokens de completion.
¿GPT-3.5 Turbo soporta tool calling y structured outputs?
GPT-3.5 Turbo acepta tools y tool_choice para function calling. También soporta structured outputs con un JSON schema en response_format.
¿Cuándo se lanzó GPT-3.5 Turbo?
GPT-3.5 Turbo se lanzó el 28 de mayo de 2023.

Más modelos de OpenAI