docs/docs/getting-started/providers/index.md
DB-GPT supports API providers and local runtimes. For a first run, use an API provider unless you specifically want local inference.
:::info Quick pick Not sure which provider to choose? Start with OpenAI or DeepSeek for the fastest setup (API proxy, no GPU needed). Use Ollama if you want to run models locally without complex setup. :::
| Provider | Type | GPU Required | Best for |
|---|---|---|---|
| OpenAI | API proxy | No | Production quality, fastest setup |
| DeepSeek | API proxy | No | Cost-effective, strong reasoning |
| Qwen (Tongyi) | API proxy | No | Chinese language, Alibaba Cloud users |
| SiliconFlow | API proxy | No | China-hosted, multiple model choices |
| Ollama | Local proxy | Optional | Easy local models, privacy-first |
| vLLM | Local | Yes (NVIDIA) | High-throughput production inference |
All models are configured in TOML files under configs/. Each config file defines:
[models]
# Language model
[[models.llms]]
name = "model-name"
provider = "provider-type"
api_key = "your-api-key"
# Embedding model
[[models.embeddings]]
name = "embedding-model-name"
provider = "provider-type"
api_key = "your-api-key"
:::tip Environment variables
You can use environment variable syntax in TOML configs: "${env:VARIABLE_NAME:-default_value}". This keeps secrets out of config files.
:::
DB-GPT also supports additional providers through its proxy system. See Advanced LLM Configuration for: