Embeddings & Semantic Rerank Pool with 30-Day Adaptive Cache
Dense embeddings and document rerank scores are among the most cacheable workloads in AI infrastructure. FuelRouter's embeddings_rerank pool pairs 6 vector upstreams with a 14-day default (30-day max) adaptive archive cache to deliver 99.7% availability at $0.004 per verified outcome.
embeddings_rerank Upstream Pool Configuration
| Upstream ID | Domain ID | Cost Tier | Unit Cost | Base Weight | Expected p95 | Quota (RPM/RPD/Mo) |
|---|---|---|---|---|---|---|
| embed_huggingface_free | huggingface.co | free_tier_0 | $0.00 | 0.93 | 620 ms | 30 / 2000 / 60000 |
| embed_modelscope_free | modelscope.cn | free_tier_0 | $0.00 | 0.91 | 740 ms | 30 / 2000 / 60000 |
| embed_jina_t09_slot | jina.ai | free_tier_0 | $0.00 | 0.90 | 580 ms | 100 / 5000 / 100000 |
| embed_openrouter_lowcost | openrouter.ai | low_cost_wholesale | $0.00025 | 0.94 | 690 ms | 60 / 5000 / 150000 |
| embed_ppio_lowcost | ppio.cn | low_cost_wholesale | $0.00035 | 0.93 | 720 ms | 120 / 10000 / 300000 |
| embed_treg_wholesale | treg.to | standard_fallback | $0.00060 | 0.96 | 840 ms | 120 / 20000 / 600000 |
Why Vector Workloads Achieve Maximum Cross-Tenant Margin
Chunked documentation, product catalogs, and recurring search queries generate identical text payloads across indexing pipelines and evaluation runs. Starting with a 14-day (1,209,600s) default TTL that expands 1.5x to 30 days (2,592,000s), FuelRouter eliminates redundant embedding calls.
Even on cache misses, the first three upstreams (embed_huggingface_free, embed_modelscope_free, embed_jina_t09_slot) execute at $0 unit cost, while wholesale overflow remains ultra-low ($0.00025 to $0.0006).
Schema Enforcement for Downstream Vector Stores
Inserting null or malformed vectors into an ANN index breaks retrieval silently. The embeddings_rerank gate enforces application/json responses of at least 24 bytes containing a populated vectors key before admitting any payload to cache or returning 200 OK.
Both dense feature extraction (input, texts) and semantic reranking (query, documents, top_k, operation) share unified circuit breaker protection.
Dispatch Embeddings or Rerank via JSON-RPC 2.0 /mcp
curl -fsSL -X POST "https://fuelrouter.fastmesh.dev/mcp" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 11,
"method": "tools/call",
"params": {
"name": "router_dispatch",
"arguments": {
"pool_id": "embeddings_rerank",
"tenant_id": "rag_indexer",
"inputs": {"texts": ["three-state circuit breaker failover"], "operation": "embeddings"},
"max_cost_micros": 20000
}
}
}'
Vector Pipeline Reliability Checklist
- Normalize whitespace before chunking so recurring paragraphs hit the 14d-30d SHA-256 archive cache.
- Use default max_cost_micros: 20,000 ($0.02) to permit automatic failover to $0.00025-$0.0006 wholesale slots during bulk re-indexing.
- Verify vectors presence is enforced automatically—never accept empty HTTP 200 wrappers into your vector DB.
- Monitor GET /v1/router/metrics to measure saved_upstream_cost_micros across batch indexing jobs.
Frequently Asked Technical Questions
Why does embeddings_rerank have the highest target SLA (99.7%) and lowest p95 (950 ms)?
Vector payloads are compact, deterministic, and backed by 14d-30d adaptive caching plus 160 RPM of free-tier capacity and high-throughput wholesale fallbacks.
What is the repeat cache price for embeddings_rerank?
Same-tenant repeat hits cost 10% of the $0.004 outcome price—just 400 micros ($0.0004) with zero upstream calls.
Does embeddings_rerank support both embeddings and document reranking?
Yes. Upstreams declare capabilities_supported including embeddings, feature_extraction, and rerank, accepting input, texts, query, documents, and top_k.
Live Try-Now Console & Machine Discovery
Test failover routing, dry-run quotes, and circuit breaker metrics on the live gateway or connect via JSON-RPC 2.0 MCP.
Related FuelRouter Architecture Guides
- Web Search & SERP Grounding Failover Pool (web_search) — web search SERP grounding API failover router
- Clean Scrape & Markdown Extraction Failover Pool (clean_scrape_extract) — clean URL to markdown extraction API failover
- B2B Firmographic, Domain & DNS Enrichment Waterfall Pool — B2B firmographic domain DNS enrichment failover pool