We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.
Qwen: Qwen3 Embedding 4B
qwen/qwen3-embedding-4bTry Qwen: Qwen3 Embedding 4B now
Runs on your balance at the prices above. New accounts start with free usage.
Results will appear here.
Settings
Qwen: Qwen3 Embedding 4B at a glance
- Input price is close to the median of 34 Embeddings models.
- Context window of 32,768 tokens, enough for long documents and multi-turn conversations.
About Qwen: Qwen3 Embedding 4B
Qwen: Qwen3 Embedding 4B is an embedding model from Qwen, part of the Qwen3 Embedding series. The series is described as Qwen's latest proprietary model family built specifically for text embedding and ranking tasks, and it inherits the multilingual capabilities and long-text handling of the wider Qwen family. If your application needs vectors rather than generated text, this is the kind of model the series is intended for.
The model takes text as input and returns embeddings as output, so it does not generate prose, code or chat replies. It supports a context length of 32768 tokens, which lets you embed fairly long documents in a single request rather than splitting them into small chunks. The maximum output is listed as 29491. Because the input modality is text only, images, audio and other non-text inputs are out of scope here.
Practical uses follow directly from those properties. You can embed documents and queries for semantic search or retrieval-augmented generation, where long context means fewer chunks and less fragmentation of a single passage. Multilingual content is a reasonable fit given the series description, so cross-language retrieval and matching are plausible workloads. Embeddings also suit clustering, deduplication, topic grouping and classification pipelines, and ranking tasks are explicitly part of what the series is designed for. Anywhere you need a fixed vector representation of text rather than a generated answer, this model is a candidate.
You call it through api14's OpenAI-compatible API using the model id "qwen/qwen3-embedding-4b". Because the interface follows the OpenAI embeddings convention, you send your text in the input field and receive embedding vectors in the response, which keeps existing OpenAI client libraries and code paths working with minimal changes. Note that the supported parameters list for this model is empty, so do not assume options such as dimensions, encoding format or truncation controls are available; send the input and rely on the defaults the endpoint applies.
On limits, the main one to keep in mind is that this is an embeddings-only model. It will not answer questions, follow instructions or produce conversational output, so if you need text generation, tool calling or reasoning, a chat or completion model is the better fit and this one should sit behind it as the retrieval component. Also check that your inputs stay within the 32768 token context, since longer documents need to be split before embedding.
How to call the Qwen: Qwen3 Embedding 4B API
- Create an API key in your dashboard.
- Install the official openai SDK for your language.
- Set baseURL to https://api14.com/api/v1 and model to "qwen/qwen3-embedding-4b".
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.embeddings.create({
"model": "qwen/qwen3-embedding-4b",
"input": [
"The quick brown fox",
"Lorem ipsum"
]
});
console.log(result.data.map((d) => d.embedding.length));
Specifications
- Context length
- 32,768
- Max output
- 29,491
- Input
- text
- Output
- embeddings
Requests on api14 · last 7 days
Qwen: Qwen3 Embedding 4B: frequently asked questions
- How much does the Qwen: Qwen3 Embedding 4B API cost?
- Qwen: Qwen3 Embedding 4B costs Input $0.07 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
- What is the context window of Qwen: Qwen3 Embedding 4B?
- Qwen: Qwen3 Embedding 4B reads up to 32,768 tokens per request: prompt, history and documents together. It writes up to 29,491 output tokens per response.
- What can Qwen: Qwen3 Embedding 4B do?
- Qwen: Qwen3 Embedding 4B accepts text and returns embeddings.
- How do I call Qwen: Qwen3 Embedding 4B from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "qwen/qwen3-embedding-4b". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to Qwen: Qwen3 Embedding 4B?
- Comparable Embeddings models at a similar price: VoyageAI by MongoDB: voyage-4-lite, OpenAI: Text Embedding 3 Small, Perplexity: Embed V1 4B. Each runs through the same API key, so switching is one string.
Qwen: Qwen3 Embedding 4B community
New topicThis community has no topics yet. Open the first one about Qwen: Qwen3 Embedding 4B.