uttapen

Solar Pro 4 vs Laguna XS 2.1

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, Solar Pro 4 comes out about 1.2× cheaper.

FeatureSolar Pro 4Laguna XS 2.1
ProviderUpstagePoolside
Model idupstage/solar-pro4poolside/laguna-xs-2.1
Context524,288 tokens262,144 tokens
Max output131,072 tokens32,768 tokens
Input / 1M tokens8,704 toman17,408 toman
Output / 1M tokens34,815 toman34,815 toman
≈ one 1,000-word request57 toman68 toman
Input caching1,741 toman / 1M8,704 toman / 1M
Image inputNoNo
File inputNoNo
Tool callingYesYes
JSON outputYesNo
Reasoning modeYesYes

Which one for what?

Solar Pro 4

  • Multi-step problems, maths, and tracking down a bug
  • Whole documents or a codebase in a single request
  • Agents that call your own APIs and database
  • High-volume work where cost per call decides
57 toman per 1,000 words · Model page

Laguna XS 2.1

  • Multi-step problems, maths, and tracking down a bug
  • Whole documents or a codebase in a single request
  • Agents that call your own APIs and database
  • High-volume work where cost per call decides
68 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": "upstage/solar-pro4",
    "messages": [{"role": "user", "content": "Introduce yourself in one sentence."}],
    "stream": true
  }'

model = "poolside/laguna-xs-2.1"

More comparisons: all pairs · model rankings · full catalogue

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