💳 Credit Costs
Fuyu uses a credit-based billing system where jobs consume credits depending on how long they run and which features are used.
🕒 Base Cost
- 1 credit per second of execution time
- Time is counted from script start to end
- Credits are deducted after the job finishes
💡 Multipliers
Certain job options apply multipliers to the base cost:
Feature | Multiplier | Description |
---|---|---|
Test Mode | ×1.25 | Enables real-time browser preview |
Built-in Proxy | ×1.5 | Auto proxy used instead of user-provided |
These stack. For example:
- A 20-second job with both test mode and proxy =
20 × 1.25 × 1.5 = 37.5 → 38 credits
🔐 Captcha Solving
- Solving captchas via
resolve_captcha()
incurs extra credit charges - Cost depends on external resolution complexity
- Billed per challenge, added to job total
🚨 Job Status Charges
Status | Are Credits Charged? | Notes |
---|---|---|
success | ✅ Yes | Standard billing |
failed | ✅ Yes | Unless caused by internal system error |
aborted | ✅ Yes | Even if script calls abort() intentionally |
canceled | ✅ Yes | Even if canceled manually mid-run |
Fuyu refunds failed jobs only if the cause is an internal platform error.
🧮 Example Cost Scenarios
Duration | Test Mode | Built-in Proxy | Captchas | Total Cost (est.) |
---|---|---|---|---|
15s | ❌ | ❌ | 0 | 15 credits |
20s | ✅ | ❌ | 0 | 25 credits |
30s | ❌ | ✅ | 0 | 45 credits |
25s | ✅ | ✅ | 1 | ~60–70 credits |