openai
OpenAI: GPT-3.5 Turbo 16k
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...
Context
16k tokens
Input / 1M tokens
$3
Output / 1M tokens
$4
Benchmark
—
Pricing
Input tokens$3 per 1M tokens
Output tokens$4 per 1M tokens
Technical details
Model IDopenai/gpt-3.5-turbo-16k
Context window16k 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-16k',
messages: [{ role: 'user', content: 'Hello!' }],
})Ready to use OpenAI: GPT-3.5 Turbo 16k?
Get an API key and start making requests in minutes.
Get an API key