---
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.com/models/relace/relace-relace-search.md
canonical: https://modelslab.com/models/relace/relace-relace-search
type: product
component: Playground/LLM/Index
generated_at: 2026-10-08T22:13:22.863832Z
---

Relace: Relace Search
---

 [LLMs.txt](https://modelslab.com/models/relace/relace-relace-search/llms.txt) [.md](https://modelslab.com/models/relace/relace-relace-search.md)

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

text files

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

Looking for something different?
---

Models that trade off differently against the one you are viewing

### Better quality

Newer flagship models that generally produce stronger results.

[OpenAI](https://modelslab.com/models/openai)

 [GPT 5.2](https://modelslab.com/models/openai/gpt-5.2)

[OpenAI](https://modelslab.com/models/openai)

 [GPT 5.1](https://modelslab.com/models/openai/gpt5.1)

[Google](https://modelslab.com/models/google)

 [Gemini 3 Pro Preview](https://modelslab.com/models/google/gemini-3-pro-preview)

[OpenAI](https://modelslab.com/models/openai)

 [GPT-5.1-Codex-Max](https://modelslab.com/models/openai/gpt-5.1-codex-max)

### Lower cost per run

Open-source models we host, unlimited on the $149/month plan.

[ModelsLab](https://modelslab.com/models/modelslab) Popular

 [Modelslab: Custom LLM](https://modelslab.com/models/modelslab/uncensored-chat)Open Source Model

[Qwen](https://modelslab.com/models/open_router)

 [Qwen: Qwen3 235B A22B Instruct 2507](https://modelslab.com/models/qwen/qwen-qwen3-235b-a22b-2507)Closed Source Model

[Google](https://modelslab.com/models/google)

 [Gemini 2.5 Flash](https://modelslab.com/models/google/gemini-2.5-flash)Closed Source Model

[OpenAI](https://modelslab.com/models/openai)

 [gpt-oss-20b](https://modelslab.com/models/openai/gpt-oss-20b)Closed Source Model

[DeepSeek](https://modelslab.com/models/open_router)

 [DeepSeek: DeepSeek V4 Flash 0423](https://modelslab.com/models/deepseek/deepseek-deepseek-v4-flash)Closed Source Model

[Google](https://modelslab.com/models/open_router)

 [Google: Gemini 3.1 Flash Lite](https://modelslab.com/models/google/google-gemini-3.1-flash-lite)Closed Source Model

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab.com/models?feature=llmaster)

[#### Meta/Meta: Llama 3.2 3B Instruct

meta-llama-llama-3.2-3b-instruct

From $0.19/M tokens](https://modelslab.com/models/meta/meta-llama-llama-3.2-3b-instruct)

[#### Inception/Inception: Mercury 2.5

inception-mercury-2.5

From $0.10/M tokens](https://modelslab.com/models/inception/inception-mercury-2.5)

[#### NVIDIA/NVIDIA: Nemotron 3 Ultra

nvidia-nemotron-3-ultra-550b-a55b

From $1.35/M tokens](https://modelslab.com/models/nvidia/nvidia-nemotron-3-ultra-550b-a55b)

[#### Qwen/Qwen: Qwen3 30B A3B Thinking 2507

qwen-qwen3-30b-a3b-thinking-2507

From $1.30/M tokens](https://modelslab.com/models/qwen/qwen-qwen3-30b-a3b-thinking-2507)

[#### Google/Google: Gemini 3.8 Flash

google-gemini-3.8-flash

From $2.25/M tokens](https://modelslab.com/models/google/google-gemini-3.8-flash)

[#### Alibaba Cloud/Qwen: Qwen3.5 397B A17B

qwen-qwen3.5-397b-a17b

From $2.10/M tokens](https://modelslab.com/models/alibaba_cloud/qwen-qwen3.5-397b-a17b)

[#### inclusionAI/inclusionAI: Ling 3.0 Flash Fin

inclusionai-ling-3.0-flash-fin

From $0.08/M tokens](https://modelslab.com/models/inclusionai/inclusionai-ling-3.0-flash-fin)

[#### Qwen/Qwen: Qwen2.5 7B Instruct

qwen-qwen-2.5-7b-instruct

From $0.15/M tokens](https://modelslab.com/models/qwen/qwen-qwen-2.5-7b-instruct)

[#### Prism Ml/PrismML: Ternary Bonsai 2 27B

prism-ml-ternary-bonsai-2-27b

From $0.29/M tokens](https://modelslab.com/models/prism-ml/prism-ml-ternary-bonsai-2-27b)

[#### Google/Google: Gemini Flash Latest

google-gemini-flash-latest

From $2.25/M tokens](https://modelslab.com/models/google/google-gemini-flash-latest)

[#### OpenAI/OpenAI: GPT-6 Astra (batch)

openai-gpt-6-astra-batch

From $15.00/M tokens](https://modelslab.com/models/openai/openai-gpt-6-astra-batch)

[#### Refuel AI/Refuel LLM V2 Small

togethercomputer-Refuel-Llm-V2-Small

From $0.24/M tokens](https://modelslab.com/models/refuel_ai/togethercomputer-Refuel-Llm-V2-Small)

[#### DeepSeek/DeepSeek-R1

deepseek-ai-DeepSeek-R1-Distill-Llama-70B

From $2.00/M tokens](https://modelslab.com/models/deepseek/deepseek-ai-DeepSeek-R1-Distill-Llama-70B)

[#### Google/Gemma 3 27B It

google-gemma-3-27b-it

From $0.12/M tokens](https://modelslab.com/models/google/google-gemma-3-27b-it)

[#### Anthropic/Anthropic: Claude Sonnet Latest

anthropic-claude-sonnet-latest

From $6.00/M tokens](https://modelslab.com/models/anthropic/anthropic-claude-sonnet-latest)

[#### OpenAI/OpenAI: GPT-6 Sol

openai-gpt-6-sol

From $6.00/M tokens](https://modelslab.com/models/openai/openai-gpt-6-sol)

[#### Meta/Meta: Llama 3.3 70B Instruct

meta-llama-llama-3.3-70b-instruct

From $0.21/M tokens](https://modelslab.com/models/meta/meta-llama-llama-3.3-70b-instruct)

[#### SCB 10X/Typhoon 2 70B Instruct

scb10x-scb10x-llama3-1-typhoon2-70b-instruct

From $1.06/M tokens](https://modelslab.com/models/scb10x/scb10x-scb10x-llama3-1-typhoon2-70b-instruct)

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

CategoryLLM Models

TaskText Generation

Price$2 per million tokens

AddedFebruary 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.com/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>
```

### Pricing

Relace: Relace Search API costs $2 per million tokens. Plans start at $21/month, and open-source models are unlimited on the $149/month plan. [View pricing plans](https://modelslab.com/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.com/relace-relace-search) [Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Relace](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/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 per million tokens. ModelsLab plans start at $21/month (Basic), and the $149/month Open Source plan includes unlimited generation on open-source models.

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

### Do I need a paid plan to use Relace: Relace Search?

Yes. ModelsLab is subscription-based with no free tier — plans start at $21/month (Basic, 3,250 API calls). The $149/month Open Source Unlimited plan includes unlimited generation across open-source models; premium third-party models are billed per call from your wallet.

---

*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-10-09*