http://127.0.0.1:8888. That’s local only. Keep Studio on your machine and run the Tokios connector next to it: the connector dials out to https://api.tokios.com, and your tools, teammates, or agents call one authenticated endpoint from anywhere.
The outbound-only way
1
Run a model in Unsloth Studio
Start Studio and load a model through its UI. Studio launches with:Once a model is running, Studio exposes an OpenAI-compatible API on port
8888. Leave it on your machine — you don’t need to open it to your network.2
Pair the Tokios connector
Sign in at tokios.com/console, open the Setup tab, and click Start pairing. Tokios shows a one-time claim code like Already have Back in the console, approve the device on the Setup or Connectors tab. The connector’s token is delivered over the tunnel once approved — you never see it on screen or paste it into a file.
TKS-XXXX-XXXX, valid for about 15 minutes.On the machine running Studio, run the install one-liner for your OS:tokios-connector installed? Pass the code directly instead:3
Point the connector at Studio's /v1 API
For the basic single-model path, enter Studio’s OpenAI-compatible endpoint as the upstream: See Connector config for the full multi-model file format.
http://127.0.0.1:8888/v1. If you’re serving several models through a tokios-connector.json config, set the upstream BaseUrl explicitly:4
Register a deployment
In the Models tab, register the model and choose a public name — for example,
studio-tunnel. That public name, not the model id inside Studio, is what clients send in the model field.5
Create an API key
In the Keys tab, click Create key. Optionally scope it to specific deployments with model-name patterns (comma-separated globs,
* for all). Copy the sk-tok-… key now — it’s shown only once.Use it from anywhere
Once you have a deployment name and an API key, any OpenAI- or Anthropic-compatible client can reach the model you’re running in Studio — from another machine, a teammate’s laptop, or a hosted agent.FAQ
Does streaming work?
Does streaming work?
Yes. Set
"stream": true and Tokios returns standard server-sent events (SSE) in OpenAI or Anthropic format, depending on which API surface you called.Can I use a model I trained in Studio?
Can I use a model I trained in Studio?
Yes. Run it in Studio the same way, or export it to
GGUF and serve it through Ollama or llama.cpp — either way, register it as a Tokios deployment. See Serve a fine-tune.Your model never leaves your machine — your endpoint works everywhere
Unsloth Studio keeps running on your machine, with no inbound ports and nothing exposed to the network. The connector only dials out. Everything past that — auth, routing, streaming — is one endpoint you can call from any machine, teammate, or agent you choose to give a key to.Quickstart
Pair a connector and register your first model end to end.
Serve a fine-tune
Turn a model you trained into a private API endpoint.