voyage-code-4 vs Qwen3 Embedding 4B

Compare voyage-code-4 from MongoDB and Qwen3 Embedding 4B from Qwen on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.

Favicon for mongodb
voyage-code-4
Favicon for qwen
Qwen3 Embedding 4B

Overview

voyage-code-4
Author
MongoDB
Qwen3 Embedding 4B
Author
Qwen
voyage-code-4
Context length
—
Qwen3 Embedding 4B
Context length
—
voyage-code-4
Reasoning
No
Qwen3 Embedding 4B
Reasoning
No
voyage-code-4
Input modalities
Text
Qwen3 Embedding 4B
Input modalities
Text
voyage-code-4
Output modalities
Embeddings
Qwen3 Embedding 4B
Output modalities
Embeddings

Analysis

voyage-code-4 vs Qwen3 Embedding 4B at a glance

voyage-code-4
Input price
Not applicable
Qwen3 Embedding 4B
Input price
Not applicable
voyage-code-4
Output price
Not applicable
Qwen3 Embedding 4B
Output price
Not applicable
voyage-code-4
Price
$0.12/M tokens
Qwen3 Embedding 4B
Price
$0.02/M tokens
voyage-code-4
Context window
Not applicable
Qwen3 Embedding 4B
Context window
Not applicable
voyage-code-4
Latency (p50)
0.53 s
Qwen3 Embedding 4B
Latency (p50)
1.18 s
voyage-code-4
Throughput (p50)
Not available
Qwen3 Embedding 4B
Throughput (p50)
Not available
voyage-code-4
Provided by
MongoDB
Qwen3 Embedding 4B
Provided by
Qwen

Frequently asked questions

Is voyage-code-4 cheaper than Qwen3 Embedding 4B?

Qwen3 Embedding 4B is cheaper than voyage-code-4 on OpenRouter at $0.02/M tokens for input tokens, compared with $0.12/M tokens for voyage-code-4.

Which supports a longer input, voyage-code-4 or Qwen3 Embedding 4B?

Qwen3 Embedding 4B supports a longer input at up to 32,768 tokens, compared with 32,000 tokens for voyage-code-4.

What input types do voyage-code-4 and Qwen3 Embedding 4B embed?

voyage-code-4 and Qwen3 Embedding 4B both embed text on OpenRouter.

Which is faster, voyage-code-4 or Qwen3 Embedding 4B?

voyage-code-4 is faster on OpenRouter with a median embedding latency of 0.53 seconds, compared with 1.18 seconds for Qwen3 Embedding 4B.