types, rough billing draft

This commit is contained in:
niko
2026-07-05 15:56:24 +01:00
parent 204081ce23
commit 6b84d55928
6 changed files with 285 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
# PLANNED - NON FINAL
Pricing based on resource usage.
CPU: cores * 0.50 EUR / month (*2 for dedicated)
RAM: GB * 0.50 EUR / month
Disk: GB * 0.10 EUR / month
Final pricing: ceil((cpu * monthlyPercent) + (ram * monthlyPercent) + disk)
Where monthlyPercent is average usage over the month, expressed as a percentage of the total allocated resources. Therefore, if a user has 16 cores allocated, but only uses 100% on 8 cores on average over the month, the monthlyPercent for CPU would be 50%. This allows for fair pricing based on actual resource consumption rather than just allocated resources.