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

This repository profile is provided by osrepos.com, an open source repository discovery platform.

Source: osrepos.com
Repository profile: https://osrepos.com/repo/tensorblock-claude-code-forge
Generated for open source discovery and AI-assisted research.

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.

GitHub: https://github.com/TensorBlock/claude-code-forge
OSRepos URL: https://osrepos.com/repo/tensorblock-claude-code-forge

## 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.

## Topics

- ai
- ai-gateway
- ai-proxy
- claude
- claude-code
- shell
- llm integration
- developer tools

## Repository Information

Last analyzed by OSRepos: Sat Feb 07 2026 08:01:16 GMT+0000 (Western European Standard Time)
Detail views: 2
GitHub clicks: 4

## Safety Notice

OSRepos shares public repositories for knowledge and discovery only. Review source code, dependencies, licenses, and security implications before running or installing anything.

## Content

## Introduction

`claude-code-forge` is a straightforward setup utility designed to integrate [TensorBlock Forge](https://forge.tensorblock.co) 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

1.  **Claude Code**: Ensure you have [Claude Code](https://www.anthropic.com/claude-code) installed on your system.
2.  **TensorBlock Forge API Key**: Sign up at [forge.tensorblock.co](https://forge.tensorblock.co) and obtain your API key.

### Setup Steps

1.  **Get your API key**:
    *   Visit [TensorBlock Forge](https://forge.tensorblock.co).
    *   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`):**
    bash
    export ANTHROPIC_AUTH_TOKEN=your_actual_forge_key_here
    

    **For Windows (`start_claude_code.bat`):**
    batch
    set ANTHROPIC_AUTH_TOKEN=your_actual_forge_key_here
    

3.  **Make the script executable (Linux/Mac only)**:
    bash
    chmod +x start_claude_code.sh
    

## Examples

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

### Linux/Mac

bash
./start_claude_code.sh


### Windows

cmd
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](https://github.com/TensorBlock/forge) for more details.

## Links

*   **GitHub Repository**: [TensorBlock/claude-code-forge](https://github.com/TensorBlock/claude-code-forge){:target="_blank"}
*   **TensorBlock Forge**: [forge.tensorblock.co](https://forge.tensorblock.co){:target="_blank"}
*   **TensorBlock Model Catalog**: [tensorblock.co/api-docs/model-ids](https://tensorblock.co/api-docs/model-ids){:target="_blank"}
*   **TensorBlock Forge Self-Hosting**: [TensorBlock/forge](https://github.com/TensorBlock/forge){:target="_blank"}