Try Hanzo
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.

Specifications

Context Window16K
Modalitiestext
Price…
Model IDopenai/gpt-3.5-turbo-16k
TypeScript
import OpenAI from 'openai'

const client = new OpenAI({
  apiKey: process.env.HANZO_API_KEY,
  baseURL: 'https://api.hanzo.ai/v1'
})

const response = await client.chat.completions.create({
  model: 'openai/gpt-3.5-turbo-16k',
  messages: [{ role: 'user', content: 'Hello!' }]
})

console.log(response.choices[0].message.content)
…

Use GPT-3.5 Turbo 16k via Hanzo AI

One API key. Every major model. OpenAI-compatible. Start free.