{
"env": {
"ANTHROPIC_BASE_URL": "<https://archestra>.<my-domain>/v1/model-router",
"ANTHROPIC_API_KEY": "arch_<my_archestra_virtual_key>
},
....
}```
All the docs seem to assume the user already has inference capability (eg "Ask the Agent to set this up by following the URL").
I'm trying to setup Archestra, load up say, $50 with deepseek/openrouter/etc, and wire up Claude Code or similar to use Archestra.Read-only live mirror of Archestra.AI Slack
👋Join the discussion withAI enthusiasts!{
"env": {
"ANTHROPIC_BASE_URL": "<https://archestra>.<my-domain>/v1/model-router",
"ANTHROPIC_API_KEY": "arch_<my_archestra_virtual_key>
},
....
}```
All the docs seem to assume the user already has inference capability (eg "Ask the Agent to set this up by following the URL").
I'm trying to setup Archestra, load up say, $50 with deepseek/openrouter/etc, and wire up Claude Code or similar to use Archestra. ▐▛███▛█ Claude Code v2.1.296
▝▜██████▀ deepseek:deepseek-flash · API Usage Billing
▝▝ ▝▝ /dev
❯ Hello there
● There's an issue with the selected model (deepseek:deepseek-flash). It may not exist or you may not have access to it. Run /model to
pick a different model.
✻ Worked for 0s · done 10:44 am```
I just get similar to the above, I'm guessing the authentication bit is fine, just the BASE URL maybe isn't compatible/what Claude Code expects?{"level":30,"time":1791590547643,"reqId":"req-8va","timeIso":"2026-10-10T00:02:27.643Z","url":"/v1/model-router/v1/messages?beta=true","method":"POST","statusCode":404,"responseTime":23.672743000090122,"msg":"request completed"}```v1/messages bit archestra doesn't support/anthropic endpoint that doesn't need an anthropic API Key, it just uses a virtual key/v1/anthropic using a virtual key mapped to that Anthropic provider you just setupcodex instead as that's OpenAI, so should work....openai_base_url = "<https://archestra>.<my-domain>/v1/model-router"
model = "deepseek:deepseek-flash"```
Ensure `OPENAI_API_KEY` is in my env correctly set to my virtual key from Archestra.
Run `codex`:deepseek:deepseek-flash not found. Defaulting to fallback metadata; this can degrade performance and cause issues.codex seems to want to do websockets first.... let me try work around that....codex!model = "deepseek:deepseek-flash"
model_provider = "custom_provider"
[model_providers.custom_provider]
name = "Archestra"
base_url = "<https://archestra>.<my-domain>/v1/model-router/"
env_key = "OPENAI_API_KEY"
requires_openai_auth = false
supports_websockets = false
wire_api = "responses"```
And then just ensure `OPENAI_API_KEY` is exported and available! Can be any env var too.
And that works nicely:deepseek:deepseek-flash not found. Defaulting to fallback metadata; this can degrade performance and cause issues.codex /etc and not some normal comms method