claude-code-forge: Access Any AI Model Through Claude's Interface

claude-code-forge: Access Any AI Model Through Claude's Interface

Summary

claude-code-forge is a utility that enables users to access a wide array of AI models through the Claude Code interface. By configuring Claude Code to use TensorBlock Forge as its API provider, developers can leverage models like Qwen Coder and Gemini, expanding beyond Claude's default offerings. This repository provides simple setup scripts to integrate TensorBlock Forge seamlessly.

Repository Info

Updated on February 7, 2026
View on GitHub

Tags

Click on any tag to explore related repositories

Introduction

claude-code-forge is a straightforward setup utility designed to integrate TensorBlock Forge with Claude Code. This powerful combination allows you to access and utilize a diverse range of AI models directly through Claude's familiar interface, moving beyond its default offerings.

This repository provides essential startup scripts that configure Claude Code to use TensorBlock Forge as the API provider. This means you can tap into models like Qwen Coder, Gemini, and many others, enhancing your development capabilities within the Claude Code environment.

Installation

To get started with claude-code-forge, follow these steps:

Prerequisites

Setup Steps

  1. Get your API key:
    • Visit TensorBlock Forge.
    • Sign up for an account.
    • Add your preferred model provider API keys.
    • 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):

    export ANTHROPIC_AUTH_TOKEN=your_actual_forge_key_here
    

    For Windows (start_claude_code.bat):

    set ANTHROPIC_AUTH_TOKEN=your_actual_forge_key_here
    
  3. Make the script executable (Linux/Mac only):
    chmod +x start_claude_code.sh
    

Examples

Once configured, using claude-code-forge is simple:

Linux/Mac

./start_claude_code.sh

Windows

start_claude_code.bat

Default Configuration:

The provided 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 easily modify these models within the script files to use any model available on TensorBlock Forge.

Why Use It?

claude-code-forge offers several compelling advantages:

  • Expanded Model Access: Utilize a wide variety of AI models beyond Claude's default offerings, including specialized coding models and faster response models.
  • Unified Interface: Access diverse models through the familiar and intuitive Claude Code interface, streamlining your workflow.
  • Flexibility: Easily switch between different models by modifying the configuration scripts.
  • Self-Hosting Option: For enhanced privacy and control, you can self-host TensorBlock Forge, managing your API keys and infrastructure directly. Visit the TensorBlock Forge repository for more details.

Links