Hormouz AIHormouzSign in

Relace: Relace Apply 3: AI model

Relace Apply 3 is a specialized code-patching model that merges suggested edits into your files at around 10,000 tokens/sec. Reachable from inside Iran through Hormouz.

Context window:
256,000 tokens
Input:
$0.85/1M tokens
Output:
$1.25/1M tokens
Type:
text
  • Streaming
  • Long context

Relace Apply 3 is a specialized code-patching model that merges AI-suggested edits directly into your source files. On average it can apply changes at around 10,000 tokens/sec.

To use it, the prompt must follow a specific format containing the instruction, the initial code and the edit snippet. Relace Apply 3 has a context window of up to 256K tokens and is served through Hormouz behind an OpenAI-compatible API.

Pricing is usage-based: $0.85 per million input tokens and $1.25 per million output tokens. Hormouz provides stable access to the model from inside Iran.

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...

Quickstart

curl https://api.hormouz.net/v1/chat/completions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "relace/relace-apply-3",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Specs

VendorRelace
TypeText
Context window256,000 tokens
Pricing$0.85/M in · $1.25/M out
APIChat Completions
CapabilitiesStreaming

Code example

cURL
curl https://api.hormouz.net/v1/chat/completions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "relace/relace-apply-3",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'
Python
from openai import OpenAI
client = OpenAI(api_key="ng-YOUR_API_KEY", base_url="https://api.hormouz.net/v1")
response = client.chat.completions.create(
    model="relace/relace-apply-3",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
JavaScript
import OpenAI from "openai";
const client = new OpenAI({ apiKey: "ng-YOUR_API_KEY", baseURL: "https://api.hormouz.net/v1" });
const response = await client.chat.completions.create({
  model: "relace/relace-apply-3",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);

Buy the Relace: Relace Apply 3 API, paid in rial

  • Buy credit with an Iranian bank card; no foreign card or account needed.
  • One Hormouz key reaches Relace: Relace Apply 3 and 600+ other models, and you pay only for what you use.
  • No VPN and no risk of a banned account; just change the base URL to api.hormouz.net/v1.
Create an account

Use via Hormouz

Connect to this model and 600+ others with one API key, then see usage down to each request.

Request company access

FAQ

How much does Relace Apply 3 cost?
Billing is usage-based: $0.85 per million input tokens and $1.25 per million output tokens.
How do I access Relace Apply 3 from inside Iran?
Create an account on Hormouz and generate an API key. Hormouz provides a stable path to the model from inside Iran, with no foreign credit card or circumvention tooling required.
Is Relace Apply 3 compatible with OpenAI code?
Yes. Hormouz exposes an OpenAI-compatible API. Just change the base URL to Hormouz and swap in your Hormouz key. Your existing SDKs and code run without a rewrite.
What is Relace Apply 3 built for?
It is designed to merge suggested edits into your source files quickly and accurately, working at around 10,000 tokens/sec on average.
What prompt format does Relace Apply 3 expect?
The prompt must contain the instruction, initial code and edit snippet in the specified format; the context window is up to 256K tokens.

Updated 2026-10-13