relace/relace-search
Ngày phát hành: 2025-12-09
256,000 context · $1.00/M input tokens · $3.00/M output tokens
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...
Pay-per-use
No upfront costs, pay only for what you use
Use the following code examples to integrate with our API:
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://llm.wavespeed.ai/v1"
)
response = client.chat.completions.create(
model="relace/relace-search",
messages=[
{"role": "user", "content": "Hello!"}
]
)
print(response.choices[0].message.content)relace relace-search
| Specification | Value |
|---|---|
| Provider | Relace |
| Model Type | Large Language Model (LLM) |
| Architecture | N/A |
| Context Window | 256000 tokens |
| Max Output | 128000 tokens |
| Input | Text |
| Output | Text |
| Vision | Supported |
| Function Calling | Supported |
| Token Type | Cost per Million Tokens |
|---|---|
| Input | $1.1 |
| Output | $3.3 |
Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: relace/relace-search
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://llm.wavespeed.ai/v1"
)
response = client.chat.completions.create(
model="relace/relace-search",
messages=[
{"role": "user", "content": "Hello!"}
]
)
print(response.choices[0].message.content)
curl https://llm.wavespeed.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "relace/relace-search",
"messages": [{"role": "user", "content": "Hello!"}]
}'
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...
Input
$1 /M
Output
$3 /M
Context
256K
Max Output
128K
Tool Use
Supported
Access Relace Search through our unified API — OpenAI-compatible, no cold starts, transparent pricing.
Pricing on WaveSpeedAI: $1.00 per million input tokens and $3.00 per million output tokens. Prompt caching and batch processing are billed separately and reduce effective cost on long, repetitive workloads.
Relace Search supports up to 256K tokens of context with up to 128K tokens of output per request.
Yes. WaveSpeedAI exposes Relace Search through an OpenAI-compatible endpoint at https://llm.wavespeed.ai/v1. Point the official OpenAI SDK at this base URL with your WaveSpeedAI API key — no other code changes required.
Sign in to WaveSpeedAI, create an API key in Access Keys, then send a request to https://llm.wavespeed.ai/v1/chat/completions with model id set to the value shown above. New accounts receive free credits to evaluate Relace Search before paying per token.