Qwen: Qwen3 Embedding 8B
TEETrusted Execution Environmentqwen/qwen3-embedding-8bThe Qwen3 Embedding model series is the latest proprietary model of the Qwen family, specifically designed for text embedding and ranking tasks. This series inherits the exceptional multilingual capabilities, long-text understanding, and reasoning skills of its foundational model. The Qwen3 Embedding series represents significant advancements in multiple text embedding and ranking tasks, including text retrieval, code retrieval, text classification, text clustering, and bitext mining.
- Modalities
- TexttoEmbeddings
- Price
- $0.01per 1M
- Context
- 33K
- Released
- Jan 14, 2026
Providers
RedPill routes this private model across verified providers with automatic fallbacks. Pricing is unified, so you pay the same price no matter which provider serves your request, while live metrics show first-token latency, speed, and uptime.
| Checking | Checking | Checking |
Gateway API
Generate embeddings with this model through RedPill's OpenAI-compatible API.
- Create an API key
- Set
REDPILL_API_KEY - Run the request
- Verify the response
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://tee.redpill.ai/v1",
apiKey: process.env.REDPILL_API_KEY,
});
const response = await client.embeddings.create({
model: "qwen/qwen3-embedding-8b",
input: "Private AI keeps prompts confidential.",
});Verify Privacy Evidence
TEE responses carry two proof layers you can check yourself: a nonce-bound attestation report for the gateway, and a signed receipt that binds your request and response to an attested upstream session.
# 1. Verify the gateway (nonce-bound, proves which protected workload serves you)
NONCE="$(openssl rand -hex 16)"
curl -s "https://api.redpill.ai/v1/attestation/report?nonce=$NONCE" \
-H "Authorization: Bearer $REDPILL_API_KEY" -o report.json
# 2. Call the model and capture the x-receipt-id response header
cat > request.json <<'JSON'
{"model":"qwen/qwen3-embedding-8b","input":"Hello","provider":{"aci_verified":true}}
JSON
curl -s "https://api.redpill.ai/v1/embeddings" -D headers.txt \
-H "Authorization: Bearer $REDPILL_API_KEY" -H "Content-Type: application/json" \
--data-binary @request.json -o response.json
RECEIPT_ID="$(grep -i ^x-receipt-id headers.txt | tr -d '\r' | awk '{print $2}')"
# 3. Fetch the signed receipt, then follow it to the attested session
curl -s "https://api.redpill.ai/v1/aci/receipts/$RECEIPT_ID" \
-H "Authorization: Bearer $REDPILL_API_KEY" -o receipt.json
SESSION_ID="$(jq -r '.event_log[]|select(.type=="upstream.verified").session_id' receipt.json)"
curl -s "https://api.redpill.ai/v1/aci/sessions/$SESSION_ID" \
-H "Authorization: Bearer $REDPILL_API_KEY"