---
title: Relace: Relace Search — Codebase Search | ModelsLab
description: Query codebases with agentic precision using Relace: Relace Search. Search entire repos in seconds and retrieve relevant files. Try the Relace: Relace S...
url: https://modelslab.com/relace-relace-search
canonical: https://modelslab.com/relace-relace-search
type: website
component: Seo/ModelPage
generated_at: 2026-05-05T20:10:33.048079Z
---

Available now on ModelsLab · Language Model

Relace: Relace Search
Search Codebases Agentically
---

[Try Relace: Relace Search](/models/open_router/relace-relace-search) [API Documentation](https://docs.modelslab.com)

Search Faster Than RAG
---

Agentic Reasoning

### Multi-Step Code Exploration

Deploys 4-12 view\_file and grep tools in parallel to find relevant files.

Ultra-Fast

### 4x Frontier Speed

Performs precise multi-step reasoning over codebases 4x faster than frontier models.

Subagent Ready

### Hands Off to Oracle

Passes findings to oracle coding agent for task completion.

Examples

See what Relace: Relace Search can create
---

Copy any prompt below and try it yourself in the [playground](/models/open_router/relace-relace-search).

API Route Finder

“Search the codebase for all API routes handling user authentication, including middleware and controllers. List relevant files with line numbers and brief summaries of their roles.”

Database Schema

“Locate database schema definitions and migrations related to user profiles. Return file paths, key models, and any associated queries.”

Error Handler

“Find error handling logic for payment processing failures across the repo. Include functions, try-catch blocks, and logging statements.”

Config Loader

“Identify configuration loading modules for environment variables and secrets management. Provide file locations and initialization code snippets.”

For Developers

A few lines of code.
Search repos. Agentic calls.
---

ModelsLab handles the infrastructure: fast inference, auto-scaling, and a developer-friendly API. No GPU management needed.

- **Serverless:** scales to zero, scales to millions
- **Pay per token,** no minimums
- **Python and JavaScript SDKs,** plus REST API

[API Documentation ](https://docs.modelslab.com)

PythonJavaScriptcURL

Copy

```
<code>import requests

response = requests.post(
    "https://modelslab.com/api/v7/llm/chat/completions",
    json={
  "key": "YOUR_API_KEY",
  "prompt": "",
  "model_id": ""
}
)
print(response.json())</code>
```

FAQ

Common questions about Relace: Relace Search
---

[Read the docs ](https://docs.modelslab.com)

### What is Relace: Relace Search?

Relace: Relace Search is an LLM that uses 4-12 view_file and grep tools in parallel to explore codebases. It returns relevant files via agentic multi-step reasoning. Designed as a subagent for coding tasks.

### How does relace relace search differ from RAG?

Relace: Relace Search uses agentic reasoning for precise results 4x faster than frontier models. RAG lacks this multi-step exploration. It outperforms on codebase retrieval.

### What is the Relace: Relace Search API pricing?

Input costs $1.00 per 1M tokens. Output costs $3.00 per 1M tokens. Context window is 256k tokens with 128k max output.

### Is Relace: Relace Search model agent-ready?

Yes, build an agent harness to parse responses. It passes findings to an oracle coding agent. Requires tool integration for view_file and grep.

### What is a Relace: Relace Search alternative?

Relace: Relace Search excels in speed and precision over standard RAG or frontier LLMs. No direct equivalent matches its agentic codebase search. Pair with Relace Apply for full workflows.

### How to access relace relace search api?

Available via OpenRouter as relace/relace-search. Use Relace provider endpoints. Sign up at relace.ai for playground and API keys.

Ready to create?
---

Start generating with Relace: Relace Search on ModelsLab.

[Try Relace: Relace Search](/models/open_router/relace-relace-search) [API Documentation](https://docs.modelslab.com)

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-05-06*