b4u2cc is a proxy server built on Deno. It transforms requests from Claude Code into a format compatible with OpenAI APIs, allowing Claude Code to interact with models that do not support native tool calls.
Visit the Releases Page: Go to the Release page here to download the latest version.
Download the Application: Choose the appropriate version for your system.
Install Deno: If you havenβt installed Deno yet, follow the instructions here to set it up on your device.
Run the Application: Once you have downloaded the files, use the command line to navigate to the directory containing b4u2cc and execute the following command to start the proxy server:
deno run --allow-net --allow-read your-file-name.ts
config.json file. Set the necessary API keys and options based on your requirements.To initiate the server, run:
deno run --allow-net --allow-read b4u2cc.ts
b4u2cc integrates with Claudeβs token counting API to help you keep track of usage. Additionally, you can adjust the billing multiplier through the TOKEN_MULTIPLIER setting located in the config.json file.
b4u2cc provides a structured logging system that captures the full request flow. You can configure the logging level (debug, info, warn, error) to suit your needs. If performance is an issue, you can fully disable logging in your settings.
For more details on core functionalities:
If you have any questions or need support, please check the issues page on GitHub. You can also follow the discussion to learn from other users.
By following these steps, youβll be able to download and run b4u2cc effectively. Enjoy connecting Claude Code with OpenAI!