Most teams I look at are paying frontier-model prices for work that does not need a frontier model. Renaming a variable does not need Astra. Planning a migration does.

I ran the same 34-file refactor through GPT-6.2 Sol and GPT-6.2 Astra, same prompt, same repo, one week apart. This is what changed in practice, and what it cost.

The two numbers that decide your default

Both models are priced per token. At OpenAI list rates for short context:

Model Input per 1M tokens Output per 1M tokens
gpt-6.2-sol $2 $10
gpt-6.2-astra $8 $40

My session moved about 180k input tokens and produced about 22k output tokens across 34 files.

  • Sol: 0.36 $ input plus 0.22 $ output, so roughly 0.58 $.
  • Astra: 1.44 $ input plus 0.88 $ output, so roughly 2.32 $.

Astra costs about 4x Sol for the same job. That is not a reason to avoid it. It is a reason to stop leaving it as your default.

Where Astra actually earns the price

Three tasks in the week made Astra clearly worth it:

  1. The migration plan. Sol produced a competent file-by-file list. Astra produced an ordered plan with a dependency graph and flagged two files that would break the build if touched in the wrong order. It was right.
  2. Cross-cutting renames. When a type name appeared in 40 files with three different import styles, Astra held the whole map. Sol lost one variant and produced a partial diff that failed CI.
  3. Test strategy. Astra proposed the fixtures before writing the tests. Sol wrote tests for the code it had just written, which is the wrong order.

Where Sol is objectively better

  • Small diffs. It is faster, and on a rename it fails fast instead of over-thinking.
  • Commit messages and docstrings. No reason to pay 4x.
  • Anything with a tight loop. If you are iterating 20 times in a minute, Sol's latency matters more than its reasoning depth.

The operating rule I settled on: Sol is the default in the CLI, Astra is invoked explicitly for cross-file work. One line of config, no process change.

Wiring it up

If you want both models behind one key, any OpenAI-compatible endpoint works. I use AgentRouter for this, which currently serves gpt-6.2-astra and gpt-6.2-sol.

OpenCode

~/.config/opencode/opencode.json:

{ "$schema": "https://opencode.ai/config.json", "provider": { "agentrouter": { "npm": "@ai-sdk/openai-compatible", "name": "agentrouter", "options": { "baseURL": "https://agentrouter.org/v1" }, "models": { "gpt-6.2-sol": { "name": "GPT-6.2 Sol" }, "gpt-6.2-astra": { "name": "GPT-6.2 Astra" } } } }, "model": "agentrouter/gpt-6.2-sol" } 

Then run opencode and use /model to switch. The API key is asked at startup, so it never lands in the file.

Codex CLI

~/.codex/config.toml:

model = "gpt-6.2-sol" model_provider = "AgentRouter" [model_providers.AgentRouter] base_url = "https://agentrouter.org/v1" env_key = "CODEX_GATEWAY_API_KEY" name = "AgentRouter" wire_api = "responses" [model_providers.AgentRouter.models] "gpt-6.2-sol" = { name = "GPT-6.2 Sol" } "gpt-6.2-astra" = { name = "GPT-6.2 Astra" } 

Two things that will cost you an hour if you skip them:

  • wire_api must be responses, not chat.
  • /model inside Codex only lists OpenAI's own models. Custom providers never appear there. Switch with codex --config model="gpt-6.2-astra".

The parts that are not smooth

I would rather write this down than let you discover it mid-refactor.

  • Model IDs must match the catalog exactly, hyphen for hyphen. A typo returns 503 no available channel, which looks like an outage and is actually a name mismatch.
  • Third-party gateways rotate their catalog. A model that worked last month can be gone. Check the pricing page before you build a workflow on it.
  • Frontier models on cheap gateways are batch released. You will hit 402 Budget pool quota has exhausted at peak hours. Keep a fallback model configured and do not interpret 402 as a broken config.
  • Proxied access is not first-party access. Latency and availability differ. For anything you ship, test on the real thing before you trust it.

What I would do if I were starting today

  1. Set Sol as default, today. The cost saving is immediate and the quality loss on small tasks is negligible.
  2. Add Astra to the same config, not a second tool.
  3. Keep a fallback model defined so a 402 never stops your session.
  4. Measure cost per completed task, not per token. Tokens are a distraction.

Disclosure: I use AgentRouter for the experiments in this article. Signing up through my referral link gives you 50 $ of credits and gives me 50 $ as well. There is no card and no top-up; credits are earned through signup and a 25 $ daily check-in. GPT and Claude models are released in daily batches, so availability varies during the day. agentrouter.org/register?aff=IofP