Methodology
How the comparison is calculated
VPSRanker ranks VPS plans by 36-month cost in US dollars. The number on the site is the total stored for that plan, not a speed score and not the first month's sticker price by itself. The same formula is written in llms.txt.
Where prices come from
The catalog is the file data/true-cost.json in the site repository. lib/sync-true-cost.mjs copies it to vps-frontend/data/true-cost.json. The static build reads only that frontend copy. It does not call the API while building the pages.
Each plan is one record. The money fields are the native price (price_currency_native, price_first_term_native, price_renew_native) and the dollar amounts used for sorting (price_first_term_usd, price_renew_usd, tco_36m_usd). Every record also has source, checked_at, and checked_source. source is one of vendor_api, pricing_page, checkout, or manual_deal.
lib/refresh-true-cost.mjs is the update script. It rewrites prices only for the record ids it maps, from four public endpoints:
- Vultr, from
https://api.vultr.com/v2/plans. The monthly cost is stored as both the first-term price and the renewal price. - Linode, from
https://api.linode.com/v4/linode/types. The monthly price is stored the same way. - BandwagonHost, from
https://bandwagonhost.com/order/get-data. The listed cents for the mapped product and billing period are divided by 100, then stored as both the first-term price and the renewal price. - OVHcloud, from
https://api.ovh.com/1.0/order/catalog/public/vps?ovhSubsidiary=GB. The monthly catalog amount is divided by 100,000,000 to get pounds, then multiplied by theGBPUSDrate already stored in the file.
A successful read of one of those endpoints sets that row's checked_at to the time of the read, checked_source to the URL that was read, and source to vendor_api. The script does not import a vendor's full price list. Plans that are not in its map are left as they are stored.
For rows whose source is checkout or pricing_page, the script fetches checked_source, or order_url if checked_source is missing. If that HTML still contains the stored price, it updates checked_at and recomputes the 36-month total. It does not read a new price out of the page. If the number is missing, or the request fails, the stored price and checked_at stay as they were. Rows marked manual_deal are not part of that page check. After the run, generated_at is set to the run time, fx.as_of is set to that calendar date, and tco_36m_usd is recomputed for every row from the stored dollar fields.
The build runs the catalog validator and stops if a row fails it. The checks include RAM, storage, and first-term USD greater than zero, a unique id, and a stored 36-month total within $0.05 of the formula below.
Currency conversion
The catalog's fx object stores the rates used to produce the USD fields, with source set to ecb and an as_of date. The current file records EURUSD, GBPUSD, and AUDUSD. The refresh script does not download a new European Central Bank rate. It reuses the rates already in the file.
USD plans store the same number in the native fields and the USD fields. The OVH step above multiplies pounds by the stored GBPUSD rate and rounds to cents. Euro and Australian-dollar rows store a native amount and a USD amount; notes on those rows say the USD figure uses the rate in the document. The tables display the USD fields. The browser does not convert currencies itself.
36-month cost
The 36-month total is tco_36m_usd, computed by tco36mUsd in lib/tco.mjs. This is the "true cost" figure the tables sort on.
Locked length B is term_months times ceil(min_contract_months / term_months). That rounds the minimum contract up to a whole number of billing terms. min_contract_months has to be at least term_months.
- First-term portion:
price_first_term_usd × (B / term_months) - Renewal portion:
price_renew_usd × ceil(max(0, 36 − B) / term_months) - Then 36 months of
ipv4_extra_usd_mo,backup_usd_mo, andpanel_usd_mo. A missing amount is treated as zero. - Then
setup_usd, or zero if it is missing.
Snapshot fees are not added. The formula assumes the first-term price covers the whole locked period B. If a discount applies only to the first invoice, term_months is supposed to be that discounted period. The validator rejects a checkout row whose notes say the introductory price covers only the first invoice while B is longer than one term.
The homepage and vendor pages are sorted by this total, lowest first. The homepage is pre-rendered from every row in the snapshot. Some topic pages keep only rows that match a preset, such as a RAM minimum or a first-term price cap, and then sort the same way. The in-page sort starts on the same field. The API's default sort is tco_36m_usd as well. Filters can cap the first-term USD and the 36-month total. Nothing in the formula reads an affiliate flag or a destination URL.
The deals page is a separate list. It is rendered from data/deals.json, not from the 36-month sort. Each card is a Black Friday, Cyber Monday, or other current offer copied from that vendor's own page, with the source URL and the date it was checked. The build leaves a card out when validUntil is a calendar day before the build date. A card with no published end date stays, and the page says the end date was not announced.
After a comparison page loads, the browser requests https://api.vpsranker.com/api/v1/plans. If that succeeds, the table is replaced with the API rows. Cloudways rows from the snapshot are merged in when that response does not already include their ids. If the request fails, the pre-rendered rows stay.
Price per GB of RAM
The main table has no per-GB column, and the catalog has no per-GB field. Default order is the 36-month total, not a memory rate.
The DigitalOcean alternatives page is where a per-GB comparison is written out. Its table caption states the rule: dollars per GB equals the monthly USD price divided by RAM. RAM is stored as ram_mb, and a gigabyte in that division is ram_mb / 1024. Where that page turns an annual price into a monthly one first, it divides the term price by 12, then divides by RAM. Those figures are written in the article. They are not a catalog field, and the table sort does not use them.
Updates
checked_at is the time that row was last confirmed. It is not the time the HTML was built. The sitemap lastmod values are set from the oldest checked_at in the snapshot.
The API applies the freshness rule in lib/tco.mjs:
- More than 14 days and up to 30 days after
checked_at: the row is still returned, withstaleset to true. - More than 30 days: the row is left out of the default
/api/v1/plansand/api/v1/dealsresults.include_stale=1on/api/v1/planskeeps it.
The static build does not apply that cutoff. The "Last updated" line on a comparison page is the newest checked_at among the rows the API returned.
The refresh script sends the user agent vpsranker-truecost-weekly. The repository has no cron entry and no GitHub Actions workflow that runs it. A row changes when that script is run and the result is kept, or when the JSON is edited. The frontend copy has to be synced before the next static build. The design notes describe a weekly pass over checkout pages and the 14-day and 30-day rule above. They do not show a scheduler.
Speed
VPSRanker does not run speed tests. The repository has no CPU, disk, network, or uptime benchmark. Rankings are the price math above. The port-speed control in the filter sidebar does not read a measured speed from the catalog.
Affiliate links
Outbound URLs live in vps-frontend/data/outbound-links.json. Each vendor slug has a destination and an affiliate flag. The build writes one redirect per slug: /go/<vendor-slug> is a temporary redirect (HTTP 302) to that destination. Links in the HTML point at /go/<vendor-slug> and use rel="sponsored nofollow". Pages that contain those links also get this disclosure: "Affiliate disclosure: Some links on this page are affiliate or referral links. We may earn a commission if you sign up, at no extra cost to you."
A click on a commissioned /go/ link sends affiliate_click. A /go/ link for a provider that is not in the affiliate list sends outbound_vendor_click. A direct link that already contains that provider's affiliate id also sends affiliate_click. That script does not change prices or sort order. The 36-month formula and the sort do not read the affiliate flag, the redirect, or the destination. A plan is not moved because it has an affiliate link. Some records also store an order_url that may include an affiliate query string. The USD fields used for ranking are separate from that URL.
robots.txt disallows /go/.
See also About and the privacy policy.