# Using Venice AI With Kilo Code

> Kilo Code supports Venice AI through the native Venice provider.

- 网址：https://funcoding.ai/agents/kilo-code/ai-providers/venice/
- 来源：Kilo Code 官方文档原文（英文），MIT 许可，同步于 2026-10-11
- 官方原文：https://kilo.ai/docs/ai-providers/venice

---
Kilo Code supports Venice AI through the native Venice provider. Venice offers privacy-focused access to open and reasoning-capable models through its API.

**Website:** [https://venice.ai/](https://venice.ai/)

## Getting an API Key

1. Sign in to Venice AI.
2. Open your API settings.
3. Create a key for Kilo Code.
4. Copy the key immediately and store it securely.

## Configuration in Kilo Code

**VSCode**

Open **Settings** (gear icon) and go to the **Providers** tab to add Venice AI and enter your API key.

The extension stores this in your `kilo.json` config file. You can also edit the config file directly — see the **CLI** tab for the file format.

**CLI**

Set the API key as an environment variable or configure it in your `kilo.json` config file:

**Environment variable:**

```bash
export VENICE_API_KEY="your-api-key"
```

**Config file** (`~/.config/kilo/kilo.json` or `./kilo.json`):

```jsonc
{
  "provider": {
    "venice": {
      "env": ["VENICE_API_KEY"]
    }
  }
}
```

Then select a Venice model from the model picker, or set a default model after confirming the model ID in your account:

```jsonc
{
  "model": "venice/<model-id>"
}
```

## Tips and Notes

- **Native provider:** Kilo uses the Venice AI SDK provider for built-in Venice models.
- **Reasoning models:** Some Venice models expose reasoning controls. Kilo maps supported reasoning effort and disable-thinking options when the selected model supports them.
- **Model availability:** Venice model IDs and access can vary by plan. Use the model picker or Venice dashboard for the current list.
- **Pricing:** Refer to Venice AI pricing and account limits for current token costs and rate limits.

## Troubleshooting

- **Invalid API key:** Verify `VENICE_API_KEY` is set in the same environment that launches Kilo, or reconnect the provider in Settings.
- **Model not available:** Confirm your Venice account has access to the selected model and try selecting it from the model picker.
