Install and configure 9router on a VPS

Centralise your LLM calls with an AI API proxy, self-hosted on VPS. 9router VPS allows you to quickly deploy an application router, choose the request route and keep your keys in the same place, without any heavy configuration. Developers, AI teams, DevOps and technical startups can launch 9router, connect their applications and start orchestrating multiple models from a controlled layer.
Image_UseCase_Webcloud_OptionBDD_2.jpeg

An AI API router, not a network router

The word “router” can be confusing. 9router is not a WiFi box, or an internet access modem, or a network hardware brand – it is a software tool that runs in Docker on your 9router VPS. It receives requests from your applications, adds useful information, applies your rules, then redistributes traffic to the configured model APIs. You retain control over every piece of sensitive data, including your credentials, flows, usage settings and consumption limits.
OVHcloud_Baremetal_1200x800.png
2027

VPS-1

From

$4.54

/month

Specifications:

2 vCores

4 GB RAM

40 GB SSD NVMe

Daily backup of the previous 24 hours

2027

VPS-2

From

$8.50

/month

Specifications:

4 vCores

8 GB RAM

75 GB SSD NVMe

Daily backup of the previous 24 hours

2027

VPS-3

From

$12.32

/month

Specifications:

6 vCores

12 GB RAM

100 GB SSD NVMe

Daily backup of the previous 24 hours

2027

VPS-4

From

$23.37

/month

Specifications:

8 vCores

24 GB RAM

200 GB SSD NVMe

Daily backup of the previous 24 hours

Why host 9router on a VPS

A VPS provides an isolated, configurable environment available online to operate 9router VPS without depending on a local machine. You control the application path, system rules and open services, while keeping the flexibility required to edit your configuration. NVMe SSD storage helps to process logs, configuration files and service states quickly. The VPS network supports API exchanges with a latency suited to interactive use cases. Depending on your technical limitations, you can also enable Caveman mode, adjust it or disable it, as part of a legal usage framework set by your organisation.

Control your LLM calls from a single point

An entry layer for your AI applications

Once installed, 9router becomes the entry layer for your AI applications. Your service no longer calls each LLM provider directly. It sends a request to 9router, which applies your routing rules before forwarding the request to the chosen model, so you can organise calls according to the task type, the expected cost, availability, or your team’s preferences.

A common interface for your integrations

This architecture simplifies contact between your applications and the LLM ecosystem. Instead of maintaining several dispersed integrations, you use a common interface. Provider changes, settings adjustments or strategy developments are managed on the software router side, without requiring a redesign on every connected application.

A global VPS infrastructure

The OVHcloud VPS infrastructure relies on global datacentres and internet access designed for online services. This base helps to control latency, maintain access continuity and bring your services closer to the regions where your users interact with your tools.

Reduced technical dependency

Routing also reduces dependency on a single technical element. If a model becomes less suitable for a use case, you can direct certain requests elsewhere, without changing the entry point on the application side. This is important for teams building agents, assistants or business services that are set to change regularly.

Harness 9router with a solid operational foundation

9router integrates with OpenAI API practices to limit changes on the application side
Simple.svg
Compatibility with OpenAI API usage
Network.svg
Network security included in the VPS environment
Gears Hand.svg
Guided onboarding for technical teams
Web App.svg
Web, mobile and centralised access to models

Reduce token consumption and manage your quotas

Optimisation of requests

The cost of an AI application does not depend solely on the number of users. It also depends on the length of the requests, the expected responses and repeated calls to the models. RTK Token Saver acts on this specific point: it optimises or compresses requests before they are sent, in order to reduce the tokens consumed when the context allows it.

API quota management

This management becomes useful as soon as several teams share the same public API or several keys. API quotas provide a framework: they help to avoid excesses, even out activity and identify usage that consumes more than expected. You can differentiate between a highly requested internal agent, a poorly configured business tool or a spike coming from your community networks.

Varied use cases

The use cases are varied. A support centre can reduce redundant prompts in assisted responses. A product team can manage the calls of an assistant integrated into its software. A community can offer AI functions without letting each department consume unlimited resources. Even in games or interactive experiences, continuous optimisation prevents frequent exchanges from eating away at your budget.

Documentation of rules

To follow these practices, your team can also document its rules, share an internal technical newsletter and adjust policies according to observed usage feedback.

Frequently asked questions about VPS 9router

How do I install 9router on a VPS?

Installing 9router on a VPS requires manual configuration. Prepare the VPS, install Docker if necessary, then retrieve the 9router project or its image. Configure the environment variables and API keys, launch the service, then test the endpoint with a low volume of requests before any production use.

Do my API keys remain confidential?

Yes, the company retains control of its server, its credentials and its multi-provider routing rules. Confidentiality is also dependent on your practices: limiting SSH access, rotating secrets, firewalls, monitoring and strict management of authorised accounts. 9router helps to avoid the dispersion of keys across multiple applications.

Does 9router work with OpenAI-compatible APIs?

Yes. 9router exposes an OpenAI-compatible API entry point, which you can use in your applications with limited adaptations. This means that the keys, the available models and the routing rules to several providers are all centralised. We recommend that you verify the configuration with a low volume of requests, then gradually expand usage before going into production.

Is this related to gaming routers?

No. Gaming routers mainly involve a local connection, domestic latency or the priority given to certain devices. 9router VPS involves API routing, keys, quotas and AI model orchestration from a hosted server.