Skip to content
VPScast
Menu

Where to host a OKX trading bot

We earn commissions when you shop through the links below. How we make money

Tokyo is nearest, at 14.7 ms to OKX's API.

Nothing we measured is closer than 10 ms. A server next to the exchange would answer in a few milliseconds, so OKX's API sits somewhere we don't benchmark yet: a data center of a provider we have not measured may be much nearer.

90 data centers · a request on an open connection from servers we rent · Oct 31 – Nov 24, 2026 · how we measure

Our pick for OKX

Vultr Tokyo · nrt

14.7 ms median
16.6 ms p90
Cloud Compute vc2-1c-1gb
1 vCPU · 1 GB · enough for one bot
$5.00
Optimized Cloud voc-c-1c-2gb-25s-amd
dedicated vCPU · steadier timing for frequent orders
$28.00
Order Cloud Compute vc2-1c-1gb All plans in Tokyo

Does 15 ms matter for your bot?

Market making, arbitrage

You compete with other bots for the same price. Every millisecond moves you down the queue.

Matters a lot: host as near as you can

Scalping, fast signals

You act within seconds of a move. Tens of milliseconds change your fill a little.

Matters some: the nearest region is enough

Grid, DCA, swing

Orders wait minutes or hours. Uptime and price matter more than distance.

Barely matters: pick on price and uptime

Nearest data centers to OKX

Median and p90 of 10 requests from servers we create in each data center · cheapest plan with 1 GB or more · stock now

# Data center API, ms p90 Cheapest 1 GB+ plan Stock Measured
1 Tokyo, JP
Vultr · nrt
14.7 16.6 Cloud Compute vc2-1c-1gb $5.00 In stock Nov 17
2 Tokyo, JP
LightNode · jp-tokyo-1
16.0 17.1 sold out Nov 13
3 Tokyo, JP
Cherry Servers · JP-Tokyo
24.7 26.4 Cloud VPS 1 (Gen 2) $3.28 Sold out Nov 5
4 Osaka, JP
Vultr · itm
28.2 31.8 Cloud Compute vc2-1c-1gb $5.00 In stock Oct 31
5 Seoul, KR
Vultr · icn
46.7 50.1 Cloud Compute vc2-1c-1gb $5.00 In stock Nov 2
6 Seoul, KR
LightNode · kr-seoul-2
47.4 49.7 1 vCPU 2 GB $8.28 Not reported Nov 13
7 Taipei, TW
LightNode · cn-taiwan-2
49.0 50.4 1 vCPU 2 GB $8.28 Not reported Nov 13
8 Hong Kong, HK
LightNode · cn-hongkong-3
70.2 80.9 1 vCPU 2 GB $8.28 Not reported Nov 13
9 Singapore, SG
DigitalOcean · sgp1
86.2 90.7 Basic s-1vcpu-1gb $6.00 In stock Nov 9
10 Singapore, SG
Vultr · sgp
86.3 90.8 Cloud Compute vc2-1c-1gb $5.00 In stock Oct 31
11 Singapore, SG
Hetzner · sin
89.4 102 CPX 02 $8.74 In stock Nov 11
12 Singapore, SG
UpCloud · sg-sin1
89.6 94.4 STARTER-1xCPU-1GB $3.50 Not reported Nov 10
Amber p90: the slow tail is 50% or more above the median.

If the server must be on another continent

Asia Tokyo · Vultr 14.7 $5.00
North America Hillsboro · Hetzner 107 $19.68
Oceania Sydney · UpCloud 122 $3.50
Europe Frankfurt · LightNode 241
South America Buenos Aires · LightNode 250 $8.28
Africa Cairo · LightNode 279 $8.28

Reading the numbers

  • Time from the request leaving the server to the first byte back, on an open connection, as a bot that keeps its connection does.
  • Only status 200 counts: a CDN answering a blocked country is not a way to trade.
  • p90 is the slow tail: what one request in ten is slower than.
  • Only data centers where we benchmark plans: measured so far from Africa: LightNode, Vultr; Asia: Cherry Servers, DigitalOcean, Hetzner, LightNode, UpCloud, Vultr; Europe: Cherry Servers, DigitalOcean, Hetzner, LightNode, UpCloud, Vultr; North America: Cherry Servers, DigitalOcean, Hetzner, LightNode, UpCloud, Vultr; Oceania: DigitalOcean, UpCloud, Vultr; South America: LightNode, Vultr.

OKX bot hosting: questions

Where are OKX's API servers?

OKX does not say. Of the data centers we measure, its API answers fastest from Tokyo (Vultr), in 14.7 ms. That is not next door: a server beside the API would answer in a few milliseconds, so the API sits somewhere we do not benchmark yet, and a data center of another provider may be nearer.

Is a VPS in Tokyo fast enough for a OKX bot?

From Tokyo a request takes 14.7 ms with the slowest one in ten at 16.6 ms. For grid, DCA or swing strategies, where orders wait minutes, that is far more than enough; for scalping it is good; for market making and arbitrage against other bots every millisecond counts, so measure your own setup too.

REST or WebSocket: which latency matters?

Most bots read market data over a WebSocket stream and send orders over REST or a WebSocket order API. Both travel the same network path, so the round trip we measure on an open REST connection is a fair guide to both; what the exchange does inside before it answers differs between them.

Can I run a OKX bot from a US server?

Our US servers get answers, the nearest in Hillsboro at 107 ms. Whether you may trade from the US is set by OKX's terms for your account and country, not by the server: check them first.

How much server does one bot need?

One bot trading over the API runs on 1 vCPU and 1 GB of RAM; 512 MB tends to run out once logs and a runtime grow. Several bots, backtests or a database want 2 GB or more. Dedicated vCPUs keep the timing steady when the neighbours on a shared host are busy.