Try Hanzo
OpenAI

GPT-4

GPT-4, through one API key.

POST /v1/chat/completions
example
{ "model": "openai/gpt-4", "messages": [{ "role": "user", "content": "Who are you?" }] }
GPT-4

OpenAI's flagship model, GPT-4 is a large-scale multimodal language model capable of solving difficult problems with greater accuracy than previous models due to its broader general knowledge and advanced reasoning...

8Ktext

Specifications

Context Window8K
Modalitiestext
Price…
Model IDopenai/gpt-4
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-4',
  messages: [{ role: 'user', content: 'Hello!' }]
})

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

Use GPT-4 via Hanzo AI

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

Build what’s next.