ποΈ Comparison Table of all supported Language Models
| Provider | Streaming | Tools (sync/streaming/partial/complete) | JSON Schema | JSON Mode | Thinking (Reasoning) | Supported Modalities (Input) | Observability | Customizable HTTP Client | Local Deployment | Supports Native Image | Comments |
ποΈ Amazon Bedrock
Maven Dependency
ποΈ Anthropic
- Anthropic Documentation
ποΈ Azure OpenAI
This is the documentation for the Azure OpenAI integration, that uses the Azure SDK from Microsoft, and works best if you are using the Microsoft Java stack, including advanced Azure authentication mechanisms.
ποΈ ChatGLM
https://github.com/THUDM/ChatGLM-6B
ποΈ DashScope (Qwen)
DashScope is a platform developed by Alibaba Cloud.
ποΈ GitHub Models [Deprecated]
This module is deprecated, please use the OpenAI Official SDK module instead.
ποΈ Google AI Gemini
https://ai.google.dev/gemini-api/docs
ποΈ Google Vertex AI Gemini
Vertex AI is Google Cloud's fully-managed AI development platform that provides access to Google's large generative models, including the older generation (PaLM2) and the newer generation (Gemini).
ποΈ Google Vertex AI Anthropic
Google Vertex AI provides access to Anthropic's Claude models through Google Cloud Platform. This integration allows you to use Claude's advanced language capabilities while leveraging Google Cloud's infrastructure and security features.
ποΈ Hugging Face
In order to use Hugging Face Inference Providers,
ποΈ Jlama
Jlama Project
ποΈ LocalAI
https://localai.io/
ποΈ MistralAI
MistralAI Documentation
ποΈ Ollama
What is Ollama?
ποΈ OpenAI
This is the documentation for the OpenAI integration, that uses a custom Java implementation of the OpenAI REST API, that works best with Quarkus (as it uses the Quarkus REST client) and Spring (as it uses Spring's RestClient).
ποΈ OpenAI Official SDK
This is the documentation for the OpenAI Official SDK integration, that uses the official OpenAI Java SDK.
ποΈ OpenAI-Compatible Language Models
Many services and tools expose OpenAI-compatible APIs. The general approach to using them with LangChain4j is:
ποΈ Qianfan
ηΎεΊ¦ζΊθ½δΊεεΈε€§ζ¨‘ε
ποΈ Cloudflare Workers AI
https://developers.cloudflare.com/workers-ai/
ποΈ ZhiPu AI
ZhiPu AI is a platform to provide model service including text generation, text embedding,
ποΈ Oracle Cloud Infrastructure GenAI
Generative AI Service
ποΈ Xinference
- https://inference.readthedocs.io/
ποΈ GPULlama3.java
GPULlama3.java
ποΈ watsonx.ai
- watsonx.ai API Reference