Models

Qwen3.8 Max vs Sonar Pro

API price, context window, capabilities and live speed, side by side.

Qwen3.8 Max is about 2.0× cheaper than Sonar Pro at a typical 3:1 input-to-output token mix. Qwen3.8 Max has the larger context window (1M vs 200K tokens). Only Qwen3.8 Max supports tool calling; Sonar Pro does not. Both run on the same UltraGPT API key, so you can switch between them by changing the model field - or list both in models: [...] for automatic fallback.

Qwen3.8 MaxSonar Pro
LabAlibaba (Qwen)Other
Model idqwen3.8-maxsonar-pro
Input / 1M tokens$2$3
Cached input / 1M$0.25$3
Output / 1M tokens$6$15
Context window1M200K
Inputtext, image, videotext, image
Outputtexttext
Tool calling✓—
Vision (image input)✓✓
Reasoning——

Cost of 1,000 requests

Estimated from the list prices above; your real cost is reported per request in usage.cost.

Chatbot1.5K tokens in, 400 outQwen3.8 Max $5.40Sonar Pro $10.50
RAG over documents20K in, 800 outQwen3.8 Max $44.80Sonar Pro $72.00
Coding agent step40K in (80% cached), 1.5K outQwen3.8 Max $33.00Sonar Pro $142.50

Use both, with automatic fallback

Same key, same endpoint: change the model id between "qwen3.8-max" and "sonar-pro".

curl https://api.ultragpt.pro/v1/chat/completions \
  -H "Authorization: Bearer $ULTRAGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3.8-max",
    "models": ["sonar-pro"],
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

FAQ

Which is cheaper, Qwen3.8 Max or Sonar Pro?

Qwen3.8 Max: $2 in / $6 out per 1M. Sonar Pro: $3 in / $15 out per 1M. Prices are in USD and billed per use from your UltraGPT balance.

Can I use Qwen3.8 Max and Sonar Pro with the same API key?

Yes. Both are available through the OpenAI-compatible UltraGPT API at https://api.ultragpt.pro/v1: set model to "qwen3.8-max" or "sonar-pro".

Which has a bigger context window, Qwen3.8 Max or Sonar Pro?

Qwen3.8 Max: 1,000,000 tokens. Sonar Pro: 200,000 tokens.

More comparisons