Skip to content
This repository was archived by the owner on Aug 27, 2025. It is now read-only.

Commit 987eecb

Browse files
authored
Add warning about anthropic api key usage (#125)
* Add warning about anthropic api key usage * Update supported claude code models
1 parent aa0f4fe commit 987eecb

File tree

1 file changed

+24
-12
lines changed

1 file changed

+24
-12
lines changed

docs/providers/claude-code.md

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,24 @@ Claude Code is Anthropic's official CLI that provides direct access to Claude mo
1414
2. **Authenticate:** Run `claude` in your terminal. Claude Code offers multiple authentication options including the Anthropic Console (default), Claude App with Pro/Max plans, and enterprise platforms like Amazon Bedrock or Google Vertex AI. See [Anthropic's authentication documentation](https://docs.anthropic.com/en/docs/claude-code/setup) for complete details.
1515
3. **Verify Installation:** Test that everything works by running `claude --version` in your terminal.
1616

17+
:::warning Environment Variable Usage
18+
The `claude` command-line tool, like other Anthropic SDKs, can use the `ANTHROPIC_API_KEY` environment variable for authentication. This is a common method for authorizing CLI tools in non-interactive environments.
19+
20+
If this environment variable is set on your system, the `claude` tool may use it for authentication instead of the interactive `/login` method. When Kilo Code executes the tool, it will accurately reflect that an API key is being used, as this is the underlying behavior of the `claude` CLI itself.
21+
:::
22+
23+
**Website:** [https://docs.anthropic.com/en/docs/claude-code/setup](https://docs.anthropic.com/en/docs/claude-code/setup)
24+
1725
## Supported Models
1826

1927
Kilo Code supports the following Claude models through Claude Code:
2028

21-
* `claude-sonnet-4` (Recommended)
22-
* `claude-4-opus`
29+
- **Claude Opus 4.1** (Most capable)
30+
- **Claude Opus 4**
31+
- **Claude Sonnet 4** (Latest, recommended)
32+
- **Claude 3.7 Sonnet**
33+
- **Claude 3.5 Sonnet**
34+
- **Claude 3.5 Haiku** (Fast responses)
2335

2436
The specific models available depend on your Claude subscription and plan. See [Anthropic's Model Documentation](https://docs.anthropic.com/en/docs/about-claude/models) for more details on each model's capabilities.
2537

@@ -32,16 +44,16 @@ The specific models available depend on your Claude subscription and plan. See [
3244

3345
## Tips and Notes
3446

35-
* **No API Keys Required:** Claude Code uses your existing CLI authentication, so you don't need to manage separate API keys.
36-
* **Cost Transparency:** Usage costs are reported directly by the Claude CLI, giving you clear visibility into your spending.
37-
* **Advanced Reasoning:** Full support for Claude's thinking modes and reasoning capabilities when available.
38-
* **Context Windows:** Claude models have large context windows, allowing you to include significant amounts of code and context in your prompts.
39-
* **Enhance Prompt Feature:** Full compatibility with Kilo Code's Enhance Prompt feature, allowing you to automatically improve and refine your prompts before sending them to Claude.
40-
* **Custom Paths:** If you installed Claude Code in a non-standard location, you can specify the full path in the settings. Examples:
41-
* Windows: `C:\tools\claude\claude.exe`
42-
* macOS/Linux: `/usr/local/bin/claude` or `~/bin/claude`
47+
- **No API Keys Required:** Claude Code uses your existing CLI authentication, so you don't need to manage separate API keys.
48+
- **Cost Transparency:** Usage costs are reported directly by the Claude CLI, giving you clear visibility into your spending.
49+
- **Advanced Reasoning:** Full support for Claude's thinking modes and reasoning capabilities when available.
50+
- **Context Windows:** Claude models have large context windows, allowing you to include significant amounts of code and context in your prompts.
51+
- **Enhance Prompt Feature:** Full compatibility with Kilo Code's Enhance Prompt feature, allowing you to automatically improve and refine your prompts before sending them to Claude.
52+
- **Custom Paths:** If you installed Claude Code in a non-standard location, you can specify the full path in the settings. Examples:
53+
- Windows: `C:\tools\claude\claude.exe`
54+
- macOS/Linux: `/usr/local/bin/claude` or `~/bin/claude`
4355

4456
## Troubleshooting
4557

46-
* **"Claude Code process exited with error":** Verify Claude Code is installed (`claude --version`) and authenticated (`claude auth login`). Make sure your subscription includes the selected model.
47-
* **Custom path not working:** Use the full absolute path to the Claude executable and verify the file exists and is executable. On Windows, include the `.exe` extension.
58+
- **"Claude Code process exited with error":** Verify Claude Code is installed (`claude --version`) and authenticated (`claude auth login`). Make sure your subscription includes the selected model.
59+
- **Custom path not working:** Use the full absolute path to the Claude executable and verify the file exists and is executable. On Windows, include the `.exe` extension.

0 commit comments

Comments
 (0)