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 Instruct
openai/gpt-3.5-turbo-instructTry OpenAI: GPT-3.5 Turbo Instruct now
Runs on your balance at the prices above. New accounts start with free usage.
One API. Every model.
Session cost $0.00
Settings
Advanced parameters
OpenAI: GPT-3.5 Turbo Instruct at a glance
- Input price is 233% higher than the median of 434 Text models.
- Supports structured JSON output with a schema.
- A typical request (1,000 input / 500 output tokens) costs about $0.00875.
About OpenAI: GPT-3.5 Turbo Instruct
GPT-3.5 Turbo Instruct is a text model from OpenAI, released on 28 September 2023. It is a variant of GPT-3.5 Turbo tuned for instructional prompts, and it omits the chat-related optimizations found in OpenAI's conversational models. Its training data runs up to September 2021, which is the stated knowledge cutoff.
The model takes text as input and returns text as output, so it fits plain completion style work rather than multimodal tasks. It has a context length of 4095 tokens and a maximum output of 3685 tokens. Supported request parameters include temperature, top_p, max_tokens, stop, frequency_penalty, presence_penalty, logit_bias, logprobs, top_logprobs, seed, response_format, and structured_outputs.
Because the model is instruction tuned rather than chat optimized, the natural fit is single-turn prompt to completion work. Typical uses include drafting and rewriting text, summarization, classification, extraction into a defined structure, and generation pipelines where you send one instruction and consume one response. Structured outputs and response_format support are useful when downstream code needs predictable shapes, and logprobs with top_logprobs help when you want to inspect token level confidence. The seed parameter helps when you want more reproducible sampling across runs.
You call the model through api14's OpenAI-compatible API using the model id "openai/gpt-3.5-turbo-instruct". Requests follow the OpenAI chat completions style schema, so existing OpenAI SDKs and clients work with only a base URL and key change. Send your instruction as the user message content and set any of the supported parameters listed above. Note that because this model is instruction tuned rather than chat optimized, prompts written as a clear single instruction tend to suit it better than long multi-turn conversations.
The main constraints to plan around are the context length of 4095 tokens and the knowledge cutoff of September 2021, so anything requiring recent information must be supplied in the prompt itself. Long documents, large code files, or extended multi-turn dialogues may exceed the window or work less naturally here. If you need a conversational back and forth, a chat-optimized model is usually a better match, and if you need a much larger context, another model in the catalog will fit better.
How to call the OpenAI: GPT-3.5 Turbo Instruct API
- Create an API key in your dashboard.
- Install the official openai SDK for your language.
- Set baseURL to https://api14.com/api/v1 and model to "openai/gpt-3.5-turbo-instruct".
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-instruct",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
Supported parameters
frequency_penaltylogit_biaslogprobsmax_tokenspresence_penaltyresponse_formatseedstopstructured_outputstemperaturetop_logprobstop_pSpecifications
- Context length
- 4,095
- Max output
- 3,685
- Input
- text
- Output
- text
- Knowledge cutoff
- 2021-09-30
Requests on api14 · last 7 days
OpenAI: GPT-3.5 Turbo Instruct: frequently asked questions
- How much does the OpenAI: GPT-3.5 Turbo Instruct API cost?
- OpenAI: GPT-3.5 Turbo Instruct costs Input $5.25 / 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 Instruct?
- OpenAI: GPT-3.5 Turbo Instruct reads up to 4,095 tokens per request: prompt, history and documents together. It writes up to 3,685 output tokens per response.
- What can OpenAI: GPT-3.5 Turbo Instruct do?
- OpenAI: GPT-3.5 Turbo Instruct accepts text and returns text. It supports structured JSON output.
- How do I call OpenAI: GPT-3.5 Turbo Instruct from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "openai/gpt-3.5-turbo-instruct". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to OpenAI: GPT-3.5 Turbo Instruct?
- Comparable Text models at a similar price: ByteDance Seed: Seed-2.0-Code, Google: Gemini 3 Flash Preview, Elorian: Glimpse. Each runs through the same API key, so switching is one string.
OpenAI: GPT-3.5 Turbo Instruct community
New topicThis community has no topics yet. Open the first one about OpenAI: GPT-3.5 Turbo Instruct.