OpenAI ↗

GPT-3.5 Turbo 16k

openai/gpt-3.5-turbo-16k
Get an API key ↗
Input $4.0500000000
USD / million tokens
Output $5.4000000000
USD / million tokens
Context window16385tokens
Released2023-08-28

Overview GPT-3.5 Turbo 16k

GPT-3.5 Turbo 16k by OpenAI is available through the Chabokan API. Reported inputs: Text. Outputs: Text. The reported context window is 16,385 tokens. Reported features include Tool calling.

Description supplied in the catalogue
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...

Input & output

Input
text
Output
text
Maximum output
4096 tokens

Supported parameters

frequency_penaltylogit_biaslogprobsmax_completion_tokenspresence_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_logprobstop_p
BUILD WITH OPENAI

API usage GPT-3.5 Turbo 16k

Keep real keys out of public code. Examples read CHABOKAN_API_KEY from the environment.

API guide ←
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://ai.chabokan.net/v1",
    api_key=os.environ["CHABOKAN_API_KEY"],
)

response = client.chat.completions.create(
    model="openai/gpt-3.5-turbo-16k",
    messages=[{"role": "user", "content": "Hello, Chabokan!"}],
)
print(response.choices[0].message)
ai.chabokan.net/v1OpenAI SDK

Pricing and cost estimates GPT-3.5 Turbo 16k

Input and output tokens are priced separately. Use the calculator below to estimate costs for your model and request volume. Final rates depend on your account level and actual usage; review any reported additional charges separately.

More from this developer ↗
Pay as you go

Estimate AI model API costs

Estimate token costs by choosing a model, request count, and input and output volumes. Rates come from the same catalogue as the model pricing.

Price level

Prices default to level 3. Level 1 is the standard price; check your console for account eligibility and model access.

Estimated cost—USD
Input —Output —

Token estimate only; image, request, web search, and other charges are excluded. The minimum request fee applies. Your final bill depends on actual usage and account level.

More from this developer

View all models ←