We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.

OpenAI: GPT-3.5 Turbo 16k

openai/gpt-3.5-turbo-16k
TextInput: textTools16KAdded Aug 28, 2023

Try OpenAI: GPT-3.5 Turbo 16k now

Runs on your balance at the prices above. New accounts start with free usage.

One API. Every model.

5 of 5 free messages left today. A free account adds free usage and an API key.Create free accountSign in

Session cost $0.00

OpenAI: GPT-3.5 Turbo 16k at a glance

  • Input price is 567% higher than the median of 434 Text models.
  • Supports tool (function) calling for agents and integrations.
  • Supports structured JSON output with a schema.
  • A typical request (1,000 input / 500 output tokens) costs about $0.02.

About OpenAI: GPT-3.5 Turbo 16k

GPT-3.5 Turbo 16k is a text model from OpenAI, released by the provider on 28 August 2023. It sits in the GPT-3.5 family and is the long context variant of the standard GPT-3.5 Turbo, offering roughly four times the context length of that model. It is a general purpose language model rather than a specialised one, and it is aimed at developers who need more room in a single request than the base GPT-3.5 Turbo provides.

The model accepts text as input and returns text as output. Its context window is 16,385 tokens, and the maximum output is 4,096 tokens. The knowledge cutoff is 30 September 2021, so anything after that date is outside its training data. The larger context is the main differentiator here: OpenAI describes it as supporting approximately 20 pages of text in a single request, which makes it suitable for prompts that carry a lot of source material rather than a short instruction.

That capacity shapes the practical use cases. Summarising long documents, answering questions over a pasted corpus, extracting structured fields from lengthy reports, and multi turn conversations that need to retain a large amount of prior dialogue all fit within the 16,385 token window. Because the model supports tools and structured outputs, it can also be used for function calling style workflows where the model selects a tool and returns arguments, and for responses that must conform to a JSON schema via response_format. Logprobs and top_logprobs are available, which helps when you need to inspect the model's token level confidence rather than just the final text.

You call it through api14's OpenAI-compatible API using the model id "openai/gpt-3.5-turbo-16k". Because the endpoint follows the OpenAI chat completions shape, existing OpenAI SDKs and clients work with only a base URL and key change. The supported request parameters are frequency_penalty, logit_bias, logprobs, max_completion_tokens, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs and top_p. Seed is useful when you want repeatable sampling, and stop sequences let you bound generation.

Two constraints are worth weighing before you commit. The knowledge cutoff of September 2021 means the model has no awareness of later events, libraries or APIs unless you supply that context yourself, and the 4,096 token output ceiling limits how much it can produce in one response even though the input window is large. If your task needs more recent knowledge, a longer output, or image input, this model does not cover it, and a different model on api14 would be the better fit.

How to call the OpenAI: GPT-3.5 Turbo 16k API

  1. Create an API key in your dashboard.
  2. Install the official openai SDK for your language.
  3. Set baseURL to https://api14.com/api/v1 and model to "openai/gpt-3.5-turbo-16k".
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api14.com/api/v1",
  apiKey: process.env.API14_API_KEY,
});

const result = await client.chat.completions.create({
  "model": "openai/gpt-3.5-turbo-16k",
  "messages": [
    {
      "role": "user",
      "content": "Explain vector databases in two sentences."
    }
  ]
});
console.log(result.choices[0].message.content);

Supported parameters

frequency_penaltylogit_biaslogprobsmax_completion_tokensmax_tokenspresence_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_logprobstop_p

Specifications

Context length
16,385
Max output
4,096
Input
text
Output
text
Knowledge cutoff
2021-09-30

Requests on api14 · last 7 days

10-1710-1810-1910-2010-2110-2210-23

OpenAI: GPT-3.5 Turbo 16k: frequently asked questions

How much does the OpenAI: GPT-3.5 Turbo 16k API cost?
OpenAI: GPT-3.5 Turbo 16k costs Input $10.50 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
What is the context window of OpenAI: GPT-3.5 Turbo 16k?
OpenAI: GPT-3.5 Turbo 16k reads up to 16,385 tokens per request: prompt, history and documents together. It writes up to 4,096 output tokens per response.
What can OpenAI: GPT-3.5 Turbo 16k do?
OpenAI: GPT-3.5 Turbo 16k accepts text and returns text. It supports tool calling, structured JSON output.
How do I call OpenAI: GPT-3.5 Turbo 16k from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "openai/gpt-3.5-turbo-16k". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to OpenAI: GPT-3.5 Turbo 16k?
Comparable Text models at a similar price: OpenAI: GPT-5.6 Terra Pro (batch), OpenAI: GPT-5.6 Terra (batch), Google: Gemini 3.1 Pro Preview (batch). Each runs through the same API key, so switching is one string.

OpenAI: GPT-3.5 Turbo 16k community

New topic

This community has no topics yet. Open the first one about OpenAI: GPT-3.5 Turbo 16k.