Local Proxy
parel proxy starts a local reverse proxy on 127.0.0.1:7878. It injects your selected Parel profile key and forwards requests to Parel.
parel auth loginparel proxyUse it with clients that expect a local OpenAI-compatible endpoint:
export OPENAI_BASE_URL="http://127.0.0.1:7878/v1"export OPENAI_API_KEY="local"Supported routes
Section titled “Supported routes”| Local route | Upstream |
|---|---|
/v1/chat/completions | https://api.parel.cloud/v1/chat/completions |
/anthropic/v1/messages | https://api.parel.cloud/anthropic/v1/messages |
/anthropic/v1/messages/count_tokens | https://api.parel.cloud/anthropic/v1/messages/count_tokens |
When to use it
Section titled “When to use it”- Tools that only accept OpenAI-style environment variables.
- Local development where you do not want every project to store a Parel key.
- Anthropic-compatible tools routed through the Parel bridge.