| layout | default |
|---|---|
| title | ⚡️ cc-relay - Fast API Gateway for LLMs |
| description | 🚀 Enhance Claude Code by seamlessly routing requests to various Anthropic-compatible providers for improved performance and flexibility. |
Welcome to cc-relay! This application serves as a quick and efficient API Gateway for various Language Learning Models (LLMs). You can use it to connect with powerful offerings from providers like OpenAI, Anthropic, and more.
Before you begin, ensure your system meets the following requirements:
- Operating System: Windows, macOS, or Linux
- Minimum RAM: 4 GB
- Disk Space: 100 MB available
- Go 1.16 or newer installed (recommended)
To get started, please visit the Releases page to download the latest version. Follow these steps:
- Visit the cc-relay Releases page.
- Find the latest version of cc-relay.
- Download the file corresponding to your operating system.
- Once the download is complete, locate the downloaded file on your computer.
- Run the file.
For Windows users, this may involve double-clicking the .exe file. For macOS and Linux users, you may need to run commands in the terminal to start the application.
Once you have installed cc-relay, you may want to configure it to suit your needs. This can be done by modifying the configuration file.
- Locate the configuration file, usually named
config.yaml. - Open it using a text editor.
- Set the parameters, such as API keys and endpoints for the LLMs you wish to use.
- Save your changes.
To use cc-relay, follow these simple steps:
- Start the application. If it’s running correctly, it will print a message indicating it is listening for requests.
- Make API requests to the specified endpoint. You can use tools like Postman or curl for this.
- cc-relay will route your requests to the appropriate LLM provider and return the results.
cc-relay supports a variety of LLMs, including:
- OpenAI API (ChatGPT, DALL-E)
- Anthropic's Claude
- Mistral AI
- Google Gemini
- Zai and more
You can find specific model configurations in the documentation linked in the release notes.
If you encounter issues while using cc-relay, consider the following:
- Ensure your configuration file is correctly set up.
- Check that the required API keys are valid.
- Look for error messages in the terminal for hints on what might be wrong.
- Ensure your internet connection is stable.
For more complex issues, please refer to our GitHub Issues page.
Join our community to connect with other users and share your experiences. You can find us on Discord or through GitHub discussions.
We regularly update cc-relay to improve performance and add features. To stay informed about the latest changes, keep an eye on the Releases page.
If you're interested in contributing to the project:
- Fork the repository.
- Create a new branch for your features.
- Submit a pull request with a clear description of your changes.
cc-relay is open-source software. You can freely use and modify it under the terms of the MIT license.
- cc-relay Releases page
- GitHub Issues
- Community Discord (link coming soon)
Thank you for using cc-relay! We hope you find it useful in your projects.