使用 Claude 代码与任何 LLM 供应商 - GLM-4.5、Kimi-K2、Qwen3-Coder、DeepSeek 等一起使用
使用 Claude 代码与任何 LLM 供应商 - GLM-4.5、Kimi-K2、Qwen3-Coder、DeepSeek 等一起使用
Formerly "claude-code-kimi-groq" - now OpenBridge! Legacy code still available in the
cckg-legacybranch.
Use models like Kimi K2, DeepSeek V3.1, and GLM-4.5 in Claude Code.
Open-source API bridge that enables any LLM to work with Anthropic-compatible tools.
Quick start using Kimi K2 on Hugging Face:
pip install openbridge
obcli
# Use with GLM-4.5:
OPENAI_MODEL="zai-org/GLM-4.5:fireworks-ai" obcliBy default, OpenBridge uses Kimi K2 through your Hugging Face account. Hugging Face provides a small free quota every month for all users. Hugging Face Pro subscribers receive $2 in credits each month.
You can use ANY OpenAI-compatible LLM API with support for tool calling! Configure this either through environment variables (OPENAI_MODEL, OPENAI_BASE_URL, OPENAI_API_KEY) or a config file. Run obcli to see the configuration options.
# Install the package
pip install openbridge
# Start the proxy
openbridge --port 8323
# Configure your environment
export ANTHROPIC_API_KEY=NOT_NEEDED # If you are not already logged in to Anthropic
export ANTHROPIC_BASE_URL=http://localhost:8323/
# Run Claude Code
claudeCLI options:
--host - Host to bind to (default: 0.0.0.0)--port - Port to bind to (default: 8323)haiku models to a smaller model, currently uses GLM-4.5, very expensive!BSD-3-Clause
暂无开放 Issues,或尚未同步最近议题。