Relace: Relace Apply 3
relace/relace-apply-3
Access Relace Apply 3 from Relace using Puter.js AI API.
Get Started// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';
puter.ai.chat("Explain quantum computing in simple terms", {
model: "relace/relace-apply-3"
}).then(response => {
document.body.innerHTML = response.message.content;
});
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai.chat("Explain quantum computing in simple terms", {
model: "relace/relace-apply-3"
}).then(response => {
document.body.innerHTML = response.message.content;
});
</script>
</body>
</html>
# pip install openai
from openai import OpenAI
client = OpenAI(
base_url="https://api.puter.com/puterai/openai/v1/",
api_key="YOUR_PUTER_AUTH_TOKEN",
)
response = client.chat.completions.create(
model="relace/relace-apply-3",
messages=[
{"role": "user", "content": "Explain quantum computing in simple terms"}
],
)
print(response.choices[0].message.content)
curl https://api.puter.com/puterai/openai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_PUTER_AUTH_TOKEN" \
-d '{
"model": "relace/relace-apply-3",
"messages": [
{"role": "user", "content": "Explain quantum computing in simple terms"}
]
}'
Model Card
Relace Apply 3 is a specialized code-patching model that merges AI-generated code edits into existing source files at up to 10,000 tokens per second. It supports a 256K context window and works with diffs from models like Claude and GPT-4, making code integration fast and reliable.
Context Window 256K
tokens
Max Output 128K
tokens
Input Cost $0.85
per million tokens
Output Cost $1.25
per million tokens
Release Date Jun 1, 2025
Model Playground
Try Relace Apply 3 instantly in your browser.
This playground uses the Puter.js AI API — no API keys or setup required.
More AI Models From Relace
Frequently Asked Questions
You can access Relace Apply 3 by Relace through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required. You can also use it with Python or cURL via Puter's OpenAI-compatible API.
Yes, it is free if you're using it through Puter.js. With the User-Pays Model, you can add Relace Apply 3 to your app at no cost — your users pay for their own AI usage directly, making it completely free for you as a developer.
| Price per 1M tokens | |
|---|---|
| Input | $0.85 |
| Output | $1.25 |
Relace Apply 3 was created by Relace and released on Jun 1, 2025.
Relace Apply 3 supports a context window of 256K tokens. For reference, that is roughly equivalent to 512 pages of text.
Relace Apply 3 can generate up to 128K tokens in a single response.
Yes — the Relace Apply 3 API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.
Get started with Puter.js
Add Relace Apply 3 to your app without worrying about API keys or setup.
Read the Docs View Tutorials