GPT 4o
OpenAI
openai/gpt-4o
128K context, vision
Context Window
128K
128,000 tokens
Max Output
16K
16,384 tokens
About this model
Previous flagship with vision, strong all-around performance
This model supports up to 128K tokens of context. It includes native vision understanding for analyzing images and documents. It provides strong code generation and debugging capabilities.
Access it through Chuizi.AI with a single ck- API key β no separate OpenAI account needed.
Highlights
128K context window
16K max output
Native vision support
Strong code generation
Best For
Code generationRefactoringDebuggingDocumentation
2024-05-13
Capabilities
ChatVisionCodepdftoolscache
Aliases
gpt-4oPricing (per 1M tokens)
| Pricing (per 1M tokens) | / 1M tokens |
|---|---|
| Input / 1M | $2.63 |
| Output / 1M | $10.50 |
| Cache Read | $1.31 |
Final prices shown
Quick Start
main.py
from openai import OpenAI client = OpenAI( base_url="https://api.chuizi.ai/v1", api_key="ck-your-key-here", ) response = client.chat.completions.create( model="openai/gpt-4o", messages=[{"role": "user", "content": "Hello!"}], ) print(response.choices[0].message.content)