Hugging Face

Hugging Face: GPT-3.5 Turbo

deprecated

GPT-3.5 Turbo is available through Everstack's OpenAI-compatible gateway with routing, fallback, retries, and observability.

huggingface-gpt-3.5-turbogpt-3.5
Context
16.4K
tokens
Max output
4.1K
tokens
Input
$0.50
per 1M
Output
$1.50
per 1M

Activity

Daily period usage
Aggregated managed Everstack traffic. Buckets below 5 tenants or 100 requests are withheld.

Providers

ProviderContextInput /MOutput /M

Pricing

ItemPriceUnit
Input$0.50per 1M tokens
Output$1.50per 1M tokens

Performance

Reliability

Compare

Compare usage and performance
Place this model beside up to three other catalog models.

Capabilities

Capabilities
Modalities
Input
Output
Details
Model ID
huggingface-gpt-3.5-turbo
Family
gpt-3.5
Status
deprecated
Knowledge
-
Released
-
Gateway Config
API
2024-01-01
Auth
HUGGINGFACE_API_KEY
Discovery
dynamic
Provider type
meta

Quick Start

index.ts
import Everstack from "@everstack/node";const client = new Everstack({  apiKey: process.env.EVERSTACK_API_KEY!,  baseUrl: "https://{instance}.{region}.everstack.ai",});const completion = await client.chat.completions.create({  model: "@huggingface/huggingface-gpt-3.5-turbo",  messages: [{ role: "user", content: "Explain vector cache routing." }],});console.log(completion.choices[0]?.message?.content);

Endpoint

Base URL
https://router.huggingface.co/v1
Chat completions
https://router.huggingface.co/v1/chat/completions
Model
huggingface-gpt-3.5-turbo
Auth env
HUGGINGFACE_API_KEY

GPT-3.5 Turbo FAQ

How much does the GPT-3.5 Turbo API cost?

Through Hugging Face, GPT-3.5 Turbo costs $0.50 per 1M input tokens and $1.50 per 1M output tokens.

What is the context window of GPT-3.5 Turbo?

GPT-3.5 Turbo accepts up to 16.4K tokens of context and returns up to 4.1K output tokens on Hugging Face.

What can GPT-3.5 Turbo do?

GPT-3.5 Turbo supports chat and function calling. It accepts text input.

How do I call GPT-3.5 Turbo through Everstack?

Point any OpenAI-compatible SDK at your Everstack gateway and set the model to @huggingface/huggingface-gpt-3.5-turbo. Everstack adds retries, provider fallback, caching, per-tenant budgets and OpenTelemetry traces for every request.