Qwen3 Embedding 8B

Alibaba
alibaba/qwen3-embedding-8bOpen Weights

Multilingual text embedding model for retrieval, code search, classification, and clustering

Benchmark Pricing$0.11 / 1M in$0.00 / 1M out
Context: 32,768 tokens•Max Output: 4,096 tokens•Released: 2025-06-05

TECHNICAL SPECIFICATIONS

Context Window32,76832.8K tokens
Max Output4,0964.1K tokens
LicenseApache-2.0Self-hostable
Input Modalities
Text
Function / Tool CallingNot Supported
Structured OutputsPrompt Based

MODEL CONTEXT PROTOCOL (MCP) READINESS

⚠ Qwen3 Embedding 8B does not natively advertise tool-calling capabilities. When connecting to MCP servers, function calling must be handled via structured prompt injection.

MCP Context Window Recommendations

With a context capacity of 32,768 tokens, this model can handle compact tool sets. Consider keeping MCP server tool manifests minimal to preserve headroom.

API CALL INVOCATION EXAMPLE

// Example: Calling Qwen3 Embedding 8B via OpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.ALIBABA_API_KEY,
});

const response = await client.chat.completions.create({
  model: "alibaba/qwen3-embedding-8b",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

console.log(response.choices[0].message.content);

PRICING BY PROVIDER

4 providers
Scalewayqwen3-embedding-8b
$0.11 / $0.00
Novita AIqwen/qwen3-embedding-8b
$0.07 / $0.00
Regolo AIqwen3-embedding-8b
$0.10 / $0.10
evrocQwen/Qwen3-Embedding-8B
$0.12 / $0.12

Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.