Skip to content
Search Documentation
Search across all documentation pages
Delivery Regions

Delivery Regions

Hosted videos are delivered through a CDN with edge locations in five delivery regions. Each app chooses which regions are enabled, and delivery is billed per GB at the rate of the region that served it. All five regions are on by default, so an app that never changes the setting is delivered from everywhere.

Turning a region off never blocks a viewer. Viewers outside the enabled regions still play the video, but it is served from the nearest enabled region, so start-up can be slower and buffering more likely. That traffic is billed at the rate of the region that served it.

Choose an app’s regions in the dashboard under the app’s Delivery regions settings, or over the API with AppService.UpdateHostingConfig. A change takes effect within about a minute.

Regions and prices

Regiondelivery_regions valueCovers, for exampleList price
EuropeeuropeEU, UK, Nordics€0.010 per GB
North Americanorth_americaUS, Canada, Mexico€0.010 per GB
Asia & Oceaniaasia_oceaniaJapan, India, Australia, Turkey€0.030 per GB
South Americasouth_americaBrazil, Argentina, Chile€0.045 per GB
Middle East & Africamiddle_east_africaGulf states, South Africa, Nigeria€0.060 per GB

Edge locations are grouped into regions for billing: delivery from Mexico City is billed at the North America rate; Turkey, Israel and India at the Asia & Oceania rate; the Gulf states at the Middle East & Africa rate.

These are list prices. If your account has custom rates, your own prices are on the Billing page under Your pricing; see Custom pricing below.

How delivery is billed

Delivery is billed by the region that served the bytes, not by where the viewer is. Two apps with the same viewer in Brazil show the difference:

  • An app with only Europe enabled. The viewer is served from Europe and that delivery bills at €0.010 per GB. Playback works, but start-up is slower for that viewer and buffering is more likely.
  • An app with all five regions enabled. The viewer is served from South America and that delivery bills at €0.045 per GB. Playback starts fast.

An app that enables only Europe, only North America, or both therefore pays €0.010 per GB for all of its delivery, wherever its viewers are.

Delivery is metered per UTC day and billed per GB, where 1 GB = 2^30 bytes (1,073,741,824 bytes), the same unit storage is billed in. Public, unlisted and signed private playback are all billed the same way, with no per-request fees.

Choosing regions

Three settings cover most apps:

Settingdelivery_regionsWhat delivery costsTrade-off
Worldwide (default)all five€0.010 to €0.060 per GB, by the region that served itEvery viewer is served from nearby.
Europe + North Americaeurope, north_america€0.010 per GB for all deliveryViewers in Asia & Oceania, South America and the Middle East & Africa are served from the nearer of the two, with slower start-up.
Europe onlyeurope€0.010 per GB for all deliveryVideos are stored in the EU and served from European edge locations. Every viewer outside Europe is served from Europe, with slower start-up.

Any other combination of regions works the same way. An app always has at least one region enabled.

The latency trade-off

Distance between the viewer and the edge location that serves them is what a region setting changes. A viewer near an enabled region gets fast start-up and smooth playback. A viewer far from every enabled region still plays the video, served from the nearest enabled region, but start-up can be slower and buffering more likely, especially at higher bitrates. If most of your audience is in Europe and North America and you want the lowest delivery price, enabling only those regions costs your other viewers some start-up time; if your audience is worldwide, keep all five on.

When a change takes effect

A change takes effect within about a minute. From then on, viewers are served from the regions you enabled, and delivery is billed at the rate of whichever region served it. Your videos, playback URLs and embeds do not change.

Custom pricing

Rate cards, plan pricing and discounts apply to each delivery region separately: an account may pay a custom rate in one region and the list price in the others. To read your own rates, call AppService.GetPricing: delivery has one entry per region, with rule_type "egress", rule_key set to the region (for example "south_america") and unit eur_per_gb. The dashboard shows the same rates on the Billing page under Your pricing.

