Text Similarity Checker Using Embeddings
Measure semantic closeness between any two sentences or paragraphs using dense vector embeddings. Choose among six embedding models, select a confirmed provider, compute exact cosine similarity, inspect vector dimensionality, and export the request code.
Cloudflare Workers AI
Transport: Stateless proxy · Key setup guide
API Call Cost Estimator
Published RatePre-Run Char EstimateInput (49 tok)
$0.000001
$0.012 / 1M
Approx. Call Cost
$0.000001
Est. ~4 chars/tok
Total Tokens
49
Estimated count
How to Measure Cosine Similarity
Follow these steps to execute verified API requests directly from your browser.
- Select one of the six embedding models and pick a confirmed provider.
- Enter two sentences or paragraphs in Text A and Text B.
- Run the live embedding call to generate dense vectors and compute exact cosine similarity in the browser.
- Review vector dimensionality, latency, and estimated call cost, or switch models to compare score separation.
Choosing Among Six Embedding Models
Practical guidance on parameters, outputs, and production usage.
Multilingual Versus English Embedding Models
Multilingual models such as BGE-M3 and Qwen3 Embedding 0.6B handle cross-lingual pairs well, whereas the BGE EN v1.5 family targets English corpora with compact vector footprints.
Interpreting Cosine Similarity Scores
Cosine similarity ranges from -1.0 to 1.0, where values closer to 1.0 indicate tighter semantic alignment. Calibrate thresholds per model family using your own domain pairs.
Frequently Asked Questions
Which Embedding Models Are Supported?
Six embedding models are ready to test: PLaMo Embedding 1B, Qwen3 Embedding 0.6B, BGE-M3, BGE Small EN v1.5, BGE Base EN v1.5, and BGE Large EN v1.5.
How Is Cosine Similarity Computed?
Both texts are embedded in one API call to your chosen provider, and the browser computes the exact dot product divided by the product of vector norms.