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_API_KEY="your-api-key"
export ANTHROPIC_BASE_URL="https://api.fastmetal.ai/v1"
export CLAUDE_MODEL="your-model-name"  # optional
ANTHROPIC_API_KEYYour FastMetal API key
ANTHROPIC_BASE_URLThe Anthropic-compatible API endpoint
CLAUDE_MODELThe model to use (optional)

Usage

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

Tips