Skip to contentOceanToken

Qwen3 Embedding 4B

qwen/qwen3-embedding-4b

The Qwen3 Embedding model series is the latest proprietary model of the Qwen family, specifically designed for text embedding and ranking tasks.

Enterprise rate

Up to 60% off

By quote

Our price $0.02 / 1M input tokens

  • InputtextOutput: embeddings
  • Context33K tokens32,768 tokens
  • ReleasedOctober 28, 2025In the OceanToken catalog

01 · Learn

What is Qwen3 Embedding 4B?

Qwen3 Embedding 4B is a text embedding model from Qwen on the OceanToken API, with a 33K-token context window.

  • $0.02Per 1M input tokens
  • 33KContext window32,768 tokens
  • textInputOutput: embeddings
  • Up to 60% offEnterprise rate vs officialUp to, by quote

What Qwen3 Embedding 4B can do.

  • Semantic search
  • Retrieval for RAG
  • Clustering and classification

Qwen3 Embedding 4B specs.

Context window
33K tokens (32,768)
Input
text
Output
embeddings
Released
October 28, 2025

Model ID and endpoint

OceanToken model ID
qwen/qwen3-embedding-4b
OpenAI-compatible base URL
https://api.oceantoken.ai/v1
Endpoint
POST /v1/embeddings

03 · Buy and build

How much does the Qwen3 Embedding 4B API cost?

RatePer 1M input tokens
Tier 1 to 3Self-serve$0.02
Enterprise rateBy quoteUp to 60% off

Up to 60% off. Quote by email.

Monthly spend optional

We reply by email with your rate.

  1. Tell usYour model and monthly spend.
  2. We email your rateUp to 60% off. Price lock available.
  3. We activate itOn your account, same key.

The console always shows the current price.

How tiers work

  1. Self-serveTier 1From sign-up
  2. Self-serveTier 2$1,000 total
  3. Self-serveTier 3$10,000 total
  4. By quoteEnterprise rateUp to 60% off, by quote

You pay per use from a prepaid balance, with no subscription. Official price: the model maker’s list price. Tier 1 to 3 are standing rates by total top-up.

How to use Qwen3 Embedding 4B on OceanToken.

Three steps from no account to a working request. The same key and balance work for every model in the catalog.

  1. Create an account and get an API key

    One key works for every model your account can use.

    Get API Key
  2. Add credits

    OceanToken is prepaid: add credits, and each request is billed from that balance.

    Add credits
  3. Call Qwen3 Embedding 4B from your code

    Send a request to POST /v1/embeddings with the model ID qwen/qwen3-embedding-4b.

    See the API request in docs
client.pyPython
from openai import OpenAI
# Your API Key from the OceanToken console
client = OpenAI(base_url="https://api.oceantoken.ai/v1",
                api_key="YOUR_API_KEY")
result = client.embeddings.create(
    model="qwen/qwen3-embedding-4b",
    input="Hello")
print(len(result.data[0].embedding))

Qwen3 Embedding 4B API: frequently asked questions.

What is Qwen3 Embedding 4B?

The Qwen3 Embedding model series is the latest proprietary model of the Qwen family, specifically designed for text embedding and ranking tasks.

How much does Qwen3 Embedding 4B cost?

Qwen3 Embedding 4B costs $0.02 per 1M input tokens. This is the OceanToken starting price as of November 28, 2026, charged per use to your prepaid balance. The console always shows the current price.

What is the context length of Qwen3 Embedding 4B?

Qwen3 Embedding 4B has a context window of 33K tokens (32,768 tokens).

What inputs and outputs does Qwen3 Embedding 4B support?

Qwen3 Embedding 4B takes text as input and produces embeddings.

How do I call Qwen3 Embedding 4B through the API?

Send requests to https://api.oceantoken.ai/v1/embeddings with the model ID qwen/qwen3-embedding-4b and your OceanToken API key. The API is OpenAI-compatible, so an OpenAI SDK needs only the base URL https://api.oceantoken.ai/v1 and your key. The same OceanToken API key works for every model your account can use. Full reference: docs.oceantoken.ai.

How do I top up?

OceanToken is prepaid. Open Credits in the console, choose an amount and pay by card on Stripe's hosted checkout page (Link works too). Your balance updates a few seconds after payment. Have a trial code? Redeem it on the same page.

Do credits expire, and can I get a refund?

Purchased credits are valid for 12 months from the date of purchase. Credits from trial codes, promotions or gifts may have a shorter validity. All purchases are final and non-refundable, except where the law requires a refund. Section 6 of the Terms of Service has the details.

Am I charged for failed requests?

No. If a request fails, you are not charged: that covers a request refused for an insufficient balance or by a safety check, one whose provider fails before returning any output, and a video job that fails or is refused by a safety check, whose held amount goes back to your balance. The one exception: if a request breaks off after the model has started producing output, for example a stream cut off part-way, you pay for the tokens that were processed and generated for it.

Related articles

More from Qwen

Similar embeddings models

Keep exploring

Sources

Whatever you want.

OceanToken is All You Need.