Relace Apply 3
Relace ↗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…
Relace Search by Relace is available through the Chabokan API. Reported inputs: Text. Outputs: Text. The reported context window is 256,000 tokens. Reported features include Tool calling.
Keep real keys out of public code. Examples read CHABOKAN_API_KEY from the environment.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://ai.chabokan.net/v1",
api_key=os.environ["CHABOKAN_API_KEY"],
)
response = client.chat.completions.create(
model="relace/relace-search",
messages=[{"role": "user", "content": "Hello, Chabokan!"}],
)
print(response.choices[0].message)
curl https://ai.chabokan.net/v1/chat/completions \
-H "Authorization: Bearer $CHABOKAN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "relace/relace-search",
"messages": [{"role": "user", "content": "Hello, Chabokan!"}]
}'
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://ai.chabokan.net/v1",
apiKey: process.env.CHABOKAN_API_KEY,
});
const response = await client.chat.completions.create({
model: "relace/relace-search",
messages: [{ role: "user", content: "Hello, Chabokan!" }],
});
console.log(response.choices[0].message);
Input and output tokens are priced separately. Use the calculator below to estimate costs for your model and request volume. Final rates depend on your account level and actual usage; review any reported additional charges separately.
More from this developer ↗Estimate token costs by choosing a model, request count, and input and output volumes. Rates come from the same catalogue as the model pricing.
Prices default to level 3. Level 1 is the standard price; check your console for account eligibility and model access.
Token estimate only; image, request, web search, and other charges are excluded. The minimum request fee applies. Your final bill depends on actual usage and account level.