← Models
vercel-ai-gateway

Qwen 3.8 Max Prime

alibaba/qwen3.8-max-prime
ReasoningVision

Model details

Model
alibaba/qwen3.8-max-prime
Provider
vercel-ai-gateway
API
anthropic-messages
Base URL
https://ai-gateway.vercel.sh
Input
text, image
Reasoning
Yes
Context window
1,000,000
Max tokens
131,072

Pricing

USD per million tokens.

Input
$4
Output
$12
Cache read
$0.5
Cache write
$5

A reference estimate. Provider pricing and context tiers may vary.

Session cost calculator

Estimate the model requests made during an agent session.

96%
Estimated session$0.82
Uncached input
$0.32
Cache reads
$0.32
Cache writes
$0.0000
Output
$0.18
Without caching
$3.08

25 model requests

The first request starts cold unless marked otherwise. Output is billed separately from context growth. Providers differ in eligibility, context tiers, rounding, and retention.

Compatibility flags

allowEmptySignature
Yes