Skip to main content

Comparison Table of all supported Language Models

ProviderStreamingTools (sync/streaming/partial/complete)JSON SchemaJSON ModeThinking (Reasoning)Supported Modalities (Input)ObservabilityCustomizable HTTP ClientLocal DeploymentSupports Native ImageComments
Amazon Bedrock✅✅/✅/🆘/✅✅✅text, image, PDF✅✅ (SDK)
Anthropic✅✅/✅/✅/✅✅✅text, image, PDF✅✅✅
Azure OpenAI✅✅/✅/✅/✅✅✅text, image✅✅ (SDK)
ChatGLM (deprecated)text✅
DashScope✅✅/✅/✅/✅✅✅✅text, image, audio, video✅
Google AI Gemini✅✅/✅/❌/✅✅✅✅text, image, audio, video, PDF✅✅
Google Gen AI (experimental)✅✅/✅/🆘/✅✅✅✅text, image, audio, video, PDF✅✅ (SDK)Partial tool calls: Vertex AI only (not supported by the Gemini Developer API).
Google Vertex AI Anthropic✅✅/✅/🆘/✅🆘🆘text, image✅Streaming is simulated: the full response is received first, then passed on in chunks.
Google Vertex AI Gemini✅✅/✅/🆘/✅✅✅🆘text, image, audio, video, PDF✅
Hugging Face (deprecated)text✅
Jlama✅✅/✅/🆘/🆘text✅✅
GPULlama3.java (deprecated)✅✅text✅✅
jitLLM✅✅/✅/🆘/✅🆘🆘✅text✅✅
LocalAI✅✅/✅text, image, audio✅
Mistral AI✅✅/✅/❌/✅✅✅✅text, image, audio, PDF✅✅
Ollama✅✅/✅/❌/✅✅✅✅text, image✅✅✅
OpenAI✅✅/✅/✅/✅✅✅✅ (DeepSeek)text, image, audio, video, PDF✅✅See OpenAI-Compatible Language Models (OrcaRouter, Ollama, LM Studio, GPT4All, Docker Model Runner, etc.)✅See OpenAI-Compatible Language Models(OrcaRouter, Groq, ...)
OpenAI Official✅✅/✅/✅/✅✅✅✅text, image, audio, PDF✅✅ (SDK)See OpenAI-Compatible Language Models✅See OpenAI-Compatible Language Models
Oracle Cloud Infrastructure GenAI✅✅/✅/✅/✅✅ (Cohere)✅ (Cohere)🆘text, image✅✅ (SDK)✅JSON schema and JSON mode: Cohere models only (generic models: not implemented yet). Partial tool calls: generic models only.
Qianfan✅✅/✅/🆘/🆘✅text✅
Cloudflare Workers AItext✅
Zhipu AI✅✅/✅/✅/✅❌✅text, image✅
watsonx.ai✅✅/✅/✅/✅✅✅✅ (Granite)text, image✅✅ (SDK)
Xinference✅✅/✅/🆘/🆘✅text, image, video✅✅
Cohere✅✅/✅/✅/✅✅✅✅text, image✅

Legend:

  • ✅ means "supported"
  • 🆘 means "not supported yet; please help us implement it"
  • 🔜 means "it is being implemented; please wait"
  • ❌ means "not supported by the LLM provider"
  • no mark means "not sure, need to double-check"

In the Customizable HTTP Client column, ✅ means that you can plug in your own LangChain4j HttpClientBuilder, and ✅ (SDK) means that the integration uses the provider's Java SDK and you can pass your own preconfigured SDK client or HTTP client instead (see the provider's page). An empty cell in this column means neither.