Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
fix: add deeplink open in jan from models (#7616)
Louis63a30b7036ad
diff --git a/docs/src/pages/docs/desktop/jan-models/jan-code-4b.mdx b/docs/src/pages/docs/desktop/jan-models/jan-code-4b.mdxindex 291bff931..d533bcfd0 100644--- a/docs/src/pages/docs/desktop/jan-models/jan-code-4b.mdx+++ b/docs/src/pages/docs/desktop/jan-models/jan-code-4b.mdx@@ -22,6 +22,25 @@ import { Callout } from 'nextra/components'Jan-Code-4B is a lightweight, code-tuned 4B parameter model built for fast local inference. Fine-tuned on [Jan-v3-4B-base-instruct](/docs/desktop/jan-models/jan-v3-4b-base-instruct), it is designed for practical coding tasks with an emphasis on handling well-scoped subtasks reliably while keeping latency and compute requirements low.+<a+ href="jan://models/huggingface/janhq/Jan-code-4b-gguf"+ style={{+ display: 'inline-flex',+ alignItems: 'center',+ gap: '8px',+ padding: '10px 20px',+ backgroundColor: '#000',+ color: '#fff',+ borderRadius: '8px',+ fontWeight: '600',+ fontSize: '15px',+ textDecoration: 'none',+ marginTop: '8px',+ }}+>+ Open in Jan+</a>+## Overview| Property | Value |diff --git a/docs/src/pages/docs/desktop/jan-models/jan-nano-128.mdx b/docs/src/pages/docs/desktop/jan-models/jan-nano-128.mdxindex 567ab3e16..78eacf753 100644--- a/docs/src/pages/docs/desktop/jan-models/jan-nano-128.mdx+++ b/docs/src/pages/docs/desktop/jan-models/jan-nano-128.mdx@@ -22,41 +22,60 @@ import { Callout } from 'nextra/components'> Enabling deeper research through extended context understanding.-Jan-Nano-128k represents a notable advancement in compact language models for different applications. Building upon the-success of Jan-Nano-32k, this enhanced version features a native 128k context window that enables deeper, more comprehensive+Jan-Nano-128k represents a notable advancement in compact language models for different applications. Building upon the+success of Jan-Nano-32k, this enhanced version features a native 128k context window that enables deeper, more comprehensiveresearch capabilities without the performance degradation typically associated with context extension methods.You can have a look at all of our models, and download them from the HuggingFace [Menlo Models page](https://huggingface.co/Menlo).+<a+ href="jan://models/huggingface/Menlo/Jan-nano-128k-gguf"+ style={{+ display: 'inline-flex',+ alignItems: 'center',+ gap: '8px',+ padding: '10px 20px',+ backgroundColor: '#000',+ color: '#fff',+ borderRadius: '8px',+ fontWeight: '600',+ fontSize: '15px',+ textDecoration: 'none',+ marginTop: '8px',+ }}+>+ Open in Jan+</a>+**Key Improvements:**- 🔍 Deeper Research: Extended context allows for processing entire research papers, lengthy documents, and complex multi-turn conversations- ⚡ Native 128k Window: Built to handle long contexts efficiently, maintaining performance across the full context range- 📈 Enhanced Performance: Unlike traditional context extension methods, Jan-Nano-128k's performance remains consistent with longer contexts-This model maintains full compatibility with Model Context Protocol (MCP) servers while dramatically expanding the scope of research+This model maintains full compatibility with Model Context Protocol (MCP) servers while dramatically expanding the scope of researchtasks it can handle in a single session.## Why Jan-Nano-128k?-Most small models hit a wall at 8-32k tokens. Jan-Nano-128k goes beyond this limitation with a native 128k context window—that's roughly+Most small models hit a wall at 8-32k tokens. Jan-Nano-128k goes beyond this limitation with a native 128k context window—that's roughly300 pages of text or an entire novel's worth of information processed simultaneously.-Unlike YaRN or PI methods that retrofit models beyond their limits and degrade performance, Jan-Nano-128k was architecturally rewired for-128k contexts from the ground up. The result: an inverse scaling behavior where performance actually improves with longer contexts,+Unlike YaRN or PI methods that retrofit models beyond their limits and degrade performance, Jan-Nano-128k was architecturally rewired for+128k contexts from the ground up. The result: an inverse scaling behavior where performance actually improves with longer contexts,maintaining consistent accuracy from 1k to 128k tokens as the model leverages more information for synthesis.<Callout type="info">-**Position Interpolation (PI):** A method that extends a model's context by scaling down position indices to fit within the original context+**Position Interpolation (PI):** A method that extends a model's context by scaling down position indices to fit within the original contextwindow. For example, to extend a 4k model to 32k, PI compresses the 32k positions into the original 4k range by dividing each position by 8.-**YaRN (Yet another RoPE extensioN method):** A more sophisticated context extension method that preserves frequently occurring tokens while-selectively scaling others. YaRN divides position embeddings into frequency groups and applies different scaling factors to each, resulting+**YaRN (Yet another RoPE extensioN method):** A more sophisticated context extension method that preserves frequently occurring tokens while+selectively scaling others. YaRN divides position embeddings into frequency groups and applies different scaling factors to each, resultingin more efficient training and better performance than PI.-The key difference is that PI applies uniform scaling across all dimensions, while YaRN uses targeted interpolation based on frequency analysis—preserving+The key difference is that PI applies uniform scaling across all dimensions, while YaRN uses targeted interpolation based on frequency analysis—preservinghigh-frequency information that's crucial for distinguishing nearby tokens while interpolating lower frequencies more aggressively.</Callout>@@ -67,8 +86,8 @@ high-frequency information that's crucial for distinguishing nearby tokens while- **Business**: Distill insights from quarters of financial data- **Content**: Maintain narrative coherence across book-length outputs-**MCP Usage:** Jan-Nano-128k doesn't memorize, it orchestrates. With MCP integration, it becomes a research conductor that fetches dozens-of sources, holds everything in active memory, extracts precisely what's needed, and synthesizes findings across a marathon research session. It's+**MCP Usage:** Jan-Nano-128k doesn't memorize, it orchestrates. With MCP integration, it becomes a research conductor that fetches dozens+of sources, holds everything in active memory, extracts precisely what's needed, and synthesizes findings across a marathon research session. It'snot about understanding every word; it's about finding the needle in a haystack of haystacks.## Evaluationdiff --git a/docs/src/pages/docs/desktop/jan-models/jan-nano-32.mdx b/docs/src/pages/docs/desktop/jan-models/jan-nano-32.mdxindex 5f1446e42..851c2d019 100644--- a/docs/src/pages/docs/desktop/jan-models/jan-nano-32.mdx+++ b/docs/src/pages/docs/desktop/jan-models/jan-nano-32.mdx@@ -24,21 +24,39 @@ import { Callout } from 'nextra/components'## Why Jan Nano?-Most language models face a fundamental tradeoff where powerful capabilities require a lot of computational resources. Jan-Nano breaks this constraint through a focused design philosophy where instead of trying to know everything, it excels at+Most language models face a fundamental tradeoff where powerful capabilities require a lot of computational resources. Jan+Nano breaks this constraint through a focused design philosophy where instead of trying to know everything, it excels atknowing how to find anything.+<a+ href="jan://models/huggingface/Menlo/Jan-nano-gguf"+ style={{+ display: 'inline-flex',+ alignItems: 'center',+ gap: '8px',+ padding: '10px 20px',+ backgroundColor: '#000',+ color: '#fff',+ borderRadius: '8px',+ fontWeight: '600',+ fontSize: '15px',+ textDecoration: 'none',+ marginTop: '8px',+ }}+>+ Open in Jan+</a>## What is Jan Nano?-Jan Nano is a compact 4-billion parameter language model specifically designed and trained for deep research tasks.-This model has been optimized to work seamlessly with Model Context Protocol (MCP) servers, enabling efficient integration+Jan Nano is a compact 4-billion parameter language model specifically designed and trained for deep research tasks.+This model has been optimized to work seamlessly with Model Context Protocol (MCP) servers, enabling efficient integrationwith various research tools and data sources.The model and its different model variants are fully supported by Jan.<Callout type="info">- To use Jan-Nano, you will need to use a search engine via MCP. You can enable MCP in the **Settings**+ To use Jan-Nano, you will need to use a search engine via MCP. You can enable MCP in the **Settings**tab under **Advanced Settings**.</Callout>@@ -70,7 +88,7 @@ Go to the Hub Tab, search for Jan-Nano-Gguf, and click on the download button toGo to **Settings** > **Model Providers** > **Llama.cpp** click on the pencil icon and enable tool use for Jan-Nano-Gguf.**Step 4**-To take advantage of Jan-Nano's full capabilities, you need to enable MCP support. We're going to use it with Serper's+To take advantage of Jan-Nano's full capabilities, you need to enable MCP support. We're going to use it with Serper'sAPI. You can get a free API key from [here](https://serper.dev/). Sign up and they will immediately generate one for you.**Step 5**diff --git a/docs/src/pages/docs/desktop/jan-models/jan-v1.mdx b/docs/src/pages/docs/desktop/jan-models/jan-v1.mdxindex fe34292c1..9017e3556 100644--- a/docs/src/pages/docs/desktop/jan-models/jan-v1.mdx+++ b/docs/src/pages/docs/desktop/jan-models/jan-v1.mdx@@ -22,6 +22,25 @@ import { Callout } from 'nextra/components'Jan-v1 is a 4B parameter model based on Qwen3-4B-thinking, designed for reasoning and problem-solving tasks. The model achieves 91.1% accuracy on SimpleQA through model scaling and fine-tuning approaches.+<a+ href="jan://models/huggingface/janhq/Jan-v1-4B-GGUF"+ style={{+ display: 'inline-flex',+ alignItems: 'center',+ gap: '8px',+ padding: '10px 20px',+ backgroundColor: '#000',+ color: '#fff',+ borderRadius: '8px',+ fontWeight: '600',+ fontSize: '15px',+ textDecoration: 'none',+ marginTop: '8px',+ }}+>+ Open in Jan+</a>+## Performance### SimpleQA Benchmark@@ -42,7 +61,7 @@ These benchmarks (EQBench, CreativeWriting, and IFBench) measure the model's abi## Requirements-- **Memory**:+- **Memory**:- Minimum: 8GB RAM (with Q4 quantization)- Recommended: 16GB RAM (with Q8 quantization)- **Hardware**: CPU or GPU@@ -126,4 +145,4 @@ The model includes a system prompt in the chat template by default to match benc## Community- **Discussions**: [HuggingFace Community](https://huggingface.co/janhq/Jan-v1-4B/discussions)-- **Support**: Available through Jan App at [jan.ai](https://jan.ai)\ No newline at end of file+- **Support**: Available through Jan App at [jan.ai](https://jan.ai)diff --git a/docs/src/pages/docs/desktop/jan-models/jan-v2-vl-med.mdx b/docs/src/pages/docs/desktop/jan-models/jan-v2-vl-med.mdxindex a6718056c..9a2ca0314 100644--- a/docs/src/pages/docs/desktop/jan-models/jan-v2-vl-med.mdx+++ b/docs/src/pages/docs/desktop/jan-models/jan-v2-vl-med.mdx@@ -22,6 +22,25 @@ import { Callout } from 'nextra/components'Jan-v2-VL is an 8B vision-language model built on Qwen3-VL-8B-Thinking, designed for **long-horizon, multi-step agentic tasks** in real software environments — browsers, desktop apps, and beyond. It combines language reasoning with visual perception to execute stable, many-step automation chains with minimal drift.+<a+ href="jan://models/huggingface/janhq/Jan-v2-VL-med-gguf"+ style={{+ display: 'inline-flex',+ alignItems: 'center',+ gap: '8px',+ padding: '10px 20px',+ backgroundColor: '#000',+ color: '#fff',+ borderRadius: '8px',+ fontWeight: '600',+ fontSize: '15px',+ textDecoration: 'none',+ marginTop: '8px',+ }}+>+ Open in Jan+</a>+## VariantsJan-v2-VL comes in three variants tuned for different latency/quality tradeoffs:diff --git a/docs/src/pages/docs/desktop/jan-models/jan-v3-4b-base-instruct.mdx b/docs/src/pages/docs/desktop/jan-models/jan-v3-4b-base-instruct.mdxindex 9bec7ea63..a014ddc78 100644--- a/docs/src/pages/docs/desktop/jan-models/jan-v3-4b-base-instruct.mdx+++ b/docs/src/pages/docs/desktop/jan-models/jan-v3-4b-base-instruct.mdx@@ -22,8 +22,28 @@ import { Callout } from 'nextra/components'Jan-v3-4B-base-instruct is a compact 4B parameter model created via post-training distillation from a larger teacher model. It is designed as an ownable, general-purpose base that is straightforward to fine-tune, with strong instruction following out of the box.+<a+ href="jan://models/huggingface/janhq/Jan-v3-4B-base-instruct-gguf"+ style={{+ display: 'inline-flex',+ alignItems: 'center',+ gap: '8px',+ padding: '10px 20px',+ backgroundColor: '#000',+ color: '#fff',+ borderRadius: '8px',+ fontWeight: '600',+ fontSize: '15px',+ textDecoration: 'none',+ marginTop: '8px',+ }}+>+ Open in Jan+</a>+## Overview+| Property | Value ||----------|-------|| **Parameters** | 4B (3.6B non-embedding) |diff --git a/docs/src/pages/docs/desktop/jan-models/lucy.mdx b/docs/src/pages/docs/desktop/jan-models/lucy.mdxindex 3d6b7adb2..76e16429d 100644--- a/docs/src/pages/docs/desktop/jan-models/lucy.mdx+++ b/docs/src/pages/docs/desktop/jan-models/lucy.mdx@@ -22,6 +22,26 @@ import { Callout } from 'nextra/components'Lucy is a 1.7B parameter model built on Qwen3-1.7B, optimized for web search through tool calling. The model has been trained to work effectively with search APIs like Serper, enabling web search capabilities in resource-constrained environments.+<a+ href="jan://models/huggingface/Menlo/Lucy-128k-gguf"+ style={{+ display: 'inline-flex',+ alignItems: 'center',+ gap: '8px',+ padding: '10px 20px',+ backgroundColor: '#000',+ color: '#fff',+ borderRadius: '8px',+ fontWeight: '600',+ fontSize: '15px',+ textDecoration: 'none',+ marginTop: '8px',+ }}+>+ Open in Jan+</a>++## Performance### SimpleQA Benchmark