GPT-3.5 Turbo 16k

openai/gpt-3.5-turbo-16k
ZDR
ToolsJSON
by OpenAI · 2023-08-28

GPT-3.5 Turbo 16k is an OpenAI model optimized for extended conversational and text-processing tasks. It has a context window of 16,385 tokens and a maximum output of 4,096 tokens, supporting only text inputs. This variant of GPT-3.5 Turbo doubles the context length of the standard 4k model, allowing it to handle longer documents, multi‑turn conversations, and larger codebases without truncation. On the MMLU-Pro benchmark, it achieves a score of 46.2, reflecting its capability across a broad range of knowledge domains. Through OrcaRouter, you can access GPT-3.5 Turbo 16k via a fully compatible OpenAI‑style API at base_url https://api.orcarouter.ai/v1 using the model id "openai/gpt-3.5-turbo-16k". Pricing follows the provider rate directly with no markup: $3.00 per 1M input tokens and $4.00 per 1M output tokens. This zero‑markup structure makes it cost‑predictable for applications that need longer context but do not require the higher reasoning depth of GPT‑4.

Max output4K
Inputtext
Outputtext
Data retentionZero Data Retention available. With ZDR on, requests go only to providers with a zero-retention agreement.
Runs inEuropean Union
Context window16Ktokens
INPUT$3.00/ 1M tokens
OUTPUT$4.00/ 1M tokens
p50 TTFTCollecting…
p95 TTFTCollecting…

Pricing

Pricing
Input / 1M tokens$3.00
Output / 1M tokens$4.00
CurrencyUSD

Cost calculator

Tokens / month2MM
Input share80%%
Estimated / month $6.40

1.6M input × $3/M + 400K output × $4/M

Estimate based on list price

Per-request examples
ScenarioInput / output tokensPer requestPer 1,000 requests
Chat reply200 / 300$0.0018$1.80
Summarize a long doc30K / 1K$0.094$94.00
Code review8K / 2K$0.032$32.00

Token & cost estimator

Input tokens: 20Cost per request: $0.002060

Estimate only — actual token counts depend on the provider's tokenizer.

Code samples

Use an OpenAI-compatible SDK or send an HTTP request. Get API key

API key
export ORCAROUTER_API_KEY=…
Base URL
https://api.orcarouter.ai/v1
import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.orcarouter.ai/v1",
    api_key=os.environ["ORCAROUTER_API_KEY"],
)

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

Example response

{
  "id": "chatcmpl-…",
  "object": "chat.completion",
  "created": 1763280000,
  "model": "openai/gpt-3.5-turbo-16k",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hello! How can I help you today?"
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 9,
    "completion_tokens": 10,
    "total_tokens": 19
  }
}
  • choices[0].message.content — the model's answer.
  • finish_reason — "stop" means the answer is complete; "length" means it was cut off at max_tokens.
  • usage — the input and output tokens this call is billed for.

An HTTP 200 with finish_reason "stop" means the call succeeded.

Supported parameters

ParameterWhat it does
max_tokensUpper limit on the number of tokens the model generates.
temperatureSampling randomness: lower is more focused, higher is more varied.
toolsFunctions the model may call, described as JSON Schema.
response_formatForce JSON output, optionally matching a JSON Schema.
top_pNucleus sampling: only consider tokens within this cumulative probability.

Full API reference

Use cases and examples

  • Agents and tool use — Calls the functions you define, for agents and tool workflows.
  • Structured extraction — Returns JSON that follows your schema, for pulling fields out of text.
  • Long‑form content summarization and analysis (e.g., research papers, legal documents)
  • Multi‑turn customer support chatbots that retain entire conversation history
  • Code understanding and generation across large codebases or multi‑file projects
  • Document translation and comparison where full context matters
  • Extractive question‑answering over lengthy articles or books

Performance

p50 TTFTTime to first token for a typical request: half of requests got their first token faster than this.
Collecting…
Output speedHow many tokens per second the model streams once it starts answering.
Collecting…
p95 TTFTTime to first token for a slow request: 95% of requests got their first token faster than this.
Collecting…
Error rateShare of requests to this model on OrcaRouter that ended in an error over the window.
100.0%

