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.
Both models stream in parallel through your own AIgateway key. Tokens, latency, and cost update as they arrive.
| Qwen1.5-14b-Chat-Awq qwen/qwen1.5-14b-chat-awq | Uform-Gen2-Qwen-500m unum/uform-gen2-qwen-500m | |
|---|---|---|
| Provider | Alibaba Qwen | Unum |
| Family | Qwen | Qwen |
| Modality | text | vision |
| Context window | 4,096 tok | 4,096 tok |
| Max output | 4,096 tok | 4,096 tok |
| Released | 2024-02-05 | 2024-02-27 |
| Input price | $0.120 /1M | $0.0000 /img |
| Output price | $0.240 /1M | — |
| Cache read | — | — |
| Tools | — | — |
| Streaming | yes | yes |
| Vision | — | yes |
| JSON mode | — | — |
| Reasoning | — | — |
| Prompt caching | — | — |
Qwen1.5 is the improved version of Qwen, the large language model series developed by Alibaba Cloud. AWQ is an efficient, accurate and blazing-fast low-bit weight quantization method, currently supporting 4-bit quantization.
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.
# 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 Qwen1.5-14b-Chat-Awq
client.chat.completions.create(
model="qwen/qwen1.5-14b-chat-awq",
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"}],
)