FreeToken rtx 5090: Setup Guide, Results & Tips - Hardware

FreeToken rtx 5090: Setup Guide, Results & Tips

Learn how FreeToken uses an RTX 5090 for large MoE models, including setup requirements, benchmark results, caching, and practical hardware tips.

2026-08-25
FreeToken Team
Quick Guide
  • FreeToken rtx 5090 testing focuses on large MoE models that exceed available VRAM.
  • Best use case: Local agent workloads with long contexts and repeated tool calls.
  • Key advantage: Adaptive expert caching coordinates GPU, CPU, RAM, and PCIe bandwidth.
  • Reported speed: Qwen3.6 reaches about 77–83 tokens per second in tested workloads.
  • Main limitation: Linux, NVIDIA hardware, CUDA 13, and substantial system RAM are currently favored.

FreeToken rtx 5090: What the Runtime Does

FreeToken is an edge-native inference runtime rather than a new AI model. On an RTX 5090, its main purpose is serving large mixture-of-experts models whose complete expert pool does not fit in GPU memory. The runtime keeps the full model in host memory while using the GPU as an adaptive working cache.

This approach matters because MoE models activate only a fraction of their total parameters for each token. DeepSeek-V4-Flash, for example, is listed with 284 billion total parameters and approximately 13 billion active parameters. The active computation can fit within the practical memory capacity of a high-end GPU, but the complete checkpoint still requires much more storage elsewhere.

Video Highlights:

  • FreeToken is designed for oversized MoE models rather than every local model workload.
  • A single RTX 5090 reportedly reached more than 20 tokens per second with DeepSeek-V4-Flash.
  • The runtime combines expert caching, overlapped transfers, and CPU execution.
  • Long coding-agent sessions reveal larger differences than short synthetic prompts.

GPU Expert Cache

Frequently used experts remain in VRAM through a shared LRU cache, reducing repeated transfers during decode.

Bandwidth-Adaptive Execution

Cache misses can be transferred to the GPU or executed directly on the CPU, depending on measured hardware bandwidth.

Agent-Aware Reuse

Semantic checkpoints preserve useful prefixes across thinking blocks, tool calls, and multi-turn context edits.

Editor’s Tip

FreeToken is most compelling when your selected MoE checkpoint is larger than VRAM. If the model fits entirely on the RTX 5090, a mature general-purpose runtime may remain just as practical.

Runtime FeatureFreeTokenTypical Static Hybrid Runtime
Expert placementDynamic LRU cacheFixed or prefill-based placement
Cache-miss handlingGPU transfer or CPU executionUsually predetermined
Agent context reuseSemantic checkpointsDepends on runtime
Resource responseAdjusts to measured bandwidthOften hardware-specific tuning
Primary focusLarge MoE servingBroad local inference support

RTX 5090 Setup Requirements

The accelerated FreeToken path is currently centered on Linux, x86-64 systems, NVIDIA GPUs, CUDA 13, and a recent driver. The project highlights RTX 30-, 40-, and 50-series hardware, placing the RTX 5090 in its primary target range.

The GPU is only one part of the configuration. The complete expert pool must reside in system memory when it exceeds VRAM. An RTX 5090 does not reduce the model’s total memory requirement; it improves how the available GPU, CPU, RAM, and PCIe resources are coordinated.

The research setup also distinguishes between PCIe bandwidth and host-side expert-processing bandwidth. Those values should be measured on the actual computer instead of inferred only from product specifications.

1

Confirm the Platform

Use an x86-64 Linux installation with a supported NVIDIA GPU, CUDA 13, and a current driver. The project also advertises desktop support for Windows and Linux, but the documented accelerated workflow remains strongly Linux-focused.

2

Prepare System Memory

Reserve enough RAM for the complete host-resident expert pool, the operating system, and other applications. Large checkpoints such as DeepSeek-V4-Flash require substantially more memory than the active parameter count suggests.

3

Select a Supported Checkpoint

Start with a supported Hugging Face checkpoint or an official low-precision release. Qwen3.6-35B-A3B and DeepSeek-V4-Flash are central examples in the 2026 evaluation.

4

Measure the Machine

Let the runtime profile host-side processing bandwidth and PCIe transfer bandwidth. These measurements guide the balance between GPU cache fills and direct CPU expert execution.

