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-codeConfiguration
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" # optionalANTHROPIC_API_KEYYour FastMetal API keyANTHROPIC_BASE_URLThe Anthropic-compatible API endpointCLAUDE_MODELThe model to use (optional)Usage
Once configured, use Claude Code as normal. All requests will be routed through FastMetal:
Tips
Monitor your usage on the dashboard to track spending
Use environment variables to switch between models
Check the API documentation for supported features