Providers¶
Dial Code supports multiple LLM providers. Choose based on your needs.
Provider Comparison¶
| Provider | Auth Method | Free Tier | Best For |
|---|---|---|---|
| Qwen | OAuth | 2,000/day | Getting started, general use |
| OpenAI | API Key | Pay-as-you-go | GPT models, enterprise |
| Ollama | Local | Unlimited | Privacy, offline use |
Quick Setup¶
Qwen (Recommended)¶
OpenAI¶
Ollama¶
# Start Ollama first
ollama serve
export OPENAI_BASE_URL="http://localhost:11434/v1"
export OPENAI_MODEL="llama3"
dial
Switching Providers¶
During a session:
Or in settings:
Provider Features¶
| Feature | Qwen | OpenAI | Ollama |
|---|---|---|---|
| Vision Models | Yes | Yes | Some |
| Function Calling | Yes | Yes | Some |
| Streaming | Yes | Yes | Yes |
| Context Length | 128K | Varies | Varies |
Regional Options¶
China (Mainland)¶
- Alibaba Cloud Bailian - dashscope.aliyuncs.com
- ModelScope - Free tier available
International¶
- Alibaba Cloud ModelStudio - dashscope-intl.aliyuncs.com
- OpenRouter - Free tier for some models
See individual provider pages for setup details.