跳到主要内容

Embeddings model

Qwen3 Embedding 4B

qwen/qwen3-embedding-4b

qwen/qwen3-embedding-4b is a text embedding model from Qwen you can call on the OceanToken API at $0.02 per 1M input tokens, with a 33K-token context window.

At a glance

Model IDqwen/qwen3-embedding-4b
TypeEmbeddings
PublisherQwen
Context window32,768 tokens
Input price$0.02 per 1M tokens
Endpoint/v1/embeddings
API shapeOpenAI-compatible
In the catalog since2025-10-28

Call it

Base URL https://api.oceantoken.ai/v1, your OceanToken key as the bearer token, and the model ID above as model. The OpenAI SDKs work unchanged; see your first request.

curl https://api.oceantoken.ai/v1/embeddings \
-H "Authorization: Bearer $OCEANTOKEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "qwen/qwen3-embedding-4b", "input": "The quick brown fox"}'

Compared with similar models

Embeddings models on OceanToken closest to qwen/qwen3-embedding-4b in price. Every price is what you pay, in US dollars, with no platform fee on top.

ModelPublisherContextPrice (per 1M tokens)
Qwen3 Embedding 4BQwen32,768$0.02
Text Embedding 3 Small
openai/text-embedding-3-small
OpenAI8K$0.02
Voyage 4 Lite
voyageai/voyage-4-lite
Voyage AI32K$0.02
Pplx Embed V1 4B
perplexity/pplx-embed-v1-4b
Perplexity32K$0.03

More from Qwen

All Qwen models on OceanToken

Use it

Create an account All models and prices

Prices and capabilities on this page were read from the live OceanToken catalog on 2026-10-18 (UTC), when the documentation was built. If a price has changed since, the console's Models page shows the current one.