https://api.tokios.com instead of your machine’s localhost.
Run it locally with Ollama
Start with the 8B Llama 3.1 tag if you are new to local models:llama3.1:405b if you have a multi-GPU or very large unified-memory setup. Leave Ollama on its default http://127.0.0.1:11434.
Variants and tags
Tags and quantizations change over time. Confirm the exact tag on Ollama’s Llama 3.1 page or Ollama’s Llama 3.3 page before you standardize on it.
Sources: Ollama Llama 3.1 tags, Ollama Llama 3.3 tags,
meta-llama/Llama-3.1-8B-Instruct, meta-llama/Llama-3.3-70B-Instruct, Llama 3.1 license, and Llama 3.3 license.
Quantization and formats
Ollama publishes Llama 3.1 and 3.3 asGGUF builds, with common quantizations such as Q4_K_M, Q5_K_M, Q8_0, and fp16 available across the tag lists. The default 8b, 70b, and 405b tags use practical local downloads; the fp16 tags are much larger.
See Quantization formats and the hardware they need for the format matrix, and what quantization is for the
Q4_K_M naming basics.
Hardware fit
Comfort at roughly the Ollama defaultQ4_K_M class and a modest context length. The real limit is the actual model file plus KV cache for your context.
If you are choosing between 70B and 405B, remember that both are dense models. You need to hold all weights in memory. See What size model fits your GPU? for the sizing method and memory and offloading for what happens when you spill to system memory.
Run it: beginner to advanced
- Ollama (easiest)
- LM Studio (GUI)
- Unsloth Studio (no-code)
- vLLM (advanced)
- SGLang (advanced)
tools capable. Raise the runtime context setting if you need more than the default context.Capabilities
- Tool use: Llama 3.1 and Llama 3.3 support tool use through chat templates. vLLM documents the
llama3_jsonparser for Llama 3.1 tool calling; verify parser support for your exact Llama 3.3 serving path before you depend on it. - Context: Llama 3.1 8B, 70B, and 405B use 128K context. Llama 3.3 70B also uses 128K context.
- Languages: Meta lists English, German, French, Italian, Portuguese, Hindi, Spanish, and Thai as supported languages on both model cards.
- Vision: The Llama 3.1 and 3.3 models are text-only. For image input, use a dedicated vision model — or Llama 4, which is natively multimodal (see Beyond 3.3: Llama 4 below).
- Reasoning: Llama 3.1 and 3.3 are general instruction-tuned models. They are not dedicated reasoning models with a separate thinking mode.
Tokios passes tool-call fields through to your upstream runtime. It does not add tool calling to a runtime or quantization that cannot parse the model’s tool format.
Beyond 3.3: Llama 4
Llama 4 is Meta’s current generation (launched April 2025, still current as of mid-2026 — there is no Llama 5 yet). Unlike the text-only 3.x models above, the Llama 4 models are natively multimodal (text + image) mixture-of-experts models. Both are open-weight, but they’re big — multi-GPU or high-unified-memory territory, not a single consumer card.
Sources: ollama.com/library/llama4, Meta Llama 4 announcement.
Llama 4 uses Meta’s custom Llama 4 Community License — like the 3.x licenses, it is not Apache or MIT, and it carries an acceptable-use policy plus a separate Meta license requirement for products above 700 million monthly active users. A third model, Llama 4 Behemoth (~2T parameters), was previewed as a teacher model but has not shipped publicly.
llama3.1:8b or llama3.3:70b tags above. When you do run Llama 4 on capable hardware, connecting it through Tokios is identical to the steps below — only the deployment’s upstream model id changes.
Connect it with Tokios
1
Keep your local runtime running
Start Llama 3.1 or Llama 3.3 in Ollama, LM Studio, vLLM, SGLang, or another OpenAI-compatible runtime. Keep the server 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 Back in the dashboard, approve the device on the Setup or Connectors tab. The connector token is delivered over the tunnel after approval.
TKS-XXXX-XXXX.Run the installer on the machine that runs the model:Windows
macOS
Linux
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 or SGLang, use the port you launched, such as http://127.0.0.1:8000/v1.4
Register a deployment
In the Models tab, register the upstream model and choose a public name, for example
llama3-tunnel. API clients send this deployment name, not llama3.1:8b or a Hugging Face repo id, 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
Caveats
- Ollama’s default context may be lower than the model’s 128K maximum. Raise the runtime context setting for long-document work.
- Tool calling needs both a tool-capable model and a runtime/client path that sends and parses tool calls correctly.
llama3.1:405bis not a single-consumer-GPU model. Use8bor70bunless you have multi-GPU or very large unified memory.- Check the Llama Community License before commercial redistribution or public product use.
Quickstart
Pair a connector and register your first deployment end to end.
GPU-to-model fit
Match Llama sizes to your GPU or unified memory.
Choose a model by task
Compare Llama 3 against other local models for chat, coding, and agent workloads.
Quantization and hardware
Check which formats run on which hardware.