I'm evaluating embedding model providers for a Python project that needs to generate 512 or 1536-dim text embeddings for entity resolution. I'm considering using OpenRouter because the project already has an OpenRouter API key configured.
TASK: Determine with certainty whether OpenRouter currently offers a production-grade embeddings API.
Specifically answer:
Does OpenRouter expose a /v1/embeddings endpoint (OpenAI-compatible)? Check their official docs at openrouter.ai/docs
If yes: which embedding models are available, what are their dimensions, what are they priced at, and is this a stable production feature or experimental?
If no: is there any documented path to use embeddings via OpenRouter (e.g. via a specific model slug in /v1/completions, or a beta endpoint)?
What's the current (as of 2026) alternative recommended by OpenRouter themselves or their community if users need embeddings?
Search their official docs, their GitHub (openrouter repo if public), recent Discord/Twitter posts, and any 2025-2026 articles discussing OpenRouter + embeddings.
EXPECTED OUTPUT: A clear verdict (yes/no/partial), the exact endpoint URL and model slugs if available, and a short recommendation for the best alternative if OpenRouter doesn't support this.
Assistant
I'll help you determine OpenRouter's current embeddings API capabilities. Let me start by checking their official documentation and then verify with additional sources.
Assistant
Excellent! Now let me fetch the detailed embeddings documentation page to get specific model information and pricing:
Assistant
Let me get the specific embedding models list with pricing:
Assistant
Perfect! Now let me check the GitHub repository for any additional context about the embeddings feature status:
Assistant
Excellent! Now let me verify the exact endpoint and get more details on model dimensions:
Assistant
Perfect! Now let me get the specific model details with dimensions:
Assistant
Now let me get the specific dimension information for the models:
Assistant
Let me check the documentation more carefully for model dimensions:
Assistant
Let me search for the correct documentation URL:
Assistant
Perfect! Now let me compile the comprehensive findings. Let me search for any additional information about model dimensions:
Assistant
Excellent! Now I have all the information needed. Let me compile the comprehensive verdict:
VERDICT: YES — OpenRouter Offers Production-Grade Embeddings API
OpenRouter currently provides a fully production-ready embeddings API as of April 2026. This is not experimental or beta—it's a stable, documented feature with multiple embedding models available.
Authentication: Bearer token (same API key as your existing OpenRouter setup)
Status: Production-grade, fully documented
Example request (from official docs):
bash
curl https://openrouter.ai/api/v1/embeddings \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-d '{
"model": "openai/text-embedding-3-small",
"input": "The quick brown fox jumps over the lazy dog"
}'
2. AVAILABLE EMBEDDING MODELS FOR YOUR USE CASE
OpenRouter offers 26 embedding models (as of April 2026). Here are the models that match your 512 or 1536-dim requirements:
Models Supporting 512 & 1536 Dimensions:
Model
Default Dims
Supports 512?
Supports 1536?
Price
Context
openai/text-embedding-3-small
1536
✅ Yes (via dimensions param)
✅ Yes (default)
$0.02/M tokens
8K
openai/text-embedding-3-large
3072
✅ Yes (via dimensions param)
✅ Yes (via dimensions param)
$0.13/M tokens
8K
qwen/qwen3-embedding-8b
1024
✅ Yes (via dimensions param)
✅ Yes (via dimensions param)
$0.01/M tokens
32K
qwen/qwen3-embedding-4b
1024
✅ Yes (via dimensions param)
✅ Yes (via dimensions param)
$0.02/M tokens
33K
google/gemini-embedding-2-preview
768
✅ Yes (128-3072 range)
✅ Yes (128-3072 range)
$0.20/M tokens
8K
baai/bge-m3
1024
✅ Yes (via dimensions param)
✅ Yes (via dimensions param)
$0.01/M tokens
8K
Recommended for Entity Resolution:
For your entity resolution use case, I recommend:
openai/text-embedding-3-small (Best balance)
Default: 1536 dims
Can reduce to 512 via dimensions parameter
Price: $0.02/M tokens (very affordable)
Quality: Excellent for semantic matching
Usage: 92.3B tokens on OpenRouter (most popular)
qwen/qwen3-embedding-8b (Best value)
Default: 1024 dims
Can adjust to 512 or 1536
Price: $0.01/M tokens (cheapest)
Quality: Excellent multilingual support
Usage: 57.6B tokens on OpenRouter
3. DIMENSION SUPPORT & CONFIGURATION
✅ Both 512 and 1536 dimensions are fully supported:
OpenRouter supports flexible dimension reduction via the dimensions parameter. Models use Matryoshka representation learning, which means you can reduce dimensions with minimal quality loss.