AvailableAlibaba CloudEmbeddingSync
text-embedding-v4

Build next-gen apps with Qwen-Embedding

API Code Example

Pricing

Default

Per 1M Tokens
Official Price
Input $0.0735
TokenLab Price
Input $0.0735
Discount
-

One-click test

Sign in once and Web Agent keeps this model, prompt, and request preset for you.

Test text-embedding-v4 in Web Agent. Run a minimal text-embedding request at /v1/embeddings, then show request body and response shape.

API workbench

The default route for production. The code sample below uses this endpoint with the format you pick.

Text EmbeddingTokenLab endpoint
POST/v1/embeddings
curl -X POST "https://api.tokenlab.sh/v1/embeddings" \
  -H "Authorization: Bearer sk-xxx" \
  -H "Content-Type: application/json" \
  -d '{
  "operation": "text-embedding",
  "model": "text-embedding-v4",
  "input": "The quick brown fox jumps over the lazy dog."
}'

Use cases

01

Semantic search

Build vector representations for search, recommendations, clustering, and RAG.

02

Side-by-side test

Compare real response quality, latency, and price for production defaults.

Prompt examples

Embed five product FAQ snippets and explain the response shape.

Send the smallest possible request and walk me through every response field.

Compare this model with a cheaper one in the same category — when is each worth it?

Cost Calculator

1M
0.5M
Estimated Monthly Cost$0.07

FAQ

How much does Qwen-Embedding cost?

On TokenLab, Qwen-Embedding costs Input $0.0735 / Output $0.00 Per 1M Tokens. The pricing table above shows the full breakdown.

How do I call the Qwen-Embedding API?

Get a TokenLab API key, then send your request to https://api.tokenlab.sh/v1/embeddings. The API workbench above has a recommended endpoint and copy-ready code.

Which endpoint should Qwen-Embedding use?

Use https://api.tokenlab.sh/v1/embeddings as the default for Qwen-Embedding. If a provider-native format is supported, the API workbench shows that endpoint too.

Can I test Qwen-Embedding before integrating it?

Yes. Try in Web Agent opens a ready test for Qwen-Embedding and keeps your prompt after sign-in, so you don’t lose context.

Which operations does Qwen-Embedding support?

Qwen-Embedding supports Text Embedding. Pick an operation in the API workbench above to see the matching endpoint and code sample.

Related Models