LiteLLMModels

Qwen3 Embedding 4B API Pricing

As of October 10, 2026, Qwen3 Embedding 4B is free to use on Fireworks AI. It has a 40,960-token context window and returns up to 40,960 tokens per response.

By AlibabaModel ID fireworks_ai/accounts/fireworks/models/qwen3-embedding-4bPrices updated Checked
Price
Free
Context window
40,960 tokens
Max output
40,960 tokens
Providers
1
Added to LiteLLM
December 2025

Qwen3 Embedding 4B pricing by provider

1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

ProviderModel name in LiteLLMInputOutputContext
Fireworks AIfireworks_ai/accounts/fireworks/models/qwen3-embedding-4b$0$040K

What Qwen3 Embedding 4B costs in practice

Embedding 10,000 documents of 500 tokens each

Fireworks AI$0

Use Qwen3 Embedding 4B with LiteLLM

Call Qwen3 Embedding 4B through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/embeddings. LiteLLM tracks the cost of every request at these prices.

Python SDK
from litellm import embedding

response = embedding(
    model="fireworks_ai/accounts/fireworks/models/qwen3-embedding-4b",
    input=["hello world"],
)
Proxy config.yaml
model_list:
  - model_name: qwen3-embedding-4b
    litellm_params:
      model: fireworks_ai/accounts/fireworks/models/qwen3-embedding-4b
      api_key: os.environ/FIREWORKS_AI_API_KEY
Call the proxy
curl http://0.0.0.0:4000/v1/embeddings \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-1234" \
  -d '{
    "model": "qwen3-embedding-4b",
    "input": "hello world"
  }'

Qwen3 Embedding 4B FAQ

How much does Qwen3 Embedding 4B cost?

Qwen3 Embedding 4B is free to use on Fireworks AI.

What is the context window of Qwen3 Embedding 4B?

Qwen3 Embedding 4B has a 40,960-token context window and returns up to 40,960 tokens per response.

Which providers offer Qwen3 Embedding 4B?

Qwen3 Embedding 4B is available from Fireworks AI through LiteLLM, using the model name fireworks_ai/accounts/fireworks/models/qwen3-embedding-4b.

How do I call Qwen3 Embedding 4B with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="fireworks_ai/accounts/fireworks/models/qwen3-embedding-4b", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/embeddings from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

When did LiteLLM add Qwen3 Embedding 4B?

Qwen3 Embedding 4B was added to LiteLLM's model price file in December 2025.

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request.

LiteLLM docs: Fireworks AI.

Provider pages: Fireworks AI.