---
title: Relace: Relace Apply 3 API | Text Generation | ModelsLab
description: Specialized code-patching LLM merges AI edits into source files at 10,000 tokens/sec with 256K context; ideal for fast, reliable coding agents and.
url: https://modelslab.com/models/relace/relace-relace-apply-3/api.md
canonical: https://modelslab.com/models/relace/relace-relace-apply-3/api.md
type: product
component: Playground/LLM/Index
generated_at: 2026-04-15T02:04:11.150484Z
---

Relace: Relace Apply 3
---

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

relace-relace-apply-3 relace Closed Source Model $1.050000 / call

Relace: Relace Apply 3
---

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 Apply 3

relace relace-relace-apply-3

Copy model ID

PricingInput $0.85 / 1M tokens

Output $1.25 / 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.com/models?feature=llmaster)

[QQ](https://modelslab.com/models/open_router/qwen-qwen2.5-vl-72b-instruct)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen2.5 VL 72B Instruct

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen2.5-vl-72b-instruct)

[XG](https://modelslab.com/models/open_router/x-ai-grok-3-beta)[Open Router](https://modelslab.com/models/open_router)

 [xAI: Grok 3 Beta

Closed Source Model](https://modelslab.com/models/open_router/x-ai-grok-3-beta)

[OO](https://modelslab.com/models/open_router/openai-o3-pro)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: o3 Pro

Closed Source Model](https://modelslab.com/models/open_router/openai-o3-pro)

[XG](https://modelslab.com/models/open_router/x-ai-grok-3)[Open Router](https://modelslab.com/models/open_router)

 [xAI: Grok 3

Closed Source Model](https://modelslab.com/models/open_router/x-ai-grok-3)

[XG](https://modelslab.com/models/open_router/x-ai-grok-4-fast)[Open Router](https://modelslab.com/models/open_router)

 [xAI: Grok 4 Fast

Closed Source Model](https://modelslab.com/models/open_router/x-ai-grok-4-fast)

[DD](https://modelslab.com/models/open_router/deepseek-deepseek-v3.1-terminus)[Open Router](https://modelslab.com/models/open_router)

 [DeepSeek: DeepSeek V3.1 Terminus

Closed Source Model](https://modelslab.com/models/open_router/deepseek-deepseek-v3.1-terminus)

[MM](https://modelslab.com/models/open_router/mistralai-mistral-nemo)[Open Router](https://modelslab.com/models/open_router)

 [Mistral: Mistral Nemo

Closed Source Model](https://modelslab.com/models/open_router/mistralai-mistral-nemo)

[MS](https://modelslab.com/models/together_ai/mistralai-Magistral-Small-2506)[Together AI](https://modelslab.com/models/together_ai)

 [Magistral Small 2506

Closed Source Model](https://modelslab.com/models/together_ai/mistralai-Magistral-Small-2506)

[XG](https://modelslab.com/models/open_router/x-ai-grok-4)[Open Router](https://modelslab.com/models/open_router)

 [xAI: Grok 4

Closed Source Model](https://modelslab.com/models/open_router/x-ai-grok-4)

[QQ](https://modelslab.com/models/open_router/qwen-qwen-2.5-7b-instruct)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen2.5 7B Instruct

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen-2.5-7b-instruct)

[DR](https://modelslab.com/models/together_ai/deepseek-ai-DeepSeek-R1-Distill-Qwen-14B)[Together AI](https://modelslab.com/models/together_ai)

 [DeepSeek R1 Distill Qwen 14B

Closed Source Model](https://modelslab.com/models/together_ai/deepseek-ai-DeepSeek-R1-Distill-Qwen-14B)

[MM](https://modelslab.com/models/together_ai/MiniMaxAI-MiniMax-M2.7)[Together AI](https://modelslab.com/models/together_ai)

 [MiniMax M2.7 FP4

Closed Source Model](https://modelslab.com/models/together_ai/MiniMaxAI-MiniMax-M2.7)

[QQ](https://modelslab.com/models/alibaba_cloud/qwen-qwen3.5-122b-a10b)[Alibaba](https://modelslab.com/models/alibaba_cloud)

 [Qwen: Qwen3.5-122B-A10B

Closed Source Model](https://modelslab.com/models/alibaba_cloud/qwen-qwen3.5-122b-a10b)

[AA](https://modelslab.com/models/open_router/arcee-ai-maestro-reasoning)[Open Router](https://modelslab.com/models/open_router)

 [Arcee AI: Maestro Reasoning

Closed Source Model](https://modelslab.com/models/open_router/arcee-ai-maestro-reasoning)

[NA](https://modelslab.com/models/open_router/nex-agi-deepseek-v3.1-nex-n1)[Open Router](https://modelslab.com/models/open_router)

 [Nex AGI: DeepSeek V3.1 Nex N1

Closed Source Model](https://modelslab.com/models/open_router/nex-agi-deepseek-v3.1-nex-n1)

[N3](https://modelslab.com/models/together_ai/nim-meta-llama-3.2-90b-vision-instruct)[Together AI](https://modelslab.com/models/together_ai)

 [nim/meta/llama-3.2-90b-vision-instruct

Closed Source Model](https://modelslab.com/models/together_ai/nim-meta-llama-3.2-90b-vision-instruct)

[OG](https://modelslab.com/models/open_router/openai-gpt-5.4-pro)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: GPT-5.4 Pro

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-5.4-pro)

[GG](https://modelslab.com/models/open_router/google-gemini-3-flash-preview)[Open Router](https://modelslab.com/models/open_router)

 [Google: Gemini 3 Flash Preview

Closed Source Model](https://modelslab.com/models/open_router/google-gemini-3-flash-preview)

About Relace: Relace Apply 3
---

Relace Apply 3 is a specialized code-patching LLM that merges AI-suggested edits straight into your source files. It can apply updates from GPT-4o, Claude, and others into your files at...

### Technical Specifications

Model IDrelace-relace-apply-3CategoryLLM ModelsTaskText GenerationPrice$1.050000 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 Apply 3 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-apply-3",
        "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.com/models/relace/relace-relace-apply-3/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

Relace: Relace Apply 3 API costs $1.050000 per million tokens. Pay only for what you use with no minimum commitments. [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

[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 Apply 3 FAQ
---

### What is Relace: Relace Apply 3?

Relace Apply 3 is a specialized code-patching LLM that merges AI-suggested edits straight into your source files. It can apply updates from GPT-4o, Claude, and others into your files at...

### How do I use the Relace: Relace Apply 3 API?

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

### How much does Relace: Relace Apply 3 cost?

Relace: Relace Apply 3 costs $1.050000 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 Apply 3 model ID?

The model ID for Relace: Relace Apply 3 is "relace-relace-apply-3". Use this ID in your API requests to specify this model.

### Does Relace: Relace Apply 3 have a free tier?

Yes, ModelsLab offers a free tier that lets you try Relace: Relace Apply 3 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-04-15*