Vercel AI Gateway exposes Qwen3.7 Flash through model ID alibaba/qwen3.7-flash. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.
Last refreshed 2026-10-19. Next refresh: weekly.
Quick Start
- 1
- 2Use the Vercel AI Gateway SDK or REST API to call
alibaba/qwen3.7-flash— see the documentation for request format. - 3
Code Examples
Install
pip install openaiAPI key
AI_GATEWAY_API_KEYModel ID
alibaba/qwen3.7-flashcreator/model-name e.g. kwaipilot/kat-coder-pro-v2
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["AI_GATEWAY_API_KEY"],
base_url="https://ai-gateway.vercel.sh/v1"
)
response = client.chat.completions.create(
model="alibaba/qwen3.7-flash",
messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)Pricing on Vercel AI Gateway
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.03 |
| Output tokens | $0.13 |
Capabilities
VisionMultimodalReasoningJSON / Tool useStructured OutputsPrompt Caching
About Qwen3.7 Flash
Qwen3.7 Flash (API ids qwen3.7-flash / qwen3.7-flash-2026-07-15) is Alibaba's native vision-language Flash model in the Qwen3.7 series. Multimodal agents, visual coding, search/CI agents; upgraded vs 3.6-Flash. Bailian Model Studio: 1M context; pricing 0.2/0.8 CNY per 1M in/out (USD FP page captcha-blocked — Alibaba USD join tokens blank).
Model Specs
Context1M