You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @netgfx, thanks for raising this! We fully agree with the direction — supporting multiple LLM providers is an important goal for this project.
We're currently designing a more robust and broadly compatible multi-provider model integration solution that will go beyond single-vendor support. This new approach aims to make it easier to plug in different LLM backends (including Gemini and others) in a consistent and well-structured way.
Related changes are expected to land in the near future. We'll keep you posted on the progress.
Anthropic Messages API — for Claude models (default)
OpenAI Chat Completions API — for OpenAI models and any OpenAI-compatible provider
This means any provider that exposes an OpenAI-compatible /chat/completions endpoint can be used, including DeepSeek, Azure OpenAI, self-hosted models via vLLM/Ollama, etc.
Using Qwen
Qwen is not natively integrated, but it can work if you use an OpenAI-compatible endpoint (e.g., Alibaba's DashScope provides an OpenAI-compatible mode).
Here's how to configure it:
ocr config set llm.url "https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions"
ocr config set llm.auth_token "sk-your-dashscope-api-key"
ocr config set llm.model "qwen-plus"
ocr config set llm.use_anthropic false
Note: This relies on the provider's OpenAI protocol compatibility. If you run into any issues, feel free to report them — we'd be happy to help troubleshoot.
Summary
Provider
How
Anthropic (Claude)
Built-in, default protocol
OpenAI (GPT)
Set use_anthropic = false
Qwen (DashScope)
OpenAI-compatible mode, set use_anthropic = false
DeepSeek
OpenAI-compatible endpoint, set use_anthropic = false
Any OpenAI-compatible
Point llm.url to the endpoint, set use_anthropic = false
It looks like everything is working properly. You can change the language preference by setting the language, for example: ocr config set language English. Do you have any other questions?
Activity
stay-foolish-forever commentedon Jun 5, 2026
Hi @netgfx, thanks for raising this! We fully agree with the direction — supporting multiple LLM providers is an important goal for this project.
We're currently designing a more robust and broadly compatible multi-provider model integration solution that will go beyond single-vendor support. This new approach aims to make it easier to plug in different LLM backends (including Gemini and others) in a consistent and well-structured way.
Related changes are expected to land in the near future. We'll keep you posted on the progress.
roperi commentedon Jun 5, 2026
@stay-foolish-forever
So which vendors are currently supported? Is it only Anthropic ones? Can you do Qwen ? if so, how do i configure it? thank you.
lizhengfeng101 commentedon Jun 7, 2026
Hi @roperi, thanks for the question!
Currently Supported Protocols
OCR currently supports two wire protocols:
This means any provider that exposes an OpenAI-compatible
/chat/completionsendpoint can be used, including DeepSeek, Azure OpenAI, self-hosted models via vLLM/Ollama, etc.Using Qwen
Qwen is not natively integrated, but it can work if you use an OpenAI-compatible endpoint (e.g., Alibaba's DashScope provides an OpenAI-compatible mode).
Here's how to configure it:
Or via environment variables:
Summary
use_anthropic = falseuse_anthropic = falseuse_anthropic = falsellm.urlto the endpoint, setuse_anthropic = falseHope this helps!
westfly commentedon Jun 7, 2026
lizhengfeng101 commentedon Jun 7, 2026
It looks like everything is working properly. You can change the language preference by setting the language, for example:
ocr config set language English. Do you have any other questions?roperi commentedon Jun 7, 2026
Thank you, @westfly and @lizhengfeng101