uttapen

o1 vs GPT-4

Both sit behind the same key and the same code on uttapen — the only thing that changes is the model string, so you can run each of them against your own workload without touching anything else. On cost, o1 comes out about 1.2× cheaper.

Featureo1GPT-4
ProviderOpenAIOpenAI
Model idopenai/o1openai/gpt-4
Context200,000 tokens8,191 tokens
Max output100,000 tokens4,096 tokens
Input / 1M tokens4,351,875 toman8,703,750 toman
Output / 1M tokens17,407,500 toman17,407,500 toman
≈ one 1,000-word request28,287 toman33,945 toman
Input caching2,175,938 toman / 1MNo
Image inputYesNo
File inputYesNo
Tool callingYesYes
JSON outputYesYes
Reasoning modeYesNo

Which one for what?

o1

  • Multi-step problems, maths, and tracking down a bug
  • Whole documents or a codebase in a single request
  • Reading screenshots, invoices, and scanned forms
  • Agents that call your own APIs and database
28,287 toman per 1,000 words · Model page

GPT-4

  • Agents that call your own APIs and database
33,945 toman per 1,000 words · Model page

Run both with the same code

Swap the model value between the two ids and send the same request twice; what each answer cost comes back in the X-Uttapen-Cost-Toman header.

curl https://api.uttapen.ir/v1/chat/completions \
  -H "Authorization: Bearer sk-up-…" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/o1",
    "messages": [{"role": "user", "content": "Introduce yourself in one sentence."}],
    "stream": true
  }'

model = "openai/gpt-4"

More comparisons: all pairs · model rankings · full catalogue

base_url = https://api.uttapen.ir/v1