openai
OpenAI: GPT-3.5 Turbo Instruct
This model is a variant of GPT-3.5 Turbo tuned for instructional prompts and omitting chat-related optimizations. Training data: up to Sep 2021.
Context
4k tokens
Input / 1M tokens
$1.50
Output / 1M tokens
$2
Benchmark
—
Pricing
Input tokens$1.50 per 1M tokens
Output tokens$2 per 1M tokens
Technical details
Model IDopenai/gpt-3.5-turbo-instruct
Context window4k tokens
Input modalitiestext, pdf
Output modalitiestext
TokenizerGPT
Max output tokens4,096
Use with MegaBrain
import OpenAI from 'openai'
const client = new OpenAI({
baseURL: 'https://getmegabrain.com/api/gateway/v1',
apiKey: process.env.MEGABRAIN_API_KEY,
})
const response = await client.chat.completions.create({
model: 'openai/gpt-3.5-turbo-instruct',
messages: [{ role: 'user', content: 'Hello!' }],
})Ready to use OpenAI: GPT-3.5 Turbo Instruct?
Get an API key and start making requests in minutes.
Get an API key