op
OpenAI: GPT-3.5 Turbo 16k
openai/gpt-3.5-turbo-16k
AvailableOpenAItext intext out
This model offers four times the context length of gpt-3.5-turbo, allowing it to support approximately 20 pages of text in a single request at a higher cost. Training data: up...
Context
16K
tokens in
Max output
4.1K
tokens out
Price
$3.00 / $4.00
per 1M in / out
Quick start
curl https://api.token265.com/v1/chat/completions \
-H "Authorization: Bearer ${OPENROUTER_KEY}" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-3.5-turbo-16k",
"messages": [{"role": "user", "content": "hello"}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.token265.com/v1", api_key="sk-...")
client.chat.completions.create(
model="openai/gpt-3.5-turbo-16k",
messages=[{"role": "user", "content": "hello"}],
)Supported parameters
frequency_penaltylogit_biaslogprobsmax_completion_tokenspresence_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_logprobstop_p