Qwen3.7-Max on Vercel AI Gateway

Qwen3.7 · Alibaba

Serverless

Last refreshed 2026-06-29. Next refresh: weekly.

Why use Qwen3.7-Max on Vercel AI Gateway?

Vercel AI Gateway offers Qwen3.7-Max with pay-as-you-go pricing at $2.50/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-Max across 4 providers to find the best fit for your use case
Input / 1M
$2.50
Output / 1M
$7.50
Cache
read $0.50
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-max

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-max",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • Use provider model ID "alibaba/qwen3.7-max", not the LLMReference slug "qwen3.7-max".
  • 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-Max Across Providers

ProviderInput (per 1M)Output (per 1M)
Alibaba Cloud PAI-EAS$2.50$7.50
Vercel AI Gateway$2.50$7.50
Novita AI$1.25$3.75
OpenRouter$1.25$3.75

Pricing

TypePrice (per 1M)
Input tokens$2.50
Output tokens$7.50

Capabilities

ReasoningJSON / Tool useStructured OutputsCode ExecutionPrompt Caching

About Qwen3.7-Max

Alibaba's closed-weight flagship language model, announced at the 2026 Alibaba Cloud Summit (May 20). Scored 56.6 on Artificial Analysis Intelligence Index at launch—highest-ranked Chinese model. 1M-token context with prompt caching (up to 90% discount). Pricing: $2.50/$7.50 per 1M tokens in/out.

Get Started