A simple setup utility to use TensorBlock Forge with Claude Code, enabling you to access any supported model through Claude's interface.
This repository provides startup scripts that configure Claude Code to use TensorBlock Forge as the API provider, allowing you to:
- Use a wide variety of models beyond Claude's default offerings
- Access models like Qwen Coder, Gemini, and many others through Claude Code
- Claude Code: Make sure you have Claude Code installed
- TensorBlock Forge API Key: Sign up at forge.tensorblock.co and get your API key
- Visit TensorBlock Forge
- Sign up for an account
- Add your model provider API keys
- Generate a Forge key from your dashboard
Edit the appropriate script for your platform and replace YOUR_TENSORBLOCK_FORGE_API_KEY
with your actual API key:
For Linux/Mac (start_claude_code.sh
):
export ANTHROPIC_AUTH_TOKEN=your_actual_forge_key_here
For Windows (start_claude_code.bat
):
set ANTHROPIC_AUTH_TOKEN=your_actual_forge_key_here
chmod +x start_claude_code.sh
./start_claude_code.sh
start_claude_code.bat
The scripts are pre-configured with:
- Primary Model:
Fireworks/accounts/fireworks/models/qwen3-coder-480b-a35b-instruct
- A powerful coding model - Fast Model:
Gemini/models/gemini-2.5-flash
- For quick responses
You can modify these models in the script files to use any model available on TensorBlock Forge.
For users who want complete control over their API keys and infrastructure, you can self-host TensorBlock Forge on your own machine or server. This gives you enhanced privacy, custom configuration options, and direct control over your AI provider integrations.
To get started with self-hosting, visit the TensorBlock Forge repository for complete setup instructions, security considerations, and configuration options.
TensorBlock Forge supports many models. Check their model catalog for the full list of available models and their identifiers.
This project is licensed under the terms specified in the LICENSE file.