---
title: Relace: Relace Search API | Text Generation | ModelsLab
description: Relace Search: Transformer-based LLM with billions of parameters, 1M+ token context, excels in natural language tasks, lossless compression, and.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/relace/relace-relace-search/api.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/relace/relace-relace-search/api.md
type: product
component: Playground/LLM/Index
generated_at: 2026-05-13T09:42:42.177594Z
---

Relace: Relace Search
---

 [LLMs.txt](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/relace-relace-search/llms.txt) [.md](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/relace/relace-relace-search.md)

relace-relace-search relace Closed Source Model $2.000000 / call

Relace: Relace Search
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### Relace: Relace Search

relace relace-relace-search

Copy model ID

PricingInput $1.00 / 1M tokens

Output $3.00 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster)

[GG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemma-3-27b-it)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Google: Gemma 3 27B

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemma-3-27b-it)

[GG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemma-4-31b-it-free)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Google: Gemma 4 31B (free)

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemma-4-31b-it-free)

[PS](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/perplexity-sonar)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Perplexity: Sonar

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/perplexity-sonar)

[QQ](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-30b-a3b)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Qwen: Qwen3 30B A3B

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-30b-a3b)

[N3](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/nim-nvidia-llama-3.3-nemotron-super-49b-v1)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [nim/nvidia/llama-3.3-nemotron-super-49b-v1

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/nim-nvidia-llama-3.3-nemotron-super-49b-v1)

[IL](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/inclusionai-ling-2.6-1t)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [inclusionAI: Ling-2.6-1T

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/inclusionai-ling-2.6-1t)

[G2](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/google-gemma-2-9b-it)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Gemma 2 9B It

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/google-gemma-2-9b-it)

[ML](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/meta-llama-Meta-Llama-3.1-70B-Instruct-Turbo)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Meta Llama 3.1 70B Instruct Turbo

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/meta-llama-Meta-Llama-3.1-70B-Instruct-Turbo)

[SL](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/sao10k-l3.3-euryale-70b)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Sao10K: Llama 3.3 Euryale 70B

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/sao10k-l3.3-euryale-70b)

[OG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-oss-20b-free)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [OpenAI: gpt-oss-20b (free)

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-oss-20b-free)

[ER](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/essentialai-rnj-1-instruct)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [EssentialAI: Rnj 1 Instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/essentialai-rnj-1-instruct)

[QQ](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-coder-flash)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Qwen: Qwen3 Coder Flash

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-coder-flash)

[QC](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3-Coder-Next-FP8)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Qwen3 Coder Next Fp8

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3-Coder-Next-FP8)

[MS](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/mistralai-Magistral-Small-2506)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Magistral Small 2506

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/mistralai-Magistral-Small-2506)

[AN](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/amazon-nova-pro-v1)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Amazon: Nova Pro 1.0

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/amazon-nova-pro-v1)

[DV](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/deepseek-ai-DeepSeek-V3.1)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Deepseek V3.1

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/deepseek-ai-DeepSeek-V3.1)

[BS](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/bytedance-seed-seed-1.6-flash)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [ByteDance Seed: Seed 1.6 Flash

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/bytedance-seed-seed-1.6-flash)

[DR](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/deepseek-ai-DeepSeek-R1-Distill-Qwen-1.5B)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [DeepSeek R1 Distill Qwen 1.5B

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/deepseek-ai-DeepSeek-R1-Distill-Qwen-1.5B)

About Relace: Relace Search
---

The relace-search model uses 4-12 viewfile 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...

### Technical Specifications

Model IDrelace-relace-searchCategoryLLM ModelsTaskText GenerationPrice$2.000000 per million tokensAddedFebruary 20, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate Relace: Relace Search into your application with a single API call. Get your API key from the [pricing page](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "relace-relace-search",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

View the [full API documentation](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/relace/relace-relace-search/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

Relace: Relace Search API costs $2.000000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Learn more about Relace: Relace Search](https://modelslab-frontend-v2-927501783998.us-east4.run.app/relace-relace-search) [Browse LLM Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster) [More from Relace](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router) [View Pricing](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

Relace: Relace Search FAQ
---

### What is Relace: Relace Search?

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...

### How do I use the Relace: Relace Search API?

You can integrate Relace: Relace Search into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "relace-relace-search" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Relace: Relace Search cost?

Relace: Relace Search costs $2.000000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Relace: Relace Search model ID?

The model ID for Relace: Relace Search is "relace-relace-search". Use this ID in your API requests to specify this model.

### Does Relace: Relace Search have a free tier?

Yes, ModelsLab offers a free tier that lets you try Relace: Relace Search and other AI models. Sign up to get free API credits and start building immediately.

---

*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-13*