- Context
- 1M
- Input /M
- $0.185/M
- Output /M
- $0.554/M
- Cache read /M
- $0.0185/M
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
Alibaba
Privacy can differ by model. See each model’s label.
Not ZDR
DeepSeek V4 Flash 0731, DeepSeek V4 Flash 0731 (Thinking), DeepSeek V4.1 Flash, DeepSeek V4.1 Flash (Thinking), GLM 5.1, GLM 5.1 (Thinking), GLM 5.2, GLM 5.2 (Thinking), GLM 5.3, GLM 5.3 (Thinking), Kimi K2.7 Code, Kimi K3, Qwen 2.5 Max, Qwen 3.6 27B, Qwen 3.6 27B Thinking, Qwen 4 Max, Qwen 4 Max Thinking, Qwen Plus, Qwen Turbo, Qwen3 Coder Flash, Qwen3.5 122B A10B, Qwen3.5 122B A10B Thinking, Qwen3.5 27B, Qwen3.5 27B Thinking, Qwen3.5 35B A3B, Qwen3.5 35B A3B Thinking, Qwen3.5 397B, Qwen3.5 397B Thinking, Qwen3.5 Flash, Qwen3.5 Flash Thinking, Qwen3.5 Omni Flash, Qwen3.5 Omni Plus, Qwen3.5 Plus, Qwen3.5 Plus Thinking, Qwen3.6 Flash, Qwen3.6 Max Preview, Qwen3.7 Flash, Qwen3.7 Flash Thinking, Qwen3.7 Max, Qwen3.7 Max Thinking, Qwen3.7 Plus, Qwen3.7 Plus Thinking, Qwen3.8 27B, Qwen3.8 27B Thinking, Qwen3.8 Flash, Qwen3.8 Max, Qwen3.8 Max 0902, Qwen3.8 Max Thinking, Qwen3.8 Omni Flash
Unverified
DeepSeek V4.1 Flash 1017, DeepSeek V4.1 Flash 1017 (Thinking), Qwen 3.6 Plus, Qwen3.8 Max Prime
Broader provider policy: Not ZDR. The labels beside individual models apply only to those routes.
Models served by Alibaba
53 models
- Context
- 1M
- Input /M
- $0.185/M
- Output /M
- $0.554/M
- Cache read /M
- $0.0185/M
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1M
- Input /M
- $0.0945/M
- Output /M
- $0.378/M
- Cache read /M
- $0.0019/M
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1M
- Input /M
- $0.0945/M
- Output /M
- $0.378/M
- Cache read /M
- $0.0019/M
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1M
- Input /M
- $0.0945/M
- Output /M
- $0.378/M
- Cache read /M
- $0.0019/M
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1M
- Input /M
- $0.0945/M
- Output /M
- $0.378/M
- Cache read /M
- $0.0019/M
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 203k
- Input /M
- $1.40/M
- Output /M
- $4.39/M
- Cache read /M
- $0.259/M
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 203k
- Input /M
- $1.40/M
- Output /M
- $4.39/M
- Cache read /M
- $0.259/M
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1M
- Input /M
- $1.01/M
- Output /M
- $3.19/M
- Cache read /M
- $0.203/M
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1M
- Input /M
- $1.01/M
- Output /M
- $3.19/M
- Cache read /M
- $0.203/M
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1M
- Input /M
- $1.25/M
- Output /M
- $3.93/M
- Cache read /M
- $0.25/M
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1M
- Input /M
- $1.25/M
- Output /M
- $3.93/M
- Cache read /M
- $0.25/M
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 262k
- Input /M
- $0.998/M
- Output /M
- $4.20/M
- Cache read /M
- $0.20/M
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1M
- Input /M
- $3.15/M
- Output /M
- $15.75/M
- Cache read /M
- $0.315/M
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 32k
- Input /M
- $1.60/M
- Output /M
- $6.39/M
- Cache read /M
- $0.80/M
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 260k
- Input /M
- $0.63/M
- Output /M
- $3.78/M
- Cache read /M
- N/A
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 260k
- Input /M
- $0.63/M
- Output /M
- $3.78/M
- Cache read /M
- N/A
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1M
- Input /M
- $0.341/M
- Output /M
- $2.05/M
- Cache read /M
- Supported
- Cache write /M
- $0.427/M
- TTFT
- N/A
- Throughput
- N/A
- Context
- 984k
- Input /M
- $1.57/M
- Output /M
- $4.72/M
- Cache read /M
- $0.0787/M
- Cache write /M
- $1.97/M
- TTFT
- N/A
- Throughput
- N/A
- Context
- 984k
- Input /M
- $1.57/M
- Output /M
- $4.72/M
- Cache read /M
- $0.0787/M
- Cache write /M
- $1.97/M
- TTFT
- N/A
- Throughput
- N/A
- Context
- 996k
- Input /M
- $0.40/M
- Output /M
- $1.20/M
- Cache read /M
- $0.20/M
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1M
- Input /M
- $0.05/M
- Output /M
- $0.201/M
- Cache read /M
- $0.025/M
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 128k
- Input /M
- $0.30/M
- Output /M
- $1.50/M
- Cache read /M
- $0.15/M
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 131k
- Input /M
- $0.42/M
- Output /M
- $3.36/M
- Cache read /M
- N/A
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 131k
- Input /M
- $0.42/M
- Output /M
- $3.36/M
- Cache read /M
- N/A
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 260k
- Input /M
- $0.315/M
- Output /M
- $2.52/M
- Cache read /M
- N/A
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 260k
- Input /M
- $0.315/M
- Output /M
- $2.52/M
- Cache read /M
- N/A
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 260k
- Input /M
- $0.263/M
- Output /M
- $2.10/M
- Cache read /M
- N/A
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 260k
- Input /M
- $0.263/M
- Output /M
- $2.10/M
- Cache read /M
- N/A
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 262k
- Input /M
- $0.41/M
- Output /M
- $2.46/M
- Cache read /M
- N/A
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 262k
- Input /M
- $0.41/M
- Output /M
- $2.46/M
- Cache read /M
- N/A
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 992k
- Input /M
- $0.10/M
- Output /M
- $0.40/M
- Cache read /M
- $0.05/M
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 992k
- Input /M
- $0.10/M
- Output /M
- $0.40/M
- Cache read /M
- $0.05/M
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 49k
- Input /M
- $0.43/M
- Output /M
- $1.66/M
- Cache read /M
- $0.043/M
- Cache write /M
- $0.537/M
- TTFT
- N/A
- Throughput
- N/A
- Context
- 984k
- Input /M
- $1.40/M
- Output /M
- $8.30/M
- Cache read /M
- $0.14/M
- Cache write /M
- $1.75/M
- TTFT
- N/A
- Throughput
- N/A
- Context
- 984k
- Input /M
- $0.40/M
- Output /M
- $2.40/M
- Cache read /M
- $0.04/M
- Cache write /M
- $0.50/M
- TTFT
- N/A
- Throughput
- N/A
- Context
- 984k
- Input /M
- $0.40/M
- Output /M
- $2.40/M
- Cache read /M
- $0.04/M
- Cache write /M
- $0.50/M
- TTFT
- N/A
- Throughput
- N/A
- Context
- 992k
- Input /M
- $0.19/M
- Output /M
- $1.16/M
- Cache read /M
- $0.02/M
- Cache write /M
- $0.24/M
- TTFT
- N/A
- Throughput
- N/A
- Context
- 246k
- Input /M
- $1.04/M
- Output /M
- $6.24/M
- Cache read /M
- $0.52/M
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 992k
- Input /M
- $0.03/M
- Output /M
- $0.13/M
- Cache read /M
- $0.006/M
- Cache write /M
- $0.038/M
- TTFT
- N/A
- Throughput
- N/A
Above 32k tokens: in $0.10/M · out $0.40/M · cache read $0.02/M · cache write $0.125/M
Above 256k tokens: in $0.20/M · out $0.80/M · cache read $0.04/M · cache write $0.25/M
- Context
- 984k
- Input /M
- $0.03/M
- Output /M
- $0.13/M
- Cache read /M
- $0.006/M
- Cache write /M
- $0.038/M
- TTFT
- N/A
- Throughput
- N/A
Above 32k tokens: in $0.10/M · out $0.40/M · cache read $0.02/M · cache write $0.125/M
Above 256k tokens: in $0.20/M · out $0.80/M · cache read $0.04/M · cache write $0.25/M
- Context
- 1M
- Input /M
- $2.63/M
- Output /M
- $7.88/M
- Cache read /M
- $0.525/M
- Cache write /M
- $3.28/M
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1M
- Input /M
- $2.63/M
- Output /M
- $7.88/M
- Cache read /M
- $0.525/M
- Cache write /M
- $3.28/M
- TTFT
- N/A
- Throughput
- N/A
- Context
- 992k
- Input /M
- $0.42/M
- Output /M
- $1.68/M
- Cache read /M
- $0.084/M
- Cache write /M
- $0.525/M
- TTFT
- N/A
- Throughput
- N/A
Above 256k tokens: in $1.26/M · out $5.04/M · cache read $0.252/M · cache write $1.57/M
- Context
- 984k
- Input /M
- $0.42/M
- Output /M
- $1.68/M
- Cache read /M
- $0.084/M
- Cache write /M
- $0.525/M
- TTFT
- N/A
- Throughput
- N/A
Above 256k tokens: in $1.26/M · out $5.04/M · cache read $0.252/M · cache write $1.57/M
- Context
- 1M
- Input /M
- $0.446/M
- Output /M
- $2.68/M
- Cache read /M
- $0.0892/M
- Cache write /M
- $0.558/M
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1M
- Input /M
- $0.446/M
- Output /M
- $2.68/M
- Cache read /M
- $0.0892/M
- Cache write /M
- $0.558/M
- TTFT
- N/A
- Throughput
- N/A
- Context
- 992k
- Input /M
- $0.157/M
- Output /M
- $0.493/M
- Cache read /M
- $0.0168/M
- Cache write /M
- $0.21/M
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1M
- Input /M
- $2.10/M
- Output /M
- $6.30/M
- Cache read /M
- $0.263/M
- Cache write /M
- $2.63/M
- TTFT
- N/A
- Throughput
- N/A
- Context
- 992k
- Input /M
- $2.10/M
- Output /M
- $6.30/M
- Cache read /M
- $0.263/M
- Cache write /M
- $2.63/M
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1M
- Input /M
- $4.20/M
- Output /M
- $12.60/M
- Cache read /M
- $0.525/M
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1M
- Input /M
- $2.10/M
- Output /M
- $6.30/M
- Cache read /M
- $0.263/M
- Cache write /M
- $2.63/M
- TTFT
- N/A
- Throughput
- N/A
- Context
- 992k
- Input /M
- $0.157/M
- Output /M
- $0.493/M
- Cache read /M
- $0.0168/M
- Cache write /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
Prices are per million tokens. TTFT is the observed time to first token. Selectable routes include the applicable provider-selection markup; fixed routes show the standard model price. Availability and pricing refresh continuously; each model page shows the live provider comparison.
Using Alibaba via the API
Call a model served by Alibaba using its displayed model ID, including the provider suffix when selection is supported.
cURL
curl https://api.nano-gpt.com/api/v1/chat/completions \
-H "Authorization: Bearer $NANOGPT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek/deepseek-v4-flash-0731:alibaba",
"messages": [{"role": "user", "content": "Hello"}]
}'For models with provider selection, append :alibaba to the model ID, set "provider": "alibaba" in the request body, or send an X-Provider: alibaba header. Explicit provider selection adds a route-specific markup over that provider's base price; the prices in the table above already include it. Models without provider selection use the displayed model ID without a provider suffix or selection surcharge.
See the API documentation for provider preferences, price-aware routing, and error behavior.