Alibaba Qwen · LLM API pricing

Qwen4 Max API pricing: cheapest provider

2 providers sell Qwen4 Max. DeepInfra is cheapest, and listed prices are close.

  • Cheapest$2.12per 1M · DeepInfra
  • Input · output$1.41 / $4.24per 1M tokens
  • Price gapNonesame price at 2 providers
  • Context1Mmax tokens
$2.12 DeepInfraclose prices$2.12 Novita AI
Compare all 2 providers
Already paying for Qwen4 Max? Check if you overpay →

Standard list prices in USD from each provider's pricing page · last price change Nov 18, 2026 · How we collect and rank prices

Released Nov 16, 2026 · closed weights (models.dev)

Ranked for your volume

Qwen4 Max monthly cost by provider

Change the monthly tokens and the ranking updates instantly, using each provider's standard list price.

More requirements: caching, context, features, provider

Share this page URL to keep your scenario. 2 of 2 providers meet these assumptions.

Cheapest provider for your volume

DeepInfra

Same price at all 2 options

$84.79estimated / month
ProviderEstimated / monthInput / 1MOutput / 1MCached input / 1MContext
1
DeepInfraInference providerCheapestPricing page
$84.79$1.41$4.24$0.0711M
2
Novita AIInference providerPricing page
$84.79$1.41$4.24$0.0711M

Order depends on listed price for your volume only. No provider pays for its position.

What this estimate leaves out

Input volume includes the cached share, not an additional token volume. This is a list-price estimate, not a quote: cache-write charges, cache eligibility/TTL, batch discounts, long-context surcharges, regional pricing and taxes are excluded. Check the provider's terms for your workload before switching.

Price history

The cheapest price has not changed since tracking started on Nov 18, 2026: $2.12 per 1M tokens at DeepInfra. All price changes

Switch to the cheapest provider

Switch to DeepInfra

Already using the OpenAI SDK? Change the base URL, key and model name.

Show the code
from openai import OpenAI
import os

client = OpenAI(
    base_url="https://api.deepinfra.com/v1/openai",
    api_key=os.environ["DEEPINFRA_API_KEY"],
)
response = client.chat.completions.create(
    model="Qwen/Qwen4-Max",
    messages=[{"role": "user", "content": "Hello"}],
)
Base URL from DeepInfra's API docs, model name from the open pricing datasets. Check the model page in DeepInfra's docs before you switch production traffic.

Compare Qwen4 Max with another model

Or compare against any other model

Selected modelQwen4 Max

Before you pick a provider

2 of 2 providers list a cached-input price. Repeated system prompts or documents can cost much less there than the standard input rate shown above.