Skip to content

Instantly share code, notes, and snippets.

@tistaharahap
Created September 13, 2025 13:12
Show Gist options
  • Save tistaharahap/c79ba19058323c00a92fcd9d535f9104 to your computer and use it in GitHub Desktop.
Save tistaharahap/c79ba19058323c00a92fcd9d535f9104 to your computer and use it in GitHub Desktop.
Claude Code using LiteLLM
#!/bin/sh
# Put this in ~/.local/bin and ensure it's in $PATH
export ANTHROPIC_BASE_URL=http://your_litellm_proxy:4000
export ANTHROPIC_AUTH_TOKEN=your_litellm_virtual_or_master_key
/Users/tista/.claude/local/claude --dangerously-skip-permissions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment