Instance Sizes

Instances are sized by combinations of CPU virtual cores, memory and disk space. Custom sizes can also be created by customers, as our quotas and therefore pricing are based on a combined allocation of CPU, RAM and disk.

Listing available sizes

Listing the available sizes is possible by making a GET request to the https://api.civo.com/v2/sizes resource.


This request doesn't take any parameters.


The response from the server will be a JSON array of sizes, each with a name and the appropriate attributes.

        "name": "g3.xsmall",
        "nice_name": "Extra Small",
        "cpu_cores": 1,
        "ram_mb": 1024,
        "disk_gb": 25,
        "description": "Extra Small",
        "selectable": true
    // ...

Example of listing available sizes

curl -H "Authorization: bearer 12345" https://api.civo.com/v2/sizes
// At a shell prompt run:
// npm init -y
// npm i --save request

var request = require('request');

  function (error, response, body) {
    if (!error && response.statusCode == 200) {
).auth(null, null, true, '12345');
require 'net/http'

http = Net::HTTP.new('api.civo.com', 443)
http.use_ssl = true

headers = {
  'Authorization' => 'bearer 12345',
  'Content-Type' => 'application/x-www-form-urlencoded'

resp, data = get('v2/sizes', headers)