← All models
OpenAI logo

GPT 3.5 Turbo

Retiring September 28, 2026
Chat

openai:gpt-3.5-turbo

Added February 28, 2023

Usage

import OpenAI from "openai";

const client = new OpenAI({
    baseURL: "https://api.tributary.cc/openai/v1",
    apiKey: "<TRIBUTARY_API_KEY>",
});

const completion = await client.chat.completions.create({
    model: "openai:gpt-3.5-turbo",
    messages: [
        { role: "user", content: "Hello!" }
    ],
});

console.log(completion.choices[0].message.content);

Providers

Provider Model Context Output Input $/M Output $/M
OpenAI gpt-3.5-turbo 16K 4K $0.50 $1.50
Context/output in tokens. Prices in USD per 1M tokens.