Usage and invoices

VideoService.GetUsage reports delivery per region alongside the existing totals: egress_by_region for the month, with region, egress_bytes, egress_gb and egress_cost per region, and egress_by_region on each daily entry, with region and egress_bytes. Both lists have an entry only for regions with usage, in the order of the table above. Delivery metered before regional pricing, if any, has an empty region and comes last; the dashboard labels it Before regional pricing. egress_gb uses the billed GB (see How delivery is billed), and the entries’ egress_bytes add up exactly to the period’s delivered bytes, while their egress_gb and egress_cost add up to the totals to within 0.000001.

{
  "usage": {
    "billing_month": "2026-11",
    "egress_gb": 115,
    "egress_cost": 1.5,
    "egress_by_region": [
      { "region": "europe", "egress_bytes": 107374182400, "egress_gb": 100, "egress_cost": 1 },
      { "region": "south_america", "egress_bytes": 10737418240, "egress_gb": 10, "egress_cost": 0.45 },
      { "region": "", "egress_bytes": 5368709120, "egress_gb": 5, "egress_cost": 0.05 }
    ],
    "daily": [
      {
        "date": "2026-11-25",
        "storage_bytes": 51539607552,
        "egress_bytes": 4294967296,
        "request_count": 2100,
        "encoding_cost": 0,
        "egress_by_region": [
          { "region": "europe", "egress_bytes": 3758096384 },
          { "region": "south_america", "egress_bytes": 536870912 }
        ]
      }
    ]
  }
}

The invoice carries one Hosting — CDN egress line per app per region, for example Hosting — CDN egress (South America). Delivery metered before regional pricing keeps the single Hosting — CDN egress line.

Set the regions

In the dashboard, open the app and choose Delivery regions.

Over the API, pass hosting_config.delivery_regions to UpdateHostingConfig. The list replaces the app’s regions; leaving it out or sending an empty list leaves them unchanged. Values are the lowercase strings in the table above. An unknown value or a duplicate is rejected with invalid_argument. The call needs the same permissions as the rest of the hosting configuration, and hosting must be enabled on the app.

# Europe only
curl -X POST https://api.transcodely.com/transcodely.v1.AppService/UpdateHostingConfig 
  -H "Authorization: Bearer {{API_KEY}}" 
  -H "X-Organization-ID: org_a1b2c3d4e5" 
  -H "Content-Type: application/json" 
  -d '{
    "id": "app_k1l2m3n4o5",
    "hosting_config": {
      "delivery_regions": ["europe"]
    }
  }'
const { app } = await client.apps.updateHostingConfig({
  id: "app_k1l2m3n4o5",
  hostingConfig: {
    deliveryRegions: ["europe"],
  },
});
res = client.apps.update_hosting_config(
    id="app_k1l2m3n4o5",
    hosting_config={
        "delivery_regions": ["europe"],
    },
)
app, err := client.Apps.UpdateHostingConfig(ctx, &transcodely.AppUpdateHostingConfigParams{
	Id: "app_k1l2m3n4o5",
	HostingConfig: &transcodely.HostingConfig{
		DeliveryRegions: []string{"europe"},
	},
})

To go back to worldwide delivery, send all five values.

Reading the app always returns the full set of enabled regions, in the order of the table above. An app that never set it reads all five:

{
  "hosting_config": {
    "delivery_regions": ["europe", "north_america", "asia_oceania", "south_america", "middle_east_africa"]
  }
}

After the Europe-only update above, it reads ["europe"].

If the CDN cannot confirm the new setting, the call fails with unavailable and error code delivery_regions_update_failed: the change is not saved and the previous regions are restored where possible; retry it in a moment. If another change to the app’s hosting settings is still being applied, the call fails with unavailable and error code hosting_config_busy and nothing is saved; retry it in a few seconds.

Run this against your own file

A free account includes 30-second test encodes, so the request on this page can be tried before anything is configured.