Qwen3.7 Flash on Vercel AI Gateway

Qwen3.7 · Alibaba

Serverless

Last refreshed 2026-10-19. Next refresh: weekly.

Why use Qwen3.7 Flash on Vercel AI Gateway?

Vercel AI Gateway offers Qwen3.7 Flash with pay-as-you-go pricing at $0.03/1M input tokens. Vercel AI Gateway is a unified AI proxy providing a single OpenAI-compatible API endpoint to 275+ models from 25+ providers including Anthropic, OpenAI, Google, Meta, Mistral, DeepSeek, xAI, Alibaba, Amazon, ByteDance, Cohere, MiniMax, MoonshotAI, KwaiPilot, Black Forest Labs, Recraft, Voyage AI, NVIDIA, and more.

Compare Qwen3.7 Flash across 3 providers to find the best fit for your use case
Input / 1M
$0.030
Output / 1M
$0.13
Cache
read $0.006
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install openai
Auth
export AI_GATEWAY_API_KEY=...
Call
import os
from openai import OpenAI
client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
Model ID
alibaba/qwen3.7-flash

Request example

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)

Gotchas

  • Use provider model ID "alibaba/qwen3.7-flash", not the LLMReference slug "qwen3.7-flash".
  • creator/model-name e.g. kwaipilot/kat-coder-pro-v2
  • The examples expect AI_GATEWAY_API_KEY; rename it only if your application config maps the new variable.

Compare Qwen3.7 Flash Across Providers

ProviderInput (per 1M)Output (per 1M)
Alibaba Cloud PAI-EAS——
Vercel AI Gateway$0.03$0.13
OpenRouter$0.03$0.13

Pricing

TypePrice (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).

Get Started