Getting started
The Spare Cores Navigator data is open, and you can start using it in a few minutes -- with or without writing code.
Pick your path
| I want to… | Use | First result |
|---|---|---|
| find or compare servers, without code | the Web UI | in a minute |
| build the data into a tool | the HTTP API | one command |
| analyze the whole dataset | the SQLite database | one download |
| ask an AI assistant | the docs as plain Markdown | one prompt |
Browse the Web UI
Open the server listing on sparecores.com, set your requirements in the filters on the left, e.g. at least 8 vCPUsvCPU: virtual CPUA CPU of a virtual machine, the unit in which cloud vendors sell compute. It is usually one hardware thread of a physical core with SMT, so two vCPUs may share one physical core.WikipediaGlossary and 32 GB of memory, and sort the results by price, or by performance and cost-efficiency. The Web UI guide covers each step: finding servers, comparing them, the Advisor, which recommends servers for a workload compared to a server you use today, and prices.
Query the API
The APIAPI: Application Programming InterfaceA defined set of requests and responses through which one program uses another, such as a web service's HTTP endpoints or a library's functions.WikipediaGlossary needs no authentication for most of its endpoints. For example, the 3 cheapest server types with at least 8 vCPUs and 32 GB of memory, by their on-demandon-demandA pricing model of cloud servers that charges for the time a server runs, without a commitment, typically per second or hour. The server runs until you stop it, unlike a spot instance, but it costs more than spot or reserved capacity.Glossary price:
curl -G https://keeper.sparecores.net/servers \
-d vcpus_min=8 \
-d memory_min=32 \
-d best_price_allocation=ONDEMAND_ONLY \
-d limit=3
Each server type comes with its specs, its lowest prices and its benchmark scores. The API examples go further, e.g. ranking servers by a benchmark or looking up one server's prices, and the API reference covers every endpoint and parameter, with a built-in API client to try them right from your browser.
Download the database
The Data Wrapper, the sparecores-data Python package, downloads the whole
database as a single SQLite file (about 40 MB to download, 1.3 GB once
imported), e.g. to count the active server types of each vendor:
pip install sparecores-data
sc-data download sc-data.db
sqlite3 sc-data.db "
SELECT vendor_id, COUNT(*) FROM server
WHERE status = 'ACTIVE' GROUP BY vendor_id"
The SQLite page covers querying it from Python, and more example queries.
Use AI tools
AI assistants and coding agents can read the docs as plain Markdown, following the llms.txt convention:
- llms.txt: an index of all pages, plus the machine-readable resources, such as the OpenAPI specification of the API, the database schema in SQL, and the database dump
- llms-full.txt: the full content in a single file
Each page is also available as Markdown by adding .md to its URLURL: Uniform Resource LocatorThe address of a resource on the web or a network, such as https://sparecores.com/, made of a scheme, a host, and a path.Glossary, e.g.
overview.md for the Overview.
For example, ask your assistant:
Read https://docs.sparecores.com/llms.txt, then use the Spare Cores Navigator API to find the cheapest server types with at least 8 vCPUs and 32 GB of memory in Europe, and compare their benchmark scores.
Key concepts
- Vendor, regionregionA geographic area where a cloud vendor runs its data centers, such as Frankfurt or Northern Virginia, made up of one or more availability zones. A server type is offered in some regions only, and its price can differ by region; a region's ID, such as
eu-central-1, is unique only within its vendor.Glossary and zone: a vendor (cloud provider) offers its server types in regions, which consist of availability zonesavailability zoneOne or more isolated data centers within a cloud region, with their own power, cooling and network. A server runs in one zone; spreading servers over several zones of a region keeps a service up when one zone fails. Prices and the server types on offer can differ by zone.AWS docsGlossary. Prices can differ by region and zone. - Server type: a machine size a vendor offers, such as AWS
t4g.2xlarge, identified by its vendor and server ID.api_referenceis its name in the vendor's API. - Allocation: on-demand servers run until you stop them; spot serversspot instanceA cloud server that runs on the vendor's spare capacity, at a large discount from its on-demand price, but which the vendor can stop or take back at short notice when it needs the capacity. Spot prices change with the demand, e.g. several times a day.AWS docsGlossary are cheaper, but the vendor can take them back at any time.
- Prices: hourly, in the vendor's currency in the database, and in USD by default in the API. See Understand prices.
- Benchmark scores: the results of the benchmark workloads
run on each server type. The SCoreSCore: Spare Cores scoreA CPU speed score of a server type in Spare Cores Navigator, used to compare the speed of server types. It is measured with the
cpustressor ofstress-ngat increasing worker counts. The single-core SCore is the result with one worker; the multi-core SCore, the raw multi-core CPU speed that SCore means on its own, is the highest result.Glossary is its CPUCPU: Central Processing UnitThe general-purpose processor of a computer, which runs the operating system and programs. A CPU has one or more physical cores, and with SMT each core runs two or more hardware threads.WikipediaGlossary speed, and the API'sscore_per_pricedivides it by the hourly price, for comparing cost-efficiency.
The Glossary explains the other terms, and the Schemas every field.
Keeping up to date
The data is updated about once or twice an hour:
- The API serves the current version, and says which one in the
SC-Data-HashandSC-Data-Published-Atheaders of every response, and inGET /healthcheck. To read several tables of the same version, use its snapshots (see Data versions and snapshots). - The Data Wrapper keeps the database up to date in Python, and
sc-data downloadgets the current version. - The status page shows whether the updates ran on time, and the uptime of the API and the website.
Before you build on it
- API limits: the API is free to use under a fair use policy, with 300 credits per minute per IP address or user (see Rate limiting). Some endpoints, such as the snapshots, need a free personal API key, created in your account on sparecores.com. For higher limits or commercial use, see Fair use and commercial use.
- Licenses: the code is open source under MPL 2.0MPL 2.0: Mozilla Public License 2.0The open-source license of the Navigator's software components. Anyone may use, modify and distribute the code, also commercially and combined with closed-source code, but changes to the licensed files must be published under the same license.Spare Cores licenseMozilla FAQGlossary, the raw data is under CC BY-SA 4.0CC BY-SA 4.0: Creative Commons Attribution-ShareAlike 4.0The open license of the data the Navigator collects, such as the Crawler Data and the Inspector Data. Anyone may copy, share and adapt the data, also commercially, if they credit Spare Cores, indicate their changes, and share their adaptations under the same license.Spare Cores licenseCreative Commons summaryGlossary, and the compiled database under BSL 1.1BSL 1.1: Business Source License 1.1The source-available license of the Navigator's Database snapshots. Anyone may copy, modify and redistribute them, and use them outside production. Production use is free for academic research and for organizations with less than USD 1 million in annual revenue that don't build a competing cloud data, benchmarking or price-comparison service; other production use needs a commercial license. Three years after its publication, each snapshot is also available under CC BY-SA 4.0.Spare Cores licenseMariaDB FAQGlossary. See Licensing for the details.
Common tasks
- The cheapest server for given specs: the Web UI's
server listing, or the API's
/serverssorted bymin_price(its default). - The prices of a server in each region: the server's page on
sparecores.com, e.g. AWS t4g.2xlarge,
or the API's
/server/{vendor}/{server}/prices. - The benchmark scores of a server: the same page, or the API's
/server/{vendor}/{server}/benchmarks. - Servers with the fastest single core: in the Web UI's listing, pick PassMarkPassMarkThe PerformanceTest benchmark suite of PassMark Software, for Windows, Linux, macOS, and mobile devices. It runs fixed CPU, memory, disk, and graphics tests, such as math workloads involving compression, encryption, and physics simulations, and combines the results into an overall PassMark Rating.PerformanceTestGlossary's CPU Single Threaded Test with Select Benchmark and sort by the BENCHMARK column; or see the API and SQL examples.
- Similar servers at other vendors: the API's
/server/{vendor}/{server}/similar_servers/{by}/{num}. - Storage and traffic prices: the API's
/storage_pricesand/traffic_prices, or thestorage_priceandtraffic_pricetables.
Getting help
If the API or the website seems down, or the data out of date, check the status page first.
Open an issue in the GitHub repository of the part you have a question about:
- the data, e.g. a missing server or a wrong price:
sc-crawler - the benchmark workloads and their results:
sc-images - the API:
sc-keeper - the Web UI:
sc-www - the Python package:
sc-data
If you're not sure where it belongs, or would rather talk to us directly, contact Spare Cores. We're always happy to hear from you.