Claude Code model router

Claude Code Forge

Setup scripts for using TensorBlock Forge with Claude Code - access any AI model through Claude's interface

Install

From source
git clone https://github.com/TensorBlock/claude-code-forge.git

From the README

Claude Code Forge

English | 简体中文 | 日本語 | 한국어

A simple setup utility to use TensorBlock Forge with Claude Code, enabling you to access any supported model through Claude's interface.

What is this?

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

Prerequisites

1. Claude Code: Make sure you have Claude Code installed
2. TensorBlock Forge API Key: Sign up at forge.tensorblock.co and get your API key

Setup

1. Get your API key

1. Visit TensorBlock Forge
2. Sign up for an account
3. Add your model provider API keys
4. Generate a Forge key from your dashboard

2. Configure the script

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):

For Windows (start_claude_code.bat):

3. Make the script executable (Linux/Mac only)

Usage

Linux/Mac

Windows

Default Configuration

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.

Self-Hosting 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…
Read the full README on GitHub

Details

Language
Shell
License
MIT
Last updated
4 September 2025
Topics
aiai-gatewayai-proxyclaudeclaude-codeproxy

FAQ

What is Claude Code Forge?

Setup scripts for using TensorBlock Forge with Claude Code - access any AI model through Claude's interface It is a model router for Claude Code, from TensorBlock/claude-code-forge on GitHub.

How do I install Claude Code Forge?

Clone TensorBlock/claude-code-forge from GitHub and follow the setup steps in its README.

Is Claude Code Forge popular?

TensorBlock/claude-code-forge has 29 GitHub stars and 8 forks. It was last updated on 4 September 2025.

More model routers & proxies

Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.