OpenAI: GPT-3.5 Turbo 16k

openai/gpt-3.5-turbo-16k

Created Aug 28, 202316,385 context
$3/M input tokens$4/M output tokens

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 to Sep 2021.

Providers for GPT-3.5 Turbo 16k

OpenRouter routes requests to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.

Context
16K
Max Output
4K
Input
$3
Output
$4
Context
16K
Max Output
4K
Input
$3
Output
$4

Apps using GPT-3.5 Turbo 16k

Top public apps this week using this model

1.
Favicon for https://litellm.ai/
liteLLM
Open-source library to simplify LLM calls
15.9Mtokens
2.
Favicon for https://sillytavern.app/
SillyTavern
LLM frontend for power users
940Ktokens
3.
Favicon for https://chub.ai/
Chub AI
GenAI for everyone
268Ktokens
5.
Favicon for https://openrouter.ai/chat
OpenRouter: Chatroom
Chat with multiple LLMs at once
79Ktokens
6.
Favicon for https://novelcrafter.com/
novelcrafter
Your personal novel writing toolbox. Plan, write and tinker with your story.
54Ktokens
7.
Favicon for https://cline.bot/
Cline
Autonomous coding agent right in your IDE
50Ktokens
8.
Favicon for https://github.com/gptme/gptme
32Ktokens
9.
Favicon for https://benchable.ai/
30Ktokens
11.
Favicon for https://apipie.ai/
20Ktokens
12.
Favicon for https://zed.dev/
20Ktokens
13.
Favicon for https://github.com/multi-llm-cli
14Ktokens
14.
Favicon for https://yourdomain.com/
11Ktokens
15.
Favicon for https://librechat.ai/
LibreChat
Feature-rich, open-source ChatGPT clone
9Ktokens
16.
Favicon for https://writingmate.ai/
8Ktokens
18.
Favicon for https://chat.openai.com/
6Ktokens
19.
Favicon for https://ump.ac.za/sccs
5Ktokens

Recent activity on GPT-3.5 Turbo 16k

Tokens processed per day

Mar 28Apr 3Apr 9Apr 15Apr 21Apr 27May 3May 9May 15May 21May 27Jun 2Jun 8Jun 14Jun 20Jun 2602.5M5M7.5M10M

Uptime stats for GPT-3.5 Turbo 16k

Uptime stats for GPT-3.5 Turbo 16k across all providers

When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it.

Learn more about our load balancing and customization options.

Sample code and API for GPT-3.5 Turbo 16k

OpenRouter normalizes requests and responses across providers for you.

OpenRouter provides an OpenAI-compatible completion API to 400+ models & providers that you can call directly, or using the OpenAI SDK. Additionally, some third-party SDKs are available.

In the examples below, the OpenRouter-specific headers are optional. Setting them allows your app to appear on the OpenRouter leaderboards.

from openai import OpenAI

client = OpenAI(
  base_url="https://openrouter.ai/api/v1",
  api_key="<OPENROUTER_API_KEY>",
)

completion = client.chat.completions.create(
  extra_headers={
    "HTTP-Referer": "<YOUR_SITE_URL>", # Optional. Site URL for rankings on openrouter.ai.
    "X-Title": "<YOUR_SITE_NAME>", # Optional. Site title for rankings on openrouter.ai.
  },
  extra_body={},
  model="openai/gpt-3.5-turbo-16k",
  messages=[
    {
      "role": "user",
      "content": "What is the meaning of life?"
    }
  ]
)
print(completion.choices[0].message.content)

Using third-party SDKs

For information about using third-party SDKs and frameworks with OpenRouter, please see our frameworks documentation.

See the Request docs for all possible fields, and Parameters for explanations of specific sampling parameters.

More models from OpenAI

    GPT-3.5 Turbo 16k - API, Providers, Stats | OpenRouter