# 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.

- Page: https://models.litellm.ai/models/qwen3-embedding-4b
- Lab: Alibaba
- LiteLLM model name: `fireworks_ai/accounts/fireworks/models/qwen3-embedding-4b`
- Context window: 40,960 tokens
- Max output: 40,960 tokens
- Added to LiteLLM: December 2025
- Prices updated: October 10, 2026

## Pricing by provider

Token prices in USD per 1M tokens.

| Provider | Model name | Input | Output | Cache read | Per image | Per second | Context |
|---|---|---|---|---|---|---|---|
| Fireworks AI | `fireworks_ai/accounts/fireworks/models/qwen3-embedding-4b` | $0 | $0 | – | – | – | 40K |

## Cost examples

Embedding 10,000 documents of 500 tokens each:

- Fireworks AI: $0

## Use it with LiteLLM

```python
from litellm import embedding

response = embedding(
    model="fireworks_ai/accounts/fireworks/models/qwen3-embedding-4b",
    input=["hello world"],
)
```

## 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.

Source: LiteLLM model price file, https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json
