Last refreshed 2026-10-19. Next refresh: weekly.
Why use Qwen3.8-Flash on Vercel AI Gateway?
Vercel AI Gateway offers Qwen3.8-Flash with pay-as-you-go pricing at $0.15/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.8-Flash across 4 providers to find the best fit for your use caseInput / 1M
$0.15
Output / 1M
$0.47
Cache
read $0.016
Batch
Not sourced
Setup recipe
Python + curlInstall
pip install openaiAuth
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.8-flashRequest 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.8-flash",
messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)Gotchas
- Use provider model ID "alibaba/qwen3.8-flash", not the LLMReference slug "qwen3.8-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.8-Flash Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| Alibaba Cloud PAI-EAS | $0.15 | $0.47 |
| OpenRouter | $0.15 | $0.47 |
| Vercel AI Gateway | $0.15 | $0.47 |
| Together AI | $0.15 | $0.47 |
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.15 |
| Output tokens | $0.47 |
Capabilities
VisionMultimodalJSON / Tool usePrompt Caching
About Qwen3.8-Flash
Qwen3.8-Flash is Alibaba's production multimodal Flash API model (id qwen3.8-flash) with native 1M context, coding/agent tools, and vision. Distinct from open-weight Qwen3.8-Flash-Next. Priced $0.15/$0.47 per 1M tokens on QwenCloud; Alibaba maker endpoint on OpenRouter.
Get Started
Model Specs
Released2026-08-26
Parameters125B total, 6B active (API; Together page). Relation to Flash-Next open weights not first-party-proven.
Context1M