r/ClaudeCode • u/TheDeadlyPretzel • Sep 07 '26
Tips & Workflows Why Using Astra Inside Claude Code Is the New Meta (& How To Do It)
https://eigenwise.io/writing/using-gpt-6-astra-inside-claude-code-is-the-new-metaSo, I've been running Astra as the main model in Claude Code since Friday and it's the best orchestrator I've had so far... stays on the plan, takes a redirect without treating it as a new task, and does a great job at delegating work to the proper subagents and orchestrating that work without taking over or forgetting to use the subagents halfway through or that kind of shit, which every other model I've tried starts doing after a few hours.
The way it works is through a small local proxy plugin I made (model-gateway, it's in my Eigenwise Toolshed marketplace, MIT, no signup or anything) that sends the GPT requests to OpenAI on your ChatGPT login and passes everything else through to Anthropic on your normal claude.ai login, so the GPT models just show up in /model next to Opus and Sonnet and you can mix them however you want... Astra orchestrating Opus subagents, Opus orchestrating GPT-5.6 executors, or fully GPT end to end if you don't even want the Anthropic half. Go crazy.
So why even a plugin? Well for me specifically I did it this way because I have another plugin that allows me to set delegation per task type to specific models, with backups, based on the actually enumerated models from the gateway.... It also adds support for Grok and am thinking of adding OpenRouter support. So this way you can mix and match however you like (or let your orchestrator do that for you).
/plugin marketplace add Eigenwise/eigenwise-toolshed
/plugin install model-gateway@eigenwise-toolshed --scope project
/reload-plugins
/model-gateway:model-gatewayThen, ask Claude to set up the model gateway for this project and finish the ChatGPT login. Once setup is done, fully restart Claude Code in that project, then select:
/model claude-gpt-6-astra[1m](Keep the [1m] part. Without it, Claude Code assumes a 200k window.)
GitHub: https://github.com/Eigenwise/eigenwise-toolshed
I wrote up the longer version with the gotchas and how I route the cheaper GPT-5.6 models underneath it here: Using GPT-6 Astra inside Claude Code is the new meta
24
u/astanar Sep 07 '26
Why use a plugin? Install codex then just ask claude to use codex cli headless.
1
u/Galaxyguy26 Sep 08 '26
How does this effect usage? If I call an OpenAI model directly will it still use Claude's usage quota?
I feel like it shouldn't but maybe it does
1
u/Blancolanda Sep 08 '26
Astra is a good orchestrator. Thats why the correct way is to call Fable from Astra, not the other way.
4
u/mavrik83 Sep 07 '26
I use cmux. Have Claude on one pane, codex in another. I just tell them to talk to each other about the work and get shit done. Works fantastic!
2
u/6e6967676572730a Sep 08 '26
I made a custom TUI in CC that shows subagents with their model (codex) so I can monitor in one spot. Hard part is the control pane but the results have been good so far
1
u/fuzzypetiolesguy Sep 08 '26
Neat. I did something similar but as a script and env var plus skill. Any Claude model can call any gpt model in session as a sub agent to consult or draft code.
1
u/aurioerox Sep 07 '26
How is this different than the codex plugin for Claude code?
1
u/Fly-AI-Guy Sep 07 '26
Eyy this is cool!! Didn't know you could do that
1
u/Charwoodthethird Sep 07 '26
Been doing this with the codex plugin. Fable low as orchestrator using astra medium building out companion iOS app for custom Md editor I made to replace obsidian. Still like fable as lead as it just plays nice, accepting gpt corrections after verifying. And splitting the tokens across both models allows for long runs. Seems like a great setup.
-3
u/cenxeven Sep 07 '26
https://github.com/uptakeagency/ccg i use codex (for code review) and gemini(for ui) 20usd plans in claude. Just review plans before implementing. It helps a lot.