Get Similar Servers
GET /server/:vendor/:server/similar_servers/:by/:num
Search similar servers to the provided one.
The "family" method returns the servers from the same series of
the same vendor (e.g. "t2d" or "m8g"), so the other sizes of the
same instance type. When the series of the provided server is
unknown or has only a few other servers, it falls back to the
servers from the same family (e.g. "General Purpose"), which is a
broader category.
The "specs" approach will prioritize the number of
GPUs, then CPUsCPU: 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, lastly the amount of memory.
The "score" method will find the servers with the closest
performance using the multi-core 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 cpu stressor of stress-ng at 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.
The "score_per_price" method is similar to "score", but
instead of using the multi-core SCore, it uses the SCore
per price.
Request
vendor (path parameter, required): Vendor ID. server (path parameter, required): Server ID or API reference. by (path parameter, required): Algorithm to look for similar servers. Values: family, specs, score, score_per_price, benchmark_score, benchmark_score_per_price. num (path parameter, required): Number of servers to get. server_region (query parameter): Region of the baseline server, used for score_per_price ordering to find servers with a similar score_per_price. Values: 1000, 1100, 1210, 1220, 1230, 1250, 1260, 1270, 1280, 1290, 1300, 1310, 1320, 1330, 1340, 1350, 1360, 1370, 1380, 1390 and 221 more. countries (query parameter): Filter for regions in the provided list of countries. Values: AE, AT, AU, BE, BH, BR, CA, CH, CL, CN, CO, DE, DK, ES, FI, FR, GB, HK, ID, IE and 21 more. vendor_regions (query parameter): Identifier of the vendor and region, separated by a tilde. Values: alicloud~ap-northeast-1, alicloud~ap-northeast-2, alicloud~ap-southeast-1, alicloud~ap-southeast-3, alicloud~ap-southeast-5, alicloud~ap-southeast-6, alicloud~ap-southeast-7, alicloud~ap-southeast-8, alicloud~cn-beijing, alicloud~cn-chengdu, alicloud~cn-fuzhou, alicloud~cn-guangzhou, alicloud~cn-hangzhou, alicloud~cn-heyuan, alicloud~cn-hongkong, alicloud~cn-huhehaote, alicloud~cn-nanjing, alicloud~cn-qingdao, alicloud~cn-shanghai, alicloud~cn-shenzhen and 235 more. best_price_allocation (query parameter): Controls how the server's "best price" is computed: use only spot prices, only on-demand prices, or the lowest available price from any allocation type. Values: ANY (Lowest hourly price of any allocation type, spot or on-demand), SPOT_ONLY (Lowest hourly spot price), ONDEMAND_ONLY (Lowest hourly on-demand price), MONTHLY (Lowest monthly on-demand price: 730 hours, or less with the monthly cap of the vendor). benchmark_id (query parameter): Benchmark id to use as the main score for the server. benchmark_config (query parameter): Optional benchmark config dict JSON to filter results of a benchmark_id. currency (query parameter): Currency used for prices.
200: Successful Response. vendor_id: Reference to the Vendor. server_id: Unique identifier, as called at the Vendor. name: Human-friendly name. api_reference: How this resource is referenced in the vendor API calls. This is usually either the id or name of the resource, depending on the vendor and actual API endpoint. api_reference_object: How this resource is referenced in the vendor API calls, including the parameter name(s). display_name: Human-friendly reference (usually the id or name) of the resource. description: Short description. family: Broad workload class of the server in the vendor's own naming, e.g. General Purpose, Compute Optimized or Memory Optimized. series: Hardware line and generation of the server, e.g. m5 (AWS), n2 (GCP) or b3 (OVH). vcpus: Default number of virtual CPUs (vCPU) of the server. hypervisor: Hypervisor of the virtual server, e.g. Xen, KVM, Nitro or Dedicated. cpu_allocation: Allocation of CPU(s) to the server, e.g. shared, burstable or dedicated. Values: Shared (Shared CPU with other virtual server tenants), Burstable (CPU that can temporarily burst above its baseline performance), Dedicated (Dedicated CPU with known performance). cpu_cores: Default number of CPU cores of the server. Equals to vCPUs when HyperThreading is disabled. cpu_speed: Vendor-reported maximum CPU clock speed (GHz). cpu_architecture: CPU architecture (arm64, arm64_mac, i386, or x86_64). Values: arm64 (64-bit ARM architecture), arm64_mac (Apple 64-bit ARM architecture), i386 (32-bit x86 architecture), x86_64 (64-bit x86 architecture), x86_64_mac (Apple 64-bit x86 architecture). cpu_manufacturer: The manufacturer of the primary processor, e.g. Intel or AMD. cpu_family: The product line/family of the primary processor, e.g. Xeon, Core i7, Ryzen 9. cpu_model: The model number of the primary processor, e.g. 9750H. cpu_l1d_cache: L1 data cache size (KiB). cpu_l1d_cache_total: Total L1 data cache size (KiB) across all cores. cpu_l1i_cache: L1 instruction cache size (KiB). cpu_l1i_cache_total: Total L1 instruction cache size (KiB) across all cores. cpu_l2_cache: L2 cache size (KiB). cpu_l2_cache_total: Total L2 cache size (KiB) across all cores. cpu_l3_cache: L3 cache size (KiB). cpu_l3_cache_total: Total L3 cache size (KiB) across all cores. cpu_flags: CPU features/flags. cpus: JSON array of known CPU details, e.g. the manufacturer, family, model; L1/L2/L3 cache size; microcode version; feature flags; bugs etc. manufacturer: Manufacturer. family: Family. model: Model. cores: Cores. threads: Threads. l1_cache_size: L1 Cache Size. l2_cache_size: L2 Cache Size. l3_cache_size: L3 Cache Size. microcode: Microcode. capabilities: Capabilities. bugs: Bugs. bogomips: Bogomips. ecpus: The effective "real-world" core count, calculated by dividing the maximum multi-core SCore by the single-core SCore. scalability: Measures how efficiently the server scales from a single core performance to using multiple cores. A score of 100% means perfect linear scaling with zero performance loss. hw_virt: If hardware virtualization (e.g. KVM) is supported. memory_amount: RAM amount (MiB) reported by the vendor. memory_amount_actual: Actual RAM amount (MiB) measured on the instance via lstopo or other tool. This amount might not match the vendor-reported memory due to the BIOS or the hypervisor reserving a small percentage. memory_generation: Generation of the DDR SDRAM, e.g. DDR4 or DDR5. Values: DDR3 (DDR3 SDRAM), DDR4 (DDR4 SDRAM), DDR5 (DDR5 SDRAM). memory_speed: DDR SDRAM clock rate (Mhz). memory_ecc: If the DDR SDRAM uses error correction code to detect and correct n-bit data corruption. accelerator_count: Number of accelerator(s), e.g. GPUs or NPUs. accelerator_memory_min: Memory (MiB) allocated to the lowest-end accelerator. accelerator_memory_total: Overall memory (MiB) allocated to all the accelerator(s). accelerator_type: The type of the primary accelerator, e.g. GPU or NPU. Values: GPU (Graphics Processing Unit), TPU (Tensor Processing Unit. Deprecated: Google TPUs are stored as NPU), NPU (Neural Processing Unit, e.g. Google TPU, AWS Inferentia and Trainium, Habana Gaudi or Qualcomm AI100), FPGA (Field-Programmable Gate Array, e.g. Xilinx Virtex UltraScale+), VPU (Video Processing Unit: video transcoding card, e.g. Xilinx U30). accelerator_manufacturer: The manufacturer of the primary accelerator, e.g. Nvidia or AMD. accelerator_family: The product family of the primary accelerator, e.g. Turing. accelerator_model: The model number of the primary accelerator, e.g. Tesla T4. accelerators: JSON array of accelerator details, including the manufacturer, name, and memory (MiB) of each accelerator. memory: Memory. firmware_version: Firmware Version. bios_version: Bios Version. graphics_clock: Graphics Clock. sm_clock: Sm Clock. mem_clock: Mem Clock. video_clock: Video Clock. storage_size: Overall size (GB) of the disk(s). storage_type: Primary disk type, e.g. HDD, SSD, or NVMe SSD. Values: hdd (Magnetic hard disk drive), ssd (Solid-state drive), nvme ssd (NVMe based solid-state drive). storages: JSON array of disks attached to the server, including the size (GB) and type of each disk. size: Size. storage_type: Type of a storage, e.g. HDD or SSD. Values: hdd (Magnetic hard disk drive), ssd (Solid-state drive), nvme ssd (NVMe based solid-state drive). description: Description. read_iops_max: Read Iops Max. write_iops_max: Write Iops Max. read_throughput_max: Read Throughput Max. write_throughput_max: Write Throughput Max. storage_read_iops_max: The vendor-published maximum read IOPS of the bundled disk(s), summed over all disks, also of different types (e.g. temp disk and NVMe), so a theoretical total. Per-disk values are in storages. storage_write_iops_max: The vendor-published maximum write IOPS of the bundled disk(s), summed over all disks, also of different types (e.g. temp disk and NVMe), so a theoretical total. Per-disk values are in storages. storage_read_throughput_max: The vendor-published maximum read throughput (MB/s) of the bundled disk(s), summed over all disks, also of different types (e.g. temp disk and NVMe), so a theoretical total. Per-disk values are in storages. storage_write_throughput_max: The vendor-published maximum write throughput (MB/s) of the bundled disk(s), summed over all disks, also of different types (e.g. temp disk and NVMe), so a theoretical total. Per-disk values are in storages. compatible_storage_ids: List of storage_ids that can be attached to the server as extra storage. network_speed_baseline: The baseline network performance (Gbps) of the server, aggregated over all network cards. network_speed_max: The maximum network performance (Gbps) of the server, aggregated over all network cards. network_storage_speed_baseline: The baseline bandwidth performance of network-attached storage (Gbps). network_storage_speed_max: The maximum bandwidth performance of network-attached storage (Gbps). inbound_traffic: Amount of complimentary inbound traffic (GB) per month. outbound_traffic: Amount of complimentary outbound traffic (GB) per month. ipv4: Number of complimentary IPv4 address(es). average_time_to_start: Average time to start the server (seconds). retirement_date: Retirement date announced by the vendor for PLANNED_FOR_RETIREMENT and RETIRED records: the end of support (shutdown) if published, otherwise the end of sale. Empty when not announced or not known. status: Status of the resource (active or inactive). Values: active (Currently available), inactive (Currently not available, without a known retirement. May become available again), planned-for-retirement (Retirement was announced by the vendor, but can still be ordered. Only used for servers and databases), retired (Retired by the vendor and cannot be ordered anymore, but prices may still exist (e.g. for active multi-year contracts). Only used for servers and databases), archived (Kept only for historical reference: replaced by another record (e.g. renamed, merged or split) or dropped from the dataset). observed_at: Timestamp of the last observation. score: Score. price: Price. min_price: Min Price. min_price_spot: Min Price Spot. min_price_ondemand: Min Price Ondemand. min_price_ondemand_monthly: Min Price Ondemand Monthly. score_per_price: Score Per Price. selected_benchmark_score: Selected Benchmark Score. selected_benchmark_score_per_price: Selected Benchmark Score Per Price. vendor: VendorBase. vendor_id: Unique identifier. logo: Publicly accessible URL to the image of the Vendor's logo. homepage: Public homepage of the Vendor. country_id: Reference to the Country, where the Vendor's main headquarter is located. state: Optional state/administrative area of the Vendor's location within the Country. city: Optional city name of the Vendor's main location. address_line: Optional address line of the Vendor's main location. zip_code: Optional ZIP code of the Vendor's main location. founding_year: 4-digit year when the public cloud service of the Vendor was launched. status_page: Public status page of the Vendor. stopped_server_charged: If the Vendor charges for stopped servers. In case it depends on the instance type or different versions of stopped states, this field reports the worst case. billing_increment_seconds: The smallest increment of time for which the Vendor bills for. minimum_billing_seconds: The minimum amount of time for which the Vendor bills for. In case it depends on the instance type or other context, this field reports the worst case. billing_comment: Comment on the Vendor's billing. price_breakdown: PriceBreakdown. compute_min_price: Compute Min Price. compute_min_price_spot: Compute Min Price Spot. compute_min_price_ondemand: Compute Min Price Ondemand. compute_min_price_ondemand_monthly: Compute Min Price Ondemand Monthly. traffic_inbound_hourly: Traffic Inbound Hourly. traffic_inbound_monthly: Traffic Inbound Monthly. traffic_outbound_hourly: Traffic Outbound Hourly. traffic_outbound_monthly: Traffic Outbound Monthly. traffic_hourly: Traffic Hourly. traffic_monthly: Traffic Monthly. extra_storage_hourly: Extra Storage Hourly. extra_storage_monthly: Extra Storage Monthly. 422: Validation Error. detail: Detail. loc: Location. msg: Message. type: Error Type. input: Input. ctx: Context.