> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cosmon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Deployment options

> Compare Nexus Cloud and Nexus On-Premise (BYOK): what each includes, the tradeoffs, and how to choose.

Nexus runs as the same desktop application in both deployment models below. What changes is where LLM traffic goes and who operates the backend, if any is used at all. See [Architecture overview](/architecture/overview) for the full connection model, and [IT prerequisites](/architecture/it-prerequisites) for network and allowlisting detail.

<CardGroup cols={2}>
  <Card title="Cloud" icon="cloud" href="#cloud">
    Fully managed by Cosmon. OAuth sign-in, LLM calls proxied through the Cosmon backend, telemetry and sync included.
  </Card>

  <Card title="On-premise (BYOK)" icon="key" href="#on-premise-byok">
    Runs entirely in your environment. No Cosmon backend, no account — bring your own LLM key or point at an internal model.
  </Card>
</CardGroup>

## Cloud

Cloud is the fully managed offering. Users sign in with OAuth, and every LLM request is proxied through the Cosmon backend under Cosmon's provider agreements. Authorization, usage telemetry, cross-device sync, and application updates are all handled automatically. Dedicated single-tenant infrastructure is available for organizations that need physical data isolation while keeping the managed experience — see [backend topology](/architecture/overview#backend-topology).

```mermaid theme={null}
flowchart LR
    A["Desktop app<br/>OAuth sign-in"] -->|"HTTPS - one domain"| B["Cosmon backend<br/>api.cosmon.com<br/>Auth · LLM proxy · Telemetry · Sync · Updates"]
    B -->|"LLM proxy - Cosmon's key"| C["LLM provider"]
```

<CardGroup cols={2}>
  <Card title="Advantages" icon="check">
    * No infrastructure to install, patch, or maintain
    * New features and model upgrades ship automatically
    * One consolidated invoice — no separate LLM provider contract
    * Centralized user management, team collaboration, and sync
    * Cosmon owns uptime, scaling, and security patching
    * Dedicated single-tenant hosting available on request
  </Card>

  <Card title="Considerations" icon="triangle-exclamation">
    * Prompts and responses route through the Cosmon backend
    * Requires outbound network access to the Cosmon domain
    * Data residency is tied to Cosmon's hosting region, unless single-tenant
    * Availability depends on Cosmon's service uptime
  </Card>
</CardGroup>

## On-premise (BYOK)

On-premise runs the same desktop application entirely inside your environment, with no Cosmon backend involved — no account, no telemetry, no sync. The application validates its license locally with a machine-locked product key (see [authorization](/architecture/overview#authorization)). From there, you choose where the model lives: point Nexus at a model hosted on your own infrastructure, so the LLM never leaves your network either, or call an external provider's API directly using your own key. Either way, the desktop app talks only to that one endpoint — Cosmon is never in the loop.

```mermaid theme={null}
flowchart LR
    subgraph env["Your environment"]
        direction LR
        A["Desktop app<br/>local license key"] --- K["Your API key"]
        A -.->|optional| D["Internal model<br/>self-hosted"]
    end
    A -->|"or external API - direct, your key"| E["External LLM provider"]
```

<CardGroup cols={2}>
  <Card title="Advantages" icon="check">
    * No data ever passes through Cosmon's infrastructure, regardless of which model you point at
    * With an internal model, nothing leaves your network at all; with an external API, only your LLM provider does
    * Independent of Cosmon's uptime
    * Minimal procurement overhead — no vendor security review of a hosted backend required
    * Well suited to evaluations, strict data-sovereignty, and air-gapped-adjacent environments
  </Card>

  <Card title="Considerations" icon="triangle-exclamation">
    * No centralized user management, collaboration, or cross-device sync
    * Updates are applied manually, on your own schedule
    * No consolidated billing — LLM usage is billed directly to you by the provider
    * Your team manages issuing, storing, and rotating API keys
    * No usage analytics or admin dashboard, by design
  </Card>
</CardGroup>

## Compare

| Capability                | Cloud                                                 | On-premise (BYOK)                                                                  |
| ------------------------- | ----------------------------------------------------- | ---------------------------------------------------------------------------------- |
| LLM routing               | Proxied through Cosmon (Cosmon's key)                 | Direct to provider (your key)                                                      |
| Authorization             | OAuth, Cosmon-managed                                 | Local license key                                                                  |
| Telemetry                 | Cosmon backend                                        | None                                                                               |
| Cross-device sync         | Included                                              | Not available                                                                      |
| Application updates       | Automatic                                             | Manual                                                                             |
| Domains to allow          | 1 — `api.cosmon.com`                                  | 1 — your LLM provider (0 with an internal model)                                   |
| Infrastructure to operate | None — fully managed by Cosmon                        | None — no backend required                                                         |
| Billing                   | Single invoice from Cosmon                            | Billed directly by your LLM provider                                               |
| Data residency            | Cosmon's hosting region (or dedicated, single-tenant) | Entirely within your environment (internal model), or your provider's, if external |

## Which should you choose?

<CardGroup cols={2}>
  <Card title="Choose Cloud if" icon="cloud">
    You want the fastest path to value, centralized team management, and automatic updates, and you're comfortable with a trusted vendor operating the infrastructure — with single-tenant hosting available if you need stricter isolation later.
  </Card>

  <Card title="Choose On-premise if" icon="key">
    Data isolation is a hard requirement, your environment is air-gapped-adjacent, or minimizing your external vendor footprint matters, and your team can manage updates and API keys directly.
  </Card>
</CardGroup>

<Note>For the full connection model — including authorization modes, telemetry, and LLM trace collection — see [Architecture overview](/architecture/overview). For network and IT allowlisting details, see [IT prerequisites](/architecture/it-prerequisites).</Note>
