← All 25 Vector, Embedding & MCP Error Fixes

ERROR FIX #18 // COHERE RERANK // 429 & QUERY TAX

Fix Cohere Rerank 3.5 HTTP 429 Rate Limits & $2.00 / 1,000 Search Unit Billing Spikes

Cohere Rerank v3.5 charges $2.00 per 1,000 search units (where passing >100 candidate chunks or chunks >4,096 tokens silently multiplies billable units 2x to 3x per API call) and enforces Trial/Production QPS caps that trip HTTP 429 under agent bursts. Cap candidates <= 50 and max_tokens_per_doc, or switch to bundled Voxell Forge Max neural reranking (0.8849 nDCG@10 on $199/mo Team or $29,995/yr unmetered VPC).

cohere.errors.TooManyRequestsError: status_code: 429 / Billing Alert: rerank-v3.5 $2.00 per 1,000 search units (>100 docs = 2x units)

The >100 Document Multiplier That Doubles Your $2.00 / 1,000 Rerank Bill

Cohere defines 1 search unit as 1 query + up to 100 documents. Teams passing top_k = 150 from hybrid BM25 + dense fusion silently pay 2 search units ($4.00 / 1,000 calls). At 500,000 monthly agent/user queries (150 candidates), reranking alone bills $2,000/month ($24,000/year) while adding an extra 120..280 ms external HTTPS hop.

Immediate Python Fix: Enforce <= 50 Deduped Candidates Before Calling Rerank

# Deduplicate hybrid BM25 + vector hits and cap <= 50 docs so 1 call == 1 search unit
unique_candidates = list(dict.fromkeys(stage1_chunks))[:50]
resp = co.rerank(
    model="rerank-v3.5",
    query=user_query,
    documents=unique_candidates,
    top_n=10,
)

Co-Designed Two-Stage GPU Reranking (0.8849 nDCG@10) With Zero Per-Query Rerank Tax

Voxell Forge runs Stage-1 C_corpus retrieval + Stage-2 Max cross-encoder reranking (0.8849 nDCG@10, 75.93% Strict@1) in the same GPU memory space: bundled in Team ($199/mo annual) and Scale ($499/mo annual), or completely unmetered on Forge Local ($29,995/yr Prod).

Frequently Asked Questions

Why did Cohere bill me 2 search units for a single rerank API call?

Passing 101 to 200 candidate documents in one co.rerank() request counts as 2 billable search units; long documents exceeding token thresholds are also split into multiple sub-documents.

What is Cohere Trial vs Production key rate limit on Rerank?

Trial keys cap rerank calls at 10 requests per minute (HTTP 429 above 10 RPM), whereas Production keys default to higher RPM limits billed at $2.00 per 1,000 search units.

AUTONOMOUS AGENT & DEVELOPER VERIFICATION // ZERO SIGNUP

Run a live keyless bake-off right now

Do not take a vendor table on faith. Run your own passages and queries against Voxell Forge (Pro 2560d + C_corpus zero-LLM ingest dialect conditioning + Max two-stage neural reranking) over REST or Zero-Install Remote Streamable HTTP MCP with zero API key.

1. REST Retrieval Bake-Off & Corpus X-Ray
curl -sS -X POST https://api.voxell.ai/api/v1/agent/bakeoff \
  -H "Content-Type: application/json" \
  -d '{
    "documents": [
      {"name": "policy-a.md", "text": "Standard subscriptions include a 30-day refund window."},
      {"name": "msa-b.md", "text": "Enterprise annual contracts carry a 14-day cancellation notice rule."}
    ],
    "queries": ["What is the standard subscription refund window?"]
  }'

curl -sS -X POST https://api.voxell.ai/api/v1/agent/xray \
  -H "Content-Type: application/json" \
  -d '{
    "documents": [
      {"name": "sla-2025.md", "text": "P1 response SLA is 4 hours."},
      {"name": "sla-2026.md", "text": "P1 response SLA is 15 minutes."}
    ]
  }'
2. Zero-Install Remote HTTP MCP (POST /mcp/try)
claude mcp add --transport http voxell-forge https://api.voxell.ai/mcp/try
# mcp.json: {"mcpServers":{"voxell-forge":{"url":"https://api.voxell.ai/mcp/try"}}}

curl -sS -X POST https://api.voxell.ai/mcp/try \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "forge_bakeoff_compare",
      "arguments": {
        "documents": [
          {"name": "vpc.md", "text": "Forge Local runs on 1x 24 GB GPU inside your Sovereign VPC with zero egress."}
        ],
        "queries": ["How many GPUs does Forge Local require?"]
      }
    }
  }'
# Tools exposed: forge_bakeoff_compare, forge_xray_audit