Alibaba Qwen · LLM API pricing

qwen3-4b API pricing: cheapest provider

2 providers sell qwen3-4b. Nebius Token Factory is cheapest; the most expensive charges 1.7× as much for the same model.

  • Cheapest$0.12per 1M · Nebius Token Factory
  • Input · output$0.08 / $0.24per 1M tokens
  • Price gap1.7×across 2 providers
  • Accuracy52.3%GPQA
  • Context41Kmax tokens
$0.12 Nebius Token Factory1.7× spread$0.20 Fireworks AI
Already paying for qwen3-4b? Check if you overpay →

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

Ranked for your volume

qwen3-4b 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.

ProviderEstimated / monthInput / 1MOutput / 1MContext
1
Nebius Token FactoryCloud platform - lowest for your volumePricing page
$1.28$0.08$0.2432,768
2
Fireworks AIInference providerPricing page
$2.40$0.20$0.2040,960

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

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.

Accuracy: GPQA Diamond (graduate-level science questions) measured by Epoch AI (CC BY 4.0) on qwen3-4b, run Aug 28, 2026. The model is the same at every provider, though quantized deployments can score lower.

Price history

The cheapest price has not changed since tracking started on Sep 28, 2026: $0.12 per 1M tokens at Nebius Token Factory. All price changes

Switch to the cheapest provider

Switch to Nebius Token Factory

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

from openai import OpenAI
import os

client = OpenAI(
    base_url="https://api.tokenfactory.nebius.com/v1",
    api_key=os.environ["NEBIUS_API_KEY"],
)
response = client.chat.completions.create(
    model="Qwen/Qwen3-4B",
    messages=[{"role": "user", "content": "Hello"}],
)
Base URL from Nebius Token Factory's API docs, model name from the open pricing datasets. Check the model page in Nebius Token Factory's docs before you switch production traffic.

Compare qwen3-4b with another model

Or pick any model

Before you pick a provider

Context windows differ by provider, from 33K to 41K tokens. A cheaper host may not accept your longest prompts.