Spike Runtime

Your model, available wherever Spike is.

Host with Spike for Mac or Spike Agent CLI. Your provider stays private on its machine while your signed-in Spike clients securely discover and use it.

Available nowUse Spike for Mac 1.8.61 or newer, or Spike Agent CLI 2.0.17 or newer. A free Spike account is required; a Spike inference subscription is not.

Before you begin

You need three things:

  • A free Spike account, signed in on the Runtime host and on every client that should use it.
  • LM Studio, Ollama or another OpenAI-compatible server running on the host machine.
  • At least one model loaded and visible from the provider’s /v1/models endpoint.

No inbound network setup: do not expose LM Studio or Ollama to the public internet. Spike Runtime connects outward to the account relay and keeps the provider address and key on the host.

Host from Spike for Mac

This is the simplest path for a Mac that already runs LM Studio, Ollama or another compatible provider.

Install the current Mac app

Download Spike for Mac and confirm it is version 1.8.61 or newer.

Start your model server

Load a model in LM Studio and start its local server, normally at http://127.0.0.1:1234/v1. Ollama normally uses http://127.0.0.1:11434/v1.

Configure the provider

In Spike, sign in and open Settings › General. Under Model source, choose Direct Server (Advanced), enter the local provider URL and optional provider key.

Share it as a Runtime

Under Remote access, enable Share Direct Server as a Spike Runtime. Wait for Provider status: Ready.

Keep Spike open

The Mac Runtime remains available while the app is running. Its stable Runtime ID survives normal reconnects.

Two separate hosts: “Mac Agent host — Remote host online” confirms remote Agent execution. Your model is advertised only when Share Direct Server as a Spike Runtime is enabled.

Host from Spike Agent CLI

Use the CLI path for Linux, Windows, a headless server, or any machine where a foreground Runtime process is a better fit.

1. Install or update Spike

Terminal
spike update
spike --version

You need Spike Agent CLI 2.0.17 or newer.

2. Sign into your Spike account

Terminal
spike login
spike login status

3. Choose the local provider

Edit ~/.spike/config.toml and add one of these lines:

~/.spike/config.toml
spike_runtime_provider = "lmstudio"

Uses the default LM Studio URL http://127.0.0.1:1234/v1.

4. Start the Runtime

Terminal
spike runtime serve --label "Home Runtime"

The Runtime runs in the foreground. Keep the process alive; press Ctrl-C when you intentionally want it to go offline. A long-running host can later be placed under launchd or systemd.

Connect your other clients

  1. Sign into Spike Web, iPhone, Mac or CLI with the same Spike account.
  2. Open model settings and choose My connected Runtime or the Runtime’s label.
  3. Select one of the models advertised by that Runtime.
  4. Send a short test prompt. Your host should show activity while the answer streams back.

If the Runtime appears as offline, first check that the Mac app or spike runtime serve process is still running.

How Runtime protects the local provider

The Spike account is a control plane, not the inference engine. It authenticates your devices, discovers the Runtime and relays a bounded model request to the host. The host calls only its configured private provider.

  • The provider URL and provider key stay on the Runtime host.
  • The Runtime makes an outbound connection; clients never need the host’s IP address.
  • Runtime credentials are device-scoped and cannot access account or billing operations.
  • Inference response bytes are relayed for the live request rather than becoming provider configuration in account storage.

Your own model and hardware perform inference. Spike Cloud entitlement is relevant only when you choose a Spike-hosted model.

Troubleshooting

“Runtime hosting is disabled”

The CLI did not find spike_runtime_provider in ~/.spike/config.toml, or the named provider does not exist. Add one of the configurations above and restart the command.

The Runtime is visible but offline

Keep Spike for Mac open, or restart spike runtime serve. Confirm every device uses the same Spike account.

Provider status is unavailable

Start the local model server, load a model, and check its URL. For LM Studio, the common base URL is http://127.0.0.1:1234/v1.

I receive 429

The request is reaching a rate-limited hosted path instead of your Runtime. Re-select the connected Runtime and confirm it is online. In the CLI, run spike login status to rule out an expired or missing account session.

I receive 401

Sign in again on that client. A Runtime provider key and a Spike account login are separate credentials and should never be substituted for each other.

Do not work around a connection problem by exposing LM Studio or Ollama publicly. Fix the Runtime’s provider URL, account login or host process instead.