OpenAI

GPT-3.5 Turbo 16k

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.45
Output, 1M tokens
$4.6
Benchmark
—

Uptime and speed

Loading…

Pricing

Charged from your prepaid balance for the tokens actually used.

Input tokens$3.45 per 1M tokens
Output tokens$4.6 per 1M tokens

Apps and activity

Loading…

Technical details

Model IDopenai/gpt-3.5-turbo-16k
Context window16K tokens
AcceptsText, pdf
ProducesText
TokenizerGPT
Max output tokens4,096

How to connect

The API is OpenAI-compatible: the official SDKs, LangChain and any client with a "base URL" field work.

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!' }],
})

Start using GPT-3.5 Turbo 16k

Create a free account, get a key in your dashboard and send your first request. Top up your balance when you need it.