LLM Providers
IaC Code supports multiple model provider backends. Provider selection can come from CLI options, environment variables, or configuration files. Precedence is:
CLI arguments > environment variables > configuration files
Cloud Providers
| Provider value | Purpose |
|---|---|
DashScope | Alibaba Cloud DashScope (Bailian) compatible endpoint |
DashScope Token Plan | Alibaba Cloud DashScope Token Plan endpoint |
OpenAI | OpenAI models |
Anthropic | Anthropic models |
DeepSeek | DeepSeek models |
Gemini | Google Gemini models |
Azure OpenAI | Azure OpenAI Service |
ModelScope | ModelScope inference endpoint |
China-region Providers
| Provider value | Purpose |
|---|---|
Kimi CN | Kimi (Moonshot AI) China endpoint |
MiniMax CN | MiniMax China endpoint |
ZhiPu CN | ZhiPu AI (GLM) China endpoint |
Volcengine CN | Volcengine (ByteDance) China endpoint |
SiliconFlow CN | SiliconFlow China endpoint |
International Providers
| Provider value | Purpose |
|---|---|
Kimi Intl | Kimi (Moonshot AI) international endpoint |
MiniMax Intl | MiniMax international endpoint |
ZhiPu Intl | ZhiPu AI (GLM) international endpoint |
SiliconFlow Intl | SiliconFlow international endpoint |
CodingPlan Providers
| Provider value | Purpose |
|---|---|
Aliyun CodingPlan | Alibaba Cloud CodingPlan endpoint |
Aliyun CodingPlan Intl | Alibaba Cloud CodingPlan international endpoint |
ZhiPu CN CodingPlan | ZhiPu AI CodingPlan China endpoint |
ZhiPu Intl CodingPlan | ZhiPu AI CodingPlan international endpoint |
Volcengine CodingPlan | Volcengine CodingPlan endpoint |
Compatible / Custom Endpoints
| Provider value | Purpose |
|---|---|
OpenAPI Compatible | Any OpenAI-compatible API endpoint |
Anthropic Compatible | Any Anthropic-compatible API endpoint |
OpenRouter | OpenRouter aggregation gateway |
Local Providers
| Provider value | Purpose |
|---|---|
Ollama | Ollama local model server |
LM Studio | LM Studio local model server |
LLM Environment Variables
| Variable | Description |
|---|---|
IAC_CODE_PROVIDER | Model provider name (case-insensitive). See tables above for valid values |
IAC_CODE_MODEL | Model name |
IAC_CODE_BASE_URL | API endpoint for OpenAPI Compatible and Anthropic Compatible only; ignored for other providers |
IAC_CODE_API_KEY | Provider API key |