Note: Calculation is approximate based on public data. Prices may change, check official websites.
Relace: Relace Apply 3 AI Token Cost Calculator
This calculator estimates the cost of using the Relace: Relace Apply 3 model. Relace Apply 3 is a specialized code-patching LLM designed to merge AI-suggested edits directly into your source files, supporting updates from models like GPT-4o and Claude at high speeds.
The model's pricing is $0.85 per 1 million input tokens and $1.25 per 1 million output tokens. It features a context window of 256,000 tokens.
The total cost is calculated using the formula:
Total Cost = (Input Tokens / 1,000,000) * Input Cost + (Output Tokens / 1,000,000) * Output Cost
Where:
- Input Tokens = Number of tokens processed as input
- Output Tokens = Number of tokens generated as output
- Input Cost = Cost per 1 million input tokens ($0.85)
- Output Cost = Cost per 1 million output tokens ($1.25)
For example, if you process 10,000 input tokens and generate 2,000 output tokens for a single request:
Input Cost = (10,000 / 1,000,000) * $0.85 = $0.0085
Output Cost = (2,000 / 1,000,000) * $1.25 = $0.0025
Total Cost = $0.0085 + $0.0025 = $0.011