Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
docs: add Jan-Code-4B, Jan-v3-4B, and Jan-v2-VL model pages (#7598)
Louis4e8e3e58b72e
diff --git a/docs/src/pages/docs/desktop/_assets/jan-code-4b-overview.png b/docs/src/pages/docs/desktop/_assets/jan-code-4b-overview.pngnew file mode 100644index 000000000..ac32cb793Binary files /dev/null and b/docs/src/pages/docs/desktop/_assets/jan-code-4b-overview.png differdiff --git a/docs/src/pages/docs/desktop/_assets/jan-v2-vl-bench-1.png b/docs/src/pages/docs/desktop/_assets/jan-v2-vl-bench-1.pngnew file mode 100644index 000000000..33eeec513Binary files /dev/null and b/docs/src/pages/docs/desktop/_assets/jan-v2-vl-bench-1.png differdiff --git a/docs/src/pages/docs/desktop/_assets/jan-v2-vl-bench-2.png b/docs/src/pages/docs/desktop/_assets/jan-v2-vl-bench-2.pngnew file mode 100644index 000000000..9e80b5b1bBinary files /dev/null and b/docs/src/pages/docs/desktop/_assets/jan-v2-vl-bench-2.png differdiff --git a/docs/src/pages/docs/desktop/_assets/jan-v2-vl-bench-3.png b/docs/src/pages/docs/desktop/_assets/jan-v2-vl-bench-3.pngnew file mode 100644index 000000000..56e537364Binary files /dev/null and b/docs/src/pages/docs/desktop/_assets/jan-v2-vl-bench-3.png differdiff --git a/docs/src/pages/docs/desktop/_assets/jan-v2-vl-bench-4.png b/docs/src/pages/docs/desktop/_assets/jan-v2-vl-bench-4.pngnew file mode 100644index 000000000..735f3611fBinary files /dev/null and b/docs/src/pages/docs/desktop/_assets/jan-v2-vl-bench-4.png differdiff --git a/docs/src/pages/docs/desktop/_assets/jan-v2-vl-demo.gif b/docs/src/pages/docs/desktop/_assets/jan-v2-vl-demo.gifnew file mode 100644index 000000000..5e64e3346Binary files /dev/null and b/docs/src/pages/docs/desktop/_assets/jan-v2-vl-demo.gif differdiff --git a/docs/src/pages/docs/desktop/_assets/jan-v3-4b-bench.png b/docs/src/pages/docs/desktop/_assets/jan-v3-4b-bench.pngnew file mode 100644index 000000000..503ece285Binary files /dev/null and b/docs/src/pages/docs/desktop/_assets/jan-v3-4b-bench.png differdiff --git a/docs/src/pages/docs/desktop/_assets/jan-v3-4b-overview.png b/docs/src/pages/docs/desktop/_assets/jan-v3-4b-overview.pngnew file mode 100644index 000000000..e43585a5dBinary files /dev/null and b/docs/src/pages/docs/desktop/_assets/jan-v3-4b-overview.png differdiff --git a/docs/src/pages/docs/desktop/jan-models/_meta.json b/docs/src/pages/docs/desktop/jan-models/_meta.jsonnew file mode 100644index 000000000..aa14dd1f1--- /dev/null+++ b/docs/src/pages/docs/desktop/jan-models/_meta.json@@ -0,0 +1,9 @@+{+ "jan-code-4b": "Jan-Code-4B",+ "jan-v3-4b-base-instruct": "Jan-v3-4B",+ "jan-v2-vl-med": "Jan-v2-VL",+ "jan-v1": "Jan-v1",+ "jan-nano-128": "Jan Nano 128k",+ "jan-nano-32": "Jan Nano 32k",+ "lucy": "Lucy"+}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.mdxnew file mode 100644index 000000000..769518ace--- /dev/null+++ b/docs/src/pages/docs/desktop/jan-models/jan-code-4b.mdx@@ -0,0 +1,126 @@+---+title: Jan-Code-4B+description: Lightweight 4B code-tuned model for fast local coding assistance and agentic workflows+keywords:+ [+ Jan,+ Jan Models,+ Jan-Code,+ Jan-Code-4B,+ code model,+ coding assistant,+ 4B model,+ agentic coding,+ Claude Code alternative,+ local AI,+ ]+---++import { Callout } from 'nextra/components'++# Jan-Code-4B++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.++## Overview++| Property | Value |+|----------|-------|+| **Parameters** | 4B |+| **Base Model** | Jan-v3-4B-base-instruct (Qwen3-4B-Instruct-2507) |+| **Fine-tuning focus** | Code generation, editing, refactoring, debugging |+| **License** | Apache 2.0 |++## Capabilities++- **Coding assistant**: Code generation, editing, refactoring, and debugging+- **Agent workflows**: Use as a fast worker/sub-agent in agentic setups (e.g., generating patches or tests)+- **Claude Code integration**: Can replace the Haiku model in a Claude Code setup for a fully local coding workflow++<Callout type="tip">+ Jan-Code-4B is designed to work as a drop-in local alternative to cloud coding models in agentic pipelines, keeping your code private and inference fast.+</Callout>++## Performance++Jan-Code-4B leads Jan-v3-base-instruct and the Qwen3-4B-Instruct-2507 base model across all three coding and reasoning benchmarks:++++- **Aider** (challenging Exercism tasks): 19.0 vs 18.0 vs 12.9+- **Livecode Bench v6** (real-world coding): 51.0 vs 45.8 vs 45.6+- **AIME25** (advanced math reasoning): 53.0 vs 47.0 vs 47.0++## Requirements++- **Memory**:+ - Minimum: 8GB RAM (with Q4 quantization)+ - Recommended: 16GB RAM (with Q8 quantization)+- **Hardware**: CPU or GPU+- **API Support**: OpenAI-compatible at localhost:1337++## Using Jan-Code-4B++### Quick Start++1. Download Jan Desktop+2. Select Jan-Code-4B from the model list+3. Start coding — no additional configuration needed++### Deployment Options++**Using vLLM:**+```bash+vllm serve janhq/Jan-code-4b \+ --host 0.0.0.0 \+ --port 1234 \+ --enable-auto-tool-choice \+ --tool-call-parser hermes+```++**Using llama.cpp:**+```bash+llama-server --model Jan-code-4b-Q8_0.gguf \+ --host 0.0.0.0 \+ --port 1234 \+ --jinja \+ --no-context-shift+```++### Recommended Parameters++```yaml+temperature: 0.7+top_p: 0.8+top_k: 20+```++## What Jan-Code-4B Does Well++- **Code generation**: Write new functions, classes, and modules from natural language descriptions+- **Editing & refactoring**: Modify existing code with targeted, reliable edits+- **Debugging**: Identify and fix bugs in provided code snippets+- **Agentic subtasks**: Fast, focused execution of scoped coding tasks within larger agent pipelines+- **Low latency**: Runs efficiently on consumer hardware with fast response times++## Limitations++- **Model size**: 4B parameters limit handling of very large codebases or complex architectural decisions in a single context+- **General tasks**: Optimized for coding — for general-purpose tasks, consider [Jan-v3-4B-base-instruct](/docs/desktop/jan-models/jan-v3-4b-base-instruct)++## Available Formats++### GGUF Quantizations++- **Q4_K_M**: Good balance of size and quality+- **Q5_K_M**: Better quality, slightly larger+- **Q8_0**: Highest quality quantization (recommended)++## Models Available++- [Jan-Code-4B on Hugging Face](https://huggingface.co/janhq/Jan-code-4b)++## Community++- **Discussions**: [HuggingFace Community](https://huggingface.co/janhq/Jan-code-4b/discussions)+- **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.mdxnew file mode 100644index 000000000..a6718056c--- /dev/null+++ b/docs/src/pages/docs/desktop/jan-models/jan-v2-vl-med.mdx@@ -0,0 +1,145 @@+---+title: Jan-v2-VL+description: 8B vision-language model for long-horizon agentic automation in real software environments+keywords:+ [+ Jan,+ Jan Models,+ Jan-v2-VL,+ Jan-v2-VL-med,+ vision language model,+ agentic automation,+ UI control,+ browser automation,+ desktop automation,+ 8B model,+ ]+---++import { Callout } from 'nextra/components'++# Jan-v2-VL++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.++## Variants++Jan-v2-VL comes in three variants tuned for different latency/quality tradeoffs:++| Variant | Focus |+|---------|-------|+| **Jan-v2-VL-low** | Efficiency-oriented, lower latency |+| **Jan-v2-VL-med** | Balanced latency and quality |+| **Jan-v2-VL-high** | Deeper reasoning, higher think time |++## Capabilities++- **Agentic automation & UI control**: Follow complex multi-step instructions in browsers and desktop apps+- **Screenshot grounding**: Perceive and act on visual state of the screen+- **Tool calling**: Native support for BrowserMCP and similar integrations+- **Error recovery**: Maintain intermediate state and recover from minor execution errors+- **Long-horizon execution**: Stable performance across many-step automation chains++## Performance++### Long-Horizon Execution++Jan-v2-VL dramatically outperforms competing VLMs on the long-horizon benchmark, completing tasks up to 49 steps in a single turn — nearly 10x more than the next best model.++++All three Jan-v2-VL variants significantly exceed the Qwen3-VL-8B-Thinking baseline (score: 5):++++### Text-Only Benchmarks++Jan-v2-VL maintains strong performance on standard language benchmarks with no degradation from the base model:++++### Multimodal Benchmarks++Core vision capabilities are fully preserved across all variants:++++## Requirements++- **Memory**:+ - Minimum: 16GB RAM (with Q4 quantization)+ - Recommended: 24GB RAM (with Q8 quantization)+- **Hardware**: GPU recommended for real-time agentic use+- **API Support**: OpenAI-compatible at localhost:1337++## Using Jan-v2-VL++### Quick Start++1. Download Jan Desktop+2. Select Jan-v2-VL-med (or your preferred variant) from the model list+3. Start using it for browser automation or visual tasks++### Deployment Options++**Using vLLM:**+```bash+vllm serve janhq/Jan-v2-VL-high \+ --host 0.0.0.0 \+ --port 1234 \+ --enable-auto-tool-choice \+ --tool-call-parser hermes \+ --reasoning-parser qwen3+```++**Using llama.cpp:**+```bash+llama-server --model Jan-v2-VL-high-Q8_0.gguf \+ --vision-model-path mmproj-Jan-v2-VL-high.gguf \+ --host 0.0.0.0 \+ --port 1234 \+ --jinja \+ --no-context-shift+```++### Recommended Parameters++```yaml+temperature: 1.0+top_p: 0.95+top_k: 20+repetition_penalty: 1.0+presence_penalty: 1.5+```++## What Jan-v2-VL Does Well++- **UI automation**: Navigate and interact with browsers and desktop applications via screenshots+- **Long-horizon tasks**: Execute multi-step plans without losing context or drifting+- **Visual grounding**: Identify and interact with specific UI elements from screenshots+- **Tool calling**: Integrate with MCP servers like BrowserMCP for end-to-end automation++## Limitations++- **GPU recommended**: Real-time agentic use benefits significantly from GPU acceleration+- **8B size**: More capable than 4B models for visual tasks, but larger resource footprint+- **Vision required**: Text-only tasks do not benefit from the vision-language architecture++## Available Formats++### GGUF Quantizations++- **Q4_K_M**: Good balance of size and quality+- **Q5_K_M**: Better quality, slightly larger+- **Q8_0**: Highest quality quantization++## Models Available++- [Jan-v2-VL-low on Hugging Face](https://huggingface.co/janhq/Jan-v2-VL-low)+- [Jan-v2-VL-med on Hugging Face](https://huggingface.co/janhq/Jan-v2-VL-med)+- [Jan-v2-VL-high on Hugging Face](https://huggingface.co/janhq/Jan-v2-VL-high)++## Community++- **Discussions**: [HuggingFace Community](https://huggingface.co/janhq/Jan-v2-VL-med/discussions)+- **Support**: Available through Jan App at [jan.ai](https://jan.ai)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.mdxnew file mode 100644index 000000000..9bec7ea63--- /dev/null+++ b/docs/src/pages/docs/desktop/jan-models/jan-v3-4b-base-instruct.mdx@@ -0,0 +1,135 @@+---+title: Jan-v3-4B+description: 4B parameter instruct model distilled from a larger teacher, optimized as a fine-tuning base+keywords:+ [+ Jan,+ Jan Models,+ Jan-v3,+ Jan-v3-4B,+ Jan-v3-4B-base-instruct,+ instruct model,+ 4B model,+ fine-tuning,+ distillation,+ 262k context,+ ]+---++import { Callout } from 'nextra/components'++# Jan-v3-4B++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.++## Overview++| Property | Value |+|----------|-------|+| **Parameters** | 4B (3.6B non-embedding) |+| **Base Model** | Qwen3-4B-Instruct-2507 |+| **Context Length** | 262,144 tokens (native) |+| **Architecture** | 36 layers, 32 Q heads / 8 KV heads (GQA) |+| **License** | Apache 2.0 |++## Capabilities++- **Instruction following**: Strong compliance with user instructions out of the box+- **Fine-tuning base**: Designed as a starting point for downstream fine-tuning+- **Coding assistance**: Effective lightweight coding help (a dedicated code variant, Jan-Code-4B, is also available)+- **General purpose**: Distillation preserves broad capabilities across standard benchmarks++<Callout type="info">+ Jan-v3-4B-base-instruct is the base model for [Jan-Code-4B](/docs/desktop/jan-models/jan-code-4b), the code-tuned variant.+</Callout>++## Performance++### Aider Benchmark (Polyglot Code Editing)++Jan-v3-4B leads its weight class on the Aider polyglot benchmark with a strict pass rate of 18, nearly 50% higher than the next best model (Qwen3-4B-Thinking at 12.1):++++### General Performance Comparison++Jan-v3-4B-base-instruct outperforms Qwen3-4B-Instruct-2507 (its base) across coding, math, and instruction-following benchmarks while remaining competitive on reasoning:++++## Requirements++- **Memory**:+ - Minimum: 8GB RAM (with Q4 quantization)+ - Recommended: 16GB RAM (with Q8 quantization)+- **Hardware**: CPU or GPU+- **API Support**: OpenAI-compatible at localhost:1337++## Using Jan-v3-4B++### Quick Start++1. Download Jan Desktop+2. Select Jan-v3-4B-base-instruct from the model list+3. Start chatting — no additional configuration needed++### Demo++Try it live at [chat.jan.ai](https://chat.jan.ai/)++### Deployment Options++**Using vLLM:**+```bash+vllm serve janhq/Jan-v3-4B-base-instruct \+ --host 0.0.0.0 \+ --port 1234 \+ --enable-auto-tool-choice \+ --tool-call-parser hermes+```++**Using llama.cpp:**+```bash+llama-server --model Jan-v3-4B-base-instruct-Q8_0.gguf \+ --host 0.0.0.0 \+ --port 1234 \+ --jinja \+ --no-context-shift+```++### Recommended Parameters++```yaml+temperature: 0.7+top_p: 0.8+top_k: 20+```++## What Jan-v3-4B Does Well++- **Long context**: Native 262k token context window for handling large documents+- **Instruction following**: Reliable and consistent response to user instructions+- **Fine-tuning**: Designed to be a strong, ownable starting point for specialization+- **General tasks**: Broad capabilities preserved through distillation from a larger model++## Limitations++- **Model size**: 4B parameters limit complex multi-step reasoning compared to larger models+- **Specialized domains**: For coding specifically, consider [Jan-Code-4B](/docs/desktop/jan-models/jan-code-4b)++## Available Formats++### GGUF Quantizations++- **Q4_K_M**: Good balance of size and quality+- **Q5_K_M**: Better quality, slightly larger+- **Q8_0**: Highest quality quantization (recommended)++## Models Available++- [Jan-v3-4B-base-instruct on Hugging Face](https://huggingface.co/janhq/Jan-v3-4B-base-instruct)++## Community++- **Discussions**: [HuggingFace Community](https://huggingface.co/janhq/Jan-v3-4B-base-instruct/discussions)+- **Support**: Available through Jan App at [jan.ai](https://jan.ai)