Benchmarks

10.7
AA CodingArtificial Analysis Coding Index: one 0–100 score that combines its coding evaluations.
Better than 1% of models compared
#133 of 138
5.5
AA IntelligenceArtificial Analysis Intelligence Index: one 0–100 score that combines its evaluations of reasoning, knowledge, math and coding.
Better than 0% of models compared
#150 of 153
GPQA DiamondGPQA Diamond: graduate-level biology, physics and chemistry questions written to be hard to look up.
29.7#134 of 137
MATH-500MATH-500: 500 competition math problems from the MATH dataset.
44.1#29 of 32
MMLU-ProMMLU-Pro: hard ten-option multiple-choice questions across 14 academic subjects.
46.2#88 of 91
Source: artificialanalysis.ai

Compare models

GPT-3.5 Turbo 16kGPT-5.2 ProGPT-5.4 ProGPT-5.5
Input $/M$3.00$21.00$60.00$5.00
Output $/M$4.00$168.00$270.00$30.00
Context16K400K1.1M—
Quality2/1010/1010/1010/10
Compare side-by-sideCompare side-by-sideCompare side-by-sideCompare side-by-side

FAQ

What is the cost of GPT-3.5 Turbo 16k on OrcaRouter?
The cost is $3.00 per 1M input tokens and $4.00 per 1M output tokens, billed at the exact OpenAI provider rate with zero markup. There are no additional platform fees.
What is the context window size?
The model supports a context window of 16,385 tokens and a maximum output of 4,096 tokens. It handles text input only.
What are the strengths of this model compared to GPT-3.5 Turbo 4k?
The main strength is its 16k context, allowing you to process longer documents or conversations in a single request without splitting. Performance on benchmarks is slightly better as well: 46.2 on MMLU‑Pro versus about 43 on standard MMLU for the 4k variant.
How does it compare to GPT-4?
GPT-3.5 Turbo 16k is far less capable on reasoning, factual accuracy, and nuanced tasks. GPT‑4 scores >80 on MMLU and handles complex logic better, but is 10‑20x more expensive and slower. Use GPT-3.5 Turbo 16k when extended context is needed but advanced reasoning is not.
How does OrcaRouter handle my data when I use this model?
OrcaRouter acts as a proxy: it forwards your API request to OpenAI and returns the response. It does not store or log prompt contents beyond transient request handling. For detailed data handling, refer to OrcaRouter’s privacy policy and OpenAI’s data usage terms.
How do I call this model using an OpenAI-compatible API?
Set your base URL to https://api.orcarouter.ai/v1 and use the model ID "openai/gpt-3.5-turbo-16k". All other chat‑completion parameters (messages, temperature, max_tokens, etc.) work identically to the OpenAI API.
What if I exceed the 16,384‑token limit?
OrcaRouter will return an error indicating that the combined prompt and completion tokens exceed the model's context window. You need to shorten the input, reduce max_tokens, or split the request into multiple calls.
Can I use streaming with this model?
Yes, set the stream parameter to true in your request. OrcaRouter will stream tokens back as data events, following the same format as the OpenAI streaming API.
Is there any minimum spend or commitment?
No. You pay only for tokens used. There are no subscription fees, minimum monthly commitments, or volume discounts. The pricing is strictly pay‑as‑you‑go.

Embed this badge

OpenAI: GPT-3.5 Turbo 16k•$3.00/M in•—•via OrcaRouter
HTML <a href="https://www.orcarouter.ai/models/openai/gpt-3.5-turbo-16k" target="_blank"> <img src="https://www.orcarouter.ai/embed/openai/gpt-3.5-turbo-16k.svg" alt="OpenAI: GPT-3.5 Turbo 16k on OrcaRouter" /> </a>
Markdown [![OpenAI: GPT-3.5 Turbo 16k](https://www.orcarouter.ai/embed/openai/gpt-3.5-turbo-16k.svg)](https://www.orcarouter.ai/models/openai/gpt-3.5-turbo-16k)

Model card as data

GET /api/public/models/openai/gpt-3.5-turbo-16kOpen
Machine-readable:/llms.txt/llms-full.txt