Back to Models

Relace: Relace Search

relace/relace-search

Description

The relace-search model uses 4-12 `view_file` and `grep` tools in parallel to explore a codebase and return relevant files to the user request. In contrast to RAG, relace-search performs agentic multi-step reasoning to produce highly precise results 4x faster than any frontier model. It's designed to serve as a subagent that passes its findings to an "oracle" coding agent, who orchestrates/performs the rest of the coding task. To use relace-search you need to build an appropriate agent harness, and parse the response for relevant information to hand off to the oracle. Read more about it in the [Relace documentation](https://docs.relace.ai/docs/fast-agentic-search/agent).

API Usage Examples

OpenAI Compatible Endpoint

Use this endpoint with any OpenAI-compatible library. Model: Relace: Relace Search (relace/relace-search)

curl https://api.ridvay.com/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer YOUR_API_KEY"   -d '{
    "model": "relace/relace-search",
    "messages": [
      {
        "role": "user",
        "content": "Explain the capabilities of the Relace: Relace Search model"
      }
    ],
    "temperature": 0.7,
    "max_tokens": 1024
  }'

Supported Modalities

  • Text

API Pricing

  • Input: 1$ / 1M tokens
  • Output: 3$ / 1M tokens

Token Limits

  • Max Output: 128,000 tokens
  • Max Context: 256,000 tokens

Subscription Tiers

  • free
  • pro
  • ultimate