Claude Code Proxy Service
Introduction
We recently launched the Claude Code proxy service. It provides the same experience as official CC subscription, powered by the official Messages API specifically designed for Claude Code. Due to official restrictions, direct chat is not available, but workarounds are possible if needed.
Advantages: No subscription required, pay-as-you-go, pricing at 10% of the official rate, achieving Claude Code freedom, and also available for GitHub Actions.
Launched on 2025-07-17, along with continued active maintenance of the web-rev-series Claude reverse models. However, instability due to account bans is still possible, so it's not recommended for production commercial services.
Claude Code Client Configuration Tutorial
Configure Key Helper
Create
vim ~/.claude/anthropic_key.sh
Add any content, for example:
echo "Hello World"
Then add permissions:
sudo chmod +x ~/.claude/anthropic_key.sh
Configure Claude Code JSON
Edit ~/.claude/settings.json
Focus on the env section in the JSON, particularly these three items:
env.ANTHROPIC_API_KEYSet to your OhMyGPT API Keyenv.ANTHROPIC_BASE_URLSet tohttps://{any OhMyGPT API Host}//api/v1/ai/openai/cc-omg/. If you're behind the Great Firewall, you can use an accessible mirror host.apiKeyHelperUsed to skip Claude Code login, otherwise you may not be able to start using it directly. The~/.claude/anthropic_key.shneeds to be created manually.
Example:
Launch
Type claude to launch Claude:
- Choose a theme
- When asked whether to use custom API Key, the default is No but you should select Yes
- Start using happily
If you encounter any issues, you can contact us via email ([email protected]) or through the website feedback.
Claude Code GitHub Action Configuration Tutorial
Official documentation: https://docs.anthropic.com/en/docs/claude-code/github-actions#manual-setup
Set up GitHub Action Secrets:
- ANTHROPIC_BASE_URL:
https://api.ohmygpt.com/api/v1/ai/openai/cc-omg/ - ANTHROPIC_API_KEY: Your OhMyGPT API Key
Example .github/workflows/claude.yaml
Result: After setup, you can directly @claude in issues/PRs to have Claude complete tasks, achieving issue-oriented programming.