Some call AI on the JVM quixotic. We call it Quixotic AI. Finally, AI in a jar.
AI inference engine. Chat, vision, embeddings and text-to-speech capabilities for the JVM, with Spring AI and LangChain4j integrations.
Fast quantized matrix-multiplication routines.
TikToken-compatible and customizable tokenizers for popular LLM models.
Multi-backend tensor engine, in the works. Java, C, CUDA, HIP, Metal, OpenCL, and Mojo. Write once, accelerate everywhere.
Pure Java, read and write support for llama.cpp's GGUF model format.
Benchmarking is hard ... take these numbers as indicative, not definitive, always measure yourself. jinfer-bench vs. llama-bench on CPU, ↑ higher is better.
Local AI, end-to-end on the JVM: no sidecars, no services, no IPC.
No Python runtime, no ONNX, no glue code. Every component, from tokenizers to the inference engine, built for the JVM, not bolted onto it.
Ships as a single self-contained binary: millisecond startup, small footprint, no JVM at runtime.
One Tensor API, seven backends: Java, C, CUDA, HIP, Metal, OpenCL, and Mojo.




