https://github.com/fakerybakery/claude-code-kimi-groq
https://github.com/fakerybakery/claude-code-kimi-groq
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fakerybakery/claude-code-kimi-groq
- Owner: fakerybakery
- Created: 2025-07-15T03:11:27.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-07-15T05:02:17.000Z (3 months ago)
- Last Synced: 2025-07-15T08:44:07.673Z (3 months ago)
- Language: Python
- Size: 9.77 KB
- Stars: 40
- Watchers: 0
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-claude-code - claude-code-kimi-groq - code-kimi-groq) | 通过 Groq 在 Claude Code 上使用 Kimi K2 的基本代理 | Kimi 代理| (代理与 API 工具)
- awesome-claude-code - **claude-code-kimi-groq**
README
# Use Kimi K2 on Claude Code through Groq
## Quick start (uv)
```bash
export GROQ_API_KEY=YOUR_GROQ_API_KEY# one-time setup
brew install astral-sh/uv/uv # or pipx install uv# project setup
uv venv .venv
source .venv/bin/activate
uv pip install -e .# run the proxy
python proxy.py
```Set the Anthropic Base URL:
```
export ANTHROPIC_BASE_URL=http://localhost:7187
```If you're not already authenticated with Anthropic you may need to run:
```
export ANTHROPIC_API_KEY=NOT_NEEDED
```Run Claude Code with the Groq API key:
```bash
claude
```## If you use this:
If you use this, I'd love to hear about your experience with Kimi K2 and how it compared with Claude! Please open an Issue to share your experience.
## Acknowledgements
Inspired by [claude-code-proxy](https://github.com/1rgs/claude-code-proxy)
## License
[MIT](LICENSE.md)