5

Connect Your Client

Launch the local server through its OpenAI-compatible or Anthropic-compatible API, then connect a supported coding or tool-calling client.

Memory Warning

System RAM must hold the portion of the checkpoint that does not fit in VRAM. Lowering GPU memory usage does not remove the storage requirement for the full model.

RequirementRTX 5090 GuidanceWhy It Matters
GPUNVIDIA RTX 5090-class hardwareProvides high-bandwidth VRAM for active computation and expert caching
Operating systemLinux is the documented priorityThe accelerated command-line path is centered on Linux
CUDACUDA 13Required by the documented setup path
System RAMSized for the complete checkpointHost memory stores resident expert weights
InterconnectPCIe 5.0 x16 is advantageousFaster transfers reduce exposed cache-miss and prefill latency
API layerOpenAI-compatible or Anthropic-compatibleAllows local clients and agents to reuse familiar workflows

RTX 5090 Benchmarks and Real Workloads

The 2026 evaluation measures decode throughput and time to first token across math, coding-agent, native protocol, and email/calendar workloads. This is important because an agent repeatedly changes its context, calls tools, and sends new requests. A short one-shot prompt does not expose the same prefill and cache behavior.

On an RTX 5090, FreeToken sustained approximately 77–83 tokens per second with Qwen3.6-35B-A3B and 22–25 tokens per second with DeepSeek-V4-Flash across the tested workloads. The reported advantage over the strongest supported alternatives ranged from roughly 1.5x to 2.3x, depending on the model and scenario.

ModelTotal ParametersActive ParametersRTX 5090 Result
Qwen3.6-35B-A3B35B3BAbout 77–83 tok/s
DeepSeek-V4-Flash284BAbout 13BAbout 22–25 tok/s
GLM-5.2753B40BTested on RTX PRO 6000, not RTX 5090
Qwen3.6 laptop build35B3BRTX 4060 result: 39.3 tok/s

The RTX 5090 results are strongest when the model is larger than the GPU’s available VRAM. FreeToken’s shared LRU cache follows routing locality between tokens, while its bandwidth policy decides how to serve experts that miss the cache.

The evaluation reports that FreeToken’s cache missed approximately 16% of Qwen3.6 expert reads and 39% of DeepSeek-V4-Flash reads at the tested RTX 5090 serving capacity. Comparable placement approaches showed higher miss rates in the same replayed traces.

Performance Takeaway

For long-running agents, stable generation and shorter worst-case waits can matter more than a peak one-shot token rate. FreeToken’s reported worst turn stayed below 44 seconds in the tested RTX 5090 cells.

WorkloadWhat It TestsWhy RTX 5090 Results Matter
Math reasoningLong decode with limited tool useMeasures sustained token generation
Coding agentRepository access and repeated tool callsTests context reuse and cache stability
Native protocol codingSubagents and 56k–65k-token sessionsExposes long-context prefill behavior
Email/calendar agentThirteen fixed user turnsTests repeated multi-turn serving

How FreeToken Uses the RTX 5090

FreeToken organizes memory into a hierarchy. The host-resident expert pool stores the complete routed-expert weights, while non-expert weights remain on the GPU. Remaining VRAM becomes a shared expert cache that can be divided differently as the session changes.

During prefill, the runtime uses full-layer double buffering when memory allows. While the GPU processes one layer, the next layer’s experts can move over PCIe. This hides part of the transfer cost behind active computation. During decode, the runtime uses a shared LRU cache to track experts selected by recent routing decisions.

A cache miss is not treated as a single fixed operation. FreeToken estimates a split between:

  • GPU cache fills, which transfer missing experts over PCIe and retain them for reuse.
  • Direct CPU execution, which processes experts where their weights already reside.
  • Concurrent execution, which allows both paths to contribute to the current token.

This division depends on measured host bandwidth and PCIe bandwidth. A desktop with strong PCIe connectivity may favor more GPU cache fills, while a system with higher host-memory bandwidth may perform more direct CPU work.

Before Testing FreeToken:

  • Verify Linux, x86-64, NVIDIA, CUDA 13, and recent-driver compatibility
  • Calculate system RAM needs for the complete host-resident checkpoint
  • Choose a supported MoE model and official low-precision format
  • Leave VRAM headroom for context growth and other applications
  • Record tokens per second, time to first token, model, quantization, and hardware
Testing Advice

Record the model format, system RAM, PCIe link, context length, client, and workload. A result is easier to interpret when these variables are documented.

OptimizationStagePractical Effect
Full-layer double bufferingPrefillOverlaps expert transfers with GPU computation
Shared LRU expert cacheDecodeTracks recently routed experts in VRAM
Bandwidth-adaptive splitDecodeDivides misses between PCIe and CPU paths
Semantic checkpointsAgent turnsReuses unchanged context prefixes
Elastic cache resizingRuntimeAdjusts VRAM allocation without engine restart

The runtime also supports dynamic reconfiguration at scheduler safe points. Because host memory remains the source of truth, changing GPU cache capacity affects performance rather than model correctness. This is useful on personal computers where browsers, desktop applications, and other GPU workloads may change the available VRAM budget.

FreeToken vs. Other Local Runtimes

FreeToken is not a universal replacement for llama.cpp, Ollama, or KTransformers. Its strength comes from specialization. The project focuses on large MoE checkpoints, NVIDIA acceleration, host-resident experts, and agentic serving.

Llama.cpp offers broader hardware and operating-system coverage, including CPU, NVIDIA, AMD, and Apple Silicon paths. It also has a large GGUF ecosystem and substantial maturity. Ollama emphasizes accessible local model management, while KTransformers targets hybrid CPU-GPU execution for supported model families.

The best choice depends on whether your model fits inside VRAM and whether your workload is interactive or agentic.

Choose FreeToken

You have an NVIDIA GPU, sufficient system RAM, and a large MoE model that exceeds VRAM.

Choose llama.cpp

You need broad hardware support, a mature ecosystem, or a model that fits comfortably in VRAM.

Choose Ollama

You prioritize a simple local workflow and supported model management over specialized MoE scheduling.

Evaluate KTransformers

Your model and hardware match its hybrid execution path and you want a direct comparison.

Comparison Tip

Compare runtimes using the same checkpoint, quantization, prompt history, client, and context length. A smaller model that fits entirely in VRAM can make the comparison misleading.

ScenarioRecommended DirectionReason
Large MoE exceeds VRAMFreeTokenDesigned for adaptive expert serving
Model fits entirely in VRAMAny mature GPU runtimeHost-to-GPU movement is less important
Apple Silicon systemConsider another runtimeNo comparable FreeToken path is highlighted
Broad CPU or AMD supportllama.cpp or another broad runtimeFreeToken’s accelerated path is NVIDIA-centered
Long coding-agent sessionsFreeToken evaluation is worthwhilePrefix reuse and cache locality become important

For technical details, consult the FreeToken research paper on arXiv and the project release referenced by the authors at flashml.ai. These links provide the strongest basis for checking supported models, implementation changes, and deployment guidance as the project develops.

FreeToken rtx 5090 FAQ

Q: What is FreeToken on an RTX 5090?

FreeToken is a local inference runtime that serves large mixture-of-experts models by coordinating RTX 5090 VRAM, system RAM, CPU execution, and PCIe transfers. It is software for running models, not a model itself.

Q: How fast is FreeToken with an RTX 5090?

The 2026 evaluation reports about 77–83 tokens per second for Qwen3.6-35B-A3B and about 22–25 tokens per second for DeepSeek-V4-Flash across tested workloads. Results depend on model format, context, host memory, and workload.

Q: Does an RTX 5090 hold the entire DeepSeek-V4-Flash model?

No. The active computation can be practical on the GPU, but the complete expert pool remains much larger than VRAM. FreeToken stores the rest in system memory and moves or executes experts as needed.

Q: Is FreeToken better than llama.cpp for every setup?

No. FreeToken is specialized for large MoE models that exceed VRAM, especially long-running agents. Llama.cpp remains broader, more mature, and better suited to many hardware types and models that fit entirely in GPU memory.

Final Reminder

Benchmark your own model and agent workflow before switching runtimes. The RTX 5090 advantage is workload-dependent, and system RAM plus PCIe behavior can change the result substantially.