Skip to main content
gpt-oss is OpenAI’s open-weight reasoning model family. It gives you two mixture-of-experts sizes: gpt-oss-20b for local and lower-latency use, and gpt-oss-120b for workstation or server hardware. Run the model locally first, then use the Tokios connector to expose that local runtime through https://api.tokios.com without opening inbound ports.

Run it locally with Ollama

Start with 20b unless you already know your machine can hold the larger model:
For the larger tier:
Leave Ollama on its default loopback address, http://127.0.0.1:11434. Tokios will connect to Ollama’s OpenAI-compatible /v1 API later.

Variants and tags

Tags and quantizations change over time. Confirm the exact tag on Ollama’s gpt-oss library page before you standardize on it. Sources: Ollama gpt-oss tags, OpenAI gpt-oss announcement, openai/gpt-oss-20b, and openai/gpt-oss-120b.
The Ollama gpt-oss:latest tag currently points at the 20b download. Pin gpt-oss:20b or gpt-oss:120b in production so the local upstream model id stays clear.

Quantization and formats

OpenAI ships gpt-oss in MXFP4: the MoE weights are quantized to 4.25 bits per parameter. Ollama supports that format natively for gpt-oss, so the beginner path does not need a manual conversion step. OpenAI states that gpt-oss-20b can run within 16 GB of memory and gpt-oss-120b can fit on a single 80 GB GPU when using its native quantization. Use the format, not just the parameter count, when you choose hardware: See Quantization formats and the hardware they need for the format matrix, and what quantization is for the Q4 / Q8 naming basics.

Hardware fit

Treat this as a planning guide for the native MXFP4 / Ollama path at a modest context length. The real limit is the downloaded model size plus KV cache for your context. For the sizing method, see What size model fits your GPU?. For the prompt lifecycle and why long context adds memory, see KV cache and context.

Run it: beginner to advanced

Use gpt-oss:120b only on hardware with enough memory. Ollama publishes both tags and supports the model’s native tool and reasoning features through its chat API.

Capabilities

  • Reasoning: gpt-oss supports configurable reasoning effort: low, medium, and high. Set the effort through the runtime’s supported prompt or parameter mechanism.
  • Tool use: gpt-oss was trained for the harmony response format and supports native function calling, web browsing, Python tool calls, and structured outputs. Use a runtime that applies the harmony format for you.
  • Context: Both sizes support up to 128K context. Raise your runtime context setting if the default is lower.
  • Vision: gpt-oss is text-only.
  • Fine-tuning: OpenAI describes the family as fine-tunable. Use your runtime or training tool’s current gpt-oss support before planning a fine-tune.
gpt-oss should be used with OpenAI’s harmony response format. Ollama, Transformers chat templates, and other supported runtimes can apply it for you. If you change runtimes, verify harmony support before you rely on reasoning traces or tool calls.

Connect it with Tokios

1

Keep your local runtime running

Start gpt-oss in Ollama, LM Studio, vLLM, SGLang, or another OpenAI-compatible runtime. Keep the runtime bound to loopback.
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 TKS-XXXX-XXXX.Run the installer on the machine that runs the model:
Windows
macOS
Linux
Already have tokios-connector installed? Pass the claim code directly:
Back in the dashboard, approve the device on the Setup or Connectors tab.
3

Point the connector at the runtime's /v1 API

For Ollama, use:
For LM Studio, use http://127.0.0.1:1234/v1. For vLLM, use http://127.0.0.1:8000/v1. For SGLang, use the port you launched, such as http://127.0.0.1:30000/v1.
4

Register a deployment

In the Models tab, register the upstream model and choose a public name, for example gpt-oss-tunnel. API clients send this deployment name, not gpt-oss:20b or openai/gpt-oss-20b, in the model field.
5

Create an API key

In the Keys tab, click Create key. Copy the sk-tok-... API key when it appears.

Use it from anywhere

The model field is always your registered deployment name. Tokios forwards requests to your local runtime; it does not change gpt-oss’s reasoning, context, or tool-calling behavior.

Caveats

  • gpt-oss:120b is a different hardware tier from gpt-oss:20b. Use 20b first unless you have 80 GB-class GPU memory or large unified memory.
  • The model is text-only. Pick a multimodal model if your client needs images.
  • Tool calling depends on the runtime applying the harmony format correctly.
  • Long context increases KV-cache memory. Test your real workload before promising a 128K deployment to teammates.

Quickstart

Pair a connector and register your first deployment end to end.

GPU-to-model fit

Match gpt-oss sizes to your GPU or unified memory.

Choose a model by task

Compare gpt-oss against other local models for chat, coding, and agent workloads.

Quantization and hardware

Check which formats run on which hardware.