Claude Code

Claude Code is Anthropic's official CLI for Claude. FastMetal provides native Anthropic API support, enabling seamless integration with Claude Code using any supported model.

Installation

Install Claude Code globally using npm:

npm install -g @anthropic-ai/claude-code

Configuration

Configure Claude Code to use the FastMetal API by setting these environment variables:

export ANTHROPIC_AUTH_TOKEN="your-api-key"
export ANTHROPIC_BASE_URL="https://api.fastmetal.ai"
export ANTHROPIC_MODEL="your-model-name"  # optional
ANTHROPIC_AUTH_TOKENYour FastMetal API key
ANTHROPIC_BASE_URLThe Anthropic-compatible API endpoint
ANTHROPIC_MODELThe model to use (optional)

Usage

Once configured, use Claude Code as normal. All requests will be routed through FastMetal:

Tips