An open API service indexing awesome lists of open source software.

https://github.com/fakerybakery/claude-code-kimi-groq


https://github.com/fakerybakery/claude-code-kimi-groq

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

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)