7fc0bafb01
Anthropic-compatible API proxy that routes requests to multiple providers (Anthropic, Z.ai/GLM-4.7, DeepSeek V3.2) based on model name. Zero dependencies, SSE streaming, bearer token auth. Designed to run behind Caddy/nginx on a home server, enabling Claude Code and Roo Code clients to connect from anywhere.
16 lines
274 B
JSON
16 lines
274 B
JSON
{
|
|
"port": 3100,
|
|
"authToken": "CHANGE_ME_TO_A_LONG_RANDOM_STRING",
|
|
"providers": {
|
|
"anthropic": {
|
|
"apiKey": "sk-ant-YOUR_ANTHROPIC_KEY"
|
|
},
|
|
"zai": {
|
|
"apiKey": "YOUR_ZAI_KEY"
|
|
},
|
|
"deepseek": {
|
|
"apiKey": "YOUR_DEEPSEEK_KEY"
|
|
}
|
|
}
|
|
}
|