Skip to main content
Meta’s Llama 3.1 and Llama 3.3 are open-weight, text-only chat models with 128K context and tool-use support — and they’re still the Llama models most people run on a single GPU. Llama 4 (Scout and Maverick) is Meta’s current generation: natively multimodal mixture-of-experts models with very long context, but large enough that they need multi-GPU or high-unified-memory hardware. This page leads with the single-GPU-friendly 3.1/3.3 tags, then covers Llama 4 below. Run the size that fits your hardware locally, then pair the Tokios connector so clients can call it through 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:
For larger machines, use one of the 70B tags:
Only use 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.
The Llama 3.1 and 3.3 Community Licenses are custom licenses, not Apache or MIT. They include an acceptable-use policy, attribution requirements when you redistribute Llama materials, and a separate Meta license requirement for products or services above 700 million monthly active users.

Quantization and formats

Ollama publishes Llama 3.1 and 3.3 as GGUF 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 default Q4_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

For stronger quality on large-memory hardware:
Ollama’s library pages mark these tags as 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_json parser 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.
Scout’s ~67 GB and Maverick’s ~245 GB downloads put them well past a single 24–48 GB GPU — realistically multi-GPU servers or large unified-memory machines. If you want a Llama model that runs on one consumer GPU today, use the 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 TKS-XXXX-XXXX.Run the installer on the machine that runs the model:
Windows
macOS
Linux
Back in the dashboard, approve the device on the Setup or Connectors tab. The connector token is delivered over the tunnel after approval.
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

The model field is always your registered deployment name. Tokios forwards to your local runtime and does not change the upstream model id, quantization, or tool-calling behavior.

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:405b is not a single-consumer-GPU model. Use 8b or 70b unless 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.