compare/Qwen 3.5 397B A17BvsUform-Gen2-Qwen-500m

Qwen 3.5 397B A17B vs Uform-Gen2-Qwen-500m

Pricing, context window, capabilities, and release date — pulled from each provider's public docs. Both are available via the same AIgateway OpenAI-compatible endpoint; flip the model string to switch.

RUN BOTH LIVE

Paste a prompt. Watch them race.

Both models stream in parallel through your own AIgateway key. Tokens, latency, and cost update as they arrive.

Sign in to runLive streaming uses your own key. It's free to sign up.
 Qwen 3.5 397B A17B
alibaba/qwen3.5-397b-a17b
Uform-Gen2-Qwen-500m
unum/uform-gen2-qwen-500m
ProviderAlibabaUnum
FamilyQwenQwen
Modalitytextvision
Context window262,144 tok4,096 tok
Max output4,096 tok4,096 tok
Released2026-04-152024-02-27
Input price$0.600 /1M$0.0000 /img
Output price$3.60 /1M
Cache read
Toolsyes
Streamingyesyes
Visionyes
JSON modeyes
Reasoningyes
Prompt caching
Qwen 3.5 397B A17B
alibaba/qwen3.5-397b-a17b
Full spec →

Alibaba's Qwen 3.5 is a 397B-parameter mixture-of-experts model with 17B active parameters, offering strong reasoning capabilities with efficient inference.

Strengths
  • MoE efficiency: 17B active of 397B
  • Strong reasoning at low cost
  • 262k context
Uform-Gen2-Qwen-500m
unum/uform-gen2-qwen-500m
Full spec →

UForm-Gen is a small generative vision-language model primarily designed for Image Captioning and Visual Question Answering. The model was pre-trained on the internal image captioning dataset and fine-tuned on public instructions datasets: SVIT, LVIS, VQAs datasets.

Strengths
  • Image understanding
  • Multimodal reasoning
SWITCH BETWEEN THEM

One key, both models, one line different.

# pip install aigateway-py openai
# aigateway-py: sub-accounts, evals, replays, jobs, webhook verify.
# openai SDK: chat/embeddings/images/audio — drop-in compat per our SDK's own guidance.
from openai import OpenAI

client = OpenAI(
    base_url="https://api.aigateway.sh/v1",
    api_key="sk-aig-...",
)

# Try Qwen 3.5 397B A17B
client.chat.completions.create(
    model="alibaba/qwen3.5-397b-a17b",
    messages=[{"role":"user","content":"hello"}],
)

# Try Uform-Gen2-Qwen-500m — same client, same key
client.chat.completions.create(
    model="unum/uform-gen2-qwen-500m",
    messages=[{"role":"user","content":"hello"}],
)
Get an AIgateway keyAdd a third model

Compare with another

Qwen3-Embedding-0.6b vs Uform-Gen2-Qwen-500m
qwen/qwen3-embedding-0.6b · unum/uform-gen2-qwen-500m
Deepseek-R1-Distill-Qwen-32b vs Uform-Gen2-Qwen-500m
deepseek/deepseek-r1-distill-qwen-32b · unum/uform-gen2-qwen-500m
Qwen1.5-0.5b-Chat vs Uform-Gen2-Qwen-500m
qwen/qwen1.5-0.5b-chat · unum/uform-gen2-qwen-500m
Qwen1.5-1.8b-Chat vs Uform-Gen2-Qwen-500m
qwen/qwen1.5-1.8b-chat · unum/uform-gen2-qwen-500m
Qwen1.5-14b-Chat-Awq vs Uform-Gen2-Qwen-500m
qwen/qwen1.5-14b-chat-awq · unum/uform-gen2-qwen-500m
Qwen1.5-7b-Chat-Awq vs Uform-Gen2-Qwen-500m
qwen/qwen1.5-7b-chat-awq · unum/uform-gen2-qwen-500m
Qwen2.5-Coder-32b-Instruct vs Uform-Gen2-Qwen-500m
qwen/qwen2.5-coder-32b-instruct · unum/uform-gen2-qwen-500m
Qwen3-30b-A3b-Fp8 vs Uform-Gen2-Qwen-500m
qwen/qwen3-30b-a3b-fp8 · unum/uform-gen2-qwen-500m
Qwq-32b vs Uform-Gen2-Qwen-500m
qwen/qwq-32b · unum/uform-gen2-qwen-500m