Jan-Code-4B is a
code-tuned model built on top of
Jan-v3-4B-base-instruct. It’s designed to be a practical coding model you can run locally and iterate on quickly—useful for everyday code tasks and as a lightweight “worker” model in agentic workflows.
Jan-code is optimized for direct integration with
Jan Desktop, select the model in the app to start using it.
1vllm serve janhq/Jan-code-4b \
2 --host 0.0.0.0 \
3 --port 1234 \
4 --enable-auto-tool-choice \
5 --tool-call-parser hermes
6
1llama-server --model Jan-code-4b-Q8_0.gguf \
2 --host 0.0.0.0 \
3 --port 1234 \
4 --jinja \
5 --no-context-shift
For optimal performance in agentic and general tasks, we recommend the following inference parameters:
1temperature: 0.7
2top_p: 0.8
3top_k: 20