Relace Apply 3
RelaceReleased Sep 26, 2025
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...
- Context window
- 256K tokens
- Max output
- 128K tokens
- Input
- text
- Output
- text
- Tokenizer
- Other
- Released
- Sep 26, 2025
Pricing
Per 1M tokens. The provider price and our flat 3% fee are separate columns — what you pay is their sum.
| Per 1M tokens | Provider | + 3% fee | You pay |
|---|---|---|---|
| Input | $0.850 | $0.025 | $0.875 |
| Output | $1.25 | $0.037 | $1.29 |
Supported parameters
- max_tokens
- seed
- stop
Call it
OpenAI-compatible: point your SDK at api.openkey.ai/v1 and use model relace/relace-apply-3.
curl https://api.openkey.ai/v1/chat/completions \
-H "Authorization: Bearer $OPENKEY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "relace/relace-apply-3",
"messages": [{"role": "user", "content": "Hello"}]
}'import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.openkey.ai/v1",
api_key=os.environ["OPENKEY_API_KEY"],
)
completion = client.chat.completions.create(
model="relace/relace-apply-3",
messages=[{"role": "user", "content": "Hello"}],
)
print(completion.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.openkey.ai/v1",
apiKey: process.env.OPENKEY_API_KEY,
});
const completion = await client.chat.completions.create({
model: "relace/relace-apply-3",
messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);Questions
- How much does Relace Apply 3 cost via API?
- Through OpenKey, Relace Apply 3 costs $0.875 per 1M input tokens and $1.29 per 1M output tokens. That is the provider price ($0.850 / $1.25) plus a flat 3% fee — nothing else.
- What is Relace Apply 3's context window?
- Relace Apply 3 accepts up to 256K tokens of context and returns up to 128K tokens per request.
- Is Relace Apply 3 OpenAI-compatible?
- Yes. Send requests to OpenKey's /v1/chat/completions endpoint with model "relace/relace-apply-3" using any OpenAI SDK — only the base URL and API key change.
- What inputs does Relace Apply 3 support?
- Relace Apply 3 accepts text input and produces text output.