As of July 11, 2026, both GPT-5.6 Sol in Codex and Claude Fable 5 in Claude Code are live, but neither named official API is a free route. OpenAI gives Free and Go users GPT-5.6 Terra in ChatGPT Work and Codex; Sol is available on Plus and higher plans and through a metered API. Anthropic lists Fable for Pro, Max, Team, and Enterprise users and through a metered API. After that access check, try Sol first for a terminal-heavy or API-cost-sensitive pilot, try Fable first for long-horizon work in Claude Code, and keep the current default until one route produces more accepted work under the same repository tests.
| Your first workload | First pilot | Why this is a pilot, not a winner |
|---|---|---|
| Terminal repair, tool recovery, or command-heavy implementation | GPT-5.6 Sol in Codex | OpenAI's current evidence favors Sol on terminal-oriented agentic work, and its API list price is lower. |
| Long repository reads, extended implementation plans, or context-heavy refactors | Claude Fable 5 in Claude Code | Anthropic publishes a 1M-token context window, and Fable is designed for long-horizon work. |
| A stable production workflow that already passes review | Keep the current default; add the challenger as a specialist | A launch benchmark does not price retries, review time, regressions, or rollback risk. |
Effective-model check: if Claude Code switches a flagged Fable request to Opus 4.8, record Opus as the model that produced the result. Claude API requests switch only when the developer explicitly configures Anthropic's Fallback API.
Codex and Claude Code are not neutral wrappers. They change the tools, permissions, memory, context assembly, and execution loop around the selected model. A result from Sol in Codex is therefore not a pure Sol result, and a result from Fable in Claude Code is not a pure Fable result.
“Production stop rule: do not change the team default until the challenger wins a controlled same-repository test, identifies the effective model used, and has a working rollback path.
Can you use GPT-5.6 Sol or Claude Fable 5 online for free?
You can try the GPT-5.6 family online without paying, but OpenAI's current no-charge product route is Terra, not Sol. The official GPT-5.6 launch page says Free and Go users get Terra in ChatGPT Work and Codex, while Plus and higher plans can select Sol, Terra, and Luna. The same page lists the Sol API at $5 per million input tokens and $30 per million output tokens. That is a paid API contract, not an official free Sol API tier.
Anthropic's current Fable page lists Pro, Max, Team, and Enterprise access. It does not list Free. The official developer route uses claude-fable-5 and costs $10 per million input tokens and $50 per million output tokens. A site or video promising “Fable 5 free” may still offer a trial, sponsored quota, shared playground, or gateway-owned route, but it is not the Anthropic contract unless Anthropic is the stated owner.

| Route | What the official owner currently says | Practical next move |
|---|---|---|
| OpenAI Free or Go | GPT-5.6 Terra in ChatGPT Work and Codex | Use it to evaluate the family, but do not label the result Sol |
| OpenAI Plus or higher | Sol, Terra, and Luna are selectable | Confirm the effective model and plan limits before a controlled test |
| OpenAI API | Sol is metered at $5/M input and $30/M output | Use your own project and record tokens, retries, and spend |
| Claude Free | Fable is not listed on the official Fable plan row | Do not assume a free selector exists because a wrapper exposes the name |
| Claude Pro, Max, Team, or Enterprise | Fable is listed as available | Record whether the run consumes plan usage credits |
| Claude API | Fable is metered at $10/M input and $50/M output | Check the 30-day retention requirement before sending repository data |
Before using a third-party “free” route, make six fields visible: provider, who owns the API key, quota and expiry, logs and retention, effective model, and billing after the trial. Stop if any field is hidden, if the page asks for sensitive source code before publishing its terms, or if it cannot prove which model produced the result. A playground run can be useful evidence; it is not automatically a durable free API entitlement.
Separate the four layers before comparing results
Before you compare results, identify what actually changed. Most bad "Codex 5.6 vs Claude Code Fable 5" conclusions collapse four separate layers into one score.
| Layer | OpenAI route | Anthropic route | What to record |
|---|---|---|---|
| Model | GPT-5.6 Sol | Claude Fable 5 | Exact selected model or API identifier |
| Harness | Codex | Claude Code | Client version, tools, permissions, memory, and execution settings |
| Billing | ChatGPT plan, credits, or API | Claude plan, usage credits, or API | The actual route used; do not substitute API list price for a subscription bill |
| Effective model | The model shown in the active Codex or API result | Fable, or Opus 4.8 when a safeguard reroutes the request | Evidence from the run, not only the selector you requested |
The model supplies the underlying reasoning and generation behavior. The harness decides what the model can inspect, execute, remember, and change. The billing route determines whether you consume a plan allowance, usage credits, or metered API tokens. The effective model is the model that actually produced the result.
That last distinction matters for Fable. Anthropic says flagged cyber or biology requests in Claude applications, including Claude Code, may automatically switch to Claude Opus 4.8; users can disable that automatic fallback. The API does not switch merely because a request selected Fable: an API fallback occurs only when the developer explicitly configures Anthropic's Fallback API. A test cannot claim "Fable won" or "Fable failed" unless its evidence pack confirms that Fable was the effective model and records the actual billing route.
The same attribution discipline applies to harness features. If Codex recovers from a failed command because of its execution loop, credit the Sol-in-Codex route. If Claude Code preserves a long implementation thread through its context management, credit the Fable-in-Claude-Code route. Do not silently turn either outcome into a model-only claim.
For broader questions about plans, limits, permissions, handoff, and the two products as complete tools, use the separate Claude Code vs Codex comparison. The model-route decision here stays narrower: Sol in Codex, Fable in Claude Code, and Opus 4.8 only when it is the effective fallback.
Choose the first pilot by workload
Choose the first pilot by workload, not brand. This router is a starting hypothesis; your repository test still owns the final decision.
| Workload | Recommended first pilot | Required proof before promotion |
|---|---|---|
| Terminal-heavy bug repair | Sol in Codex | The patch passes the existing test suite with fewer retries and no extra reviewer repair |
| Multi-step command or tool recovery | Sol in Codex | It recovers from realistic failures without unsafe commands or repeated human hints |
| Long-horizon repository analysis | Fable in Claude Code | It preserves constraints across the full task and produces an accepted implementation, not only a persuasive plan |
| Context-heavy refactor | Fable in Claude Code | The final patch respects cross-file invariants and does not use the larger context window as a substitute for precision |
| Repeated API-driven coding jobs | Sol API first | Lower list price survives retry, token, latency, and review-cost accounting |
| Frontend implementation | Pilot both | Use the same visual acceptance criteria, linting, tests, and browser checks; do not score by screenshot appeal alone |
| Cybersecurity or biology-adjacent work | Isolate from the ordinary comparison | Record any Codex lower-capability retry and any Claude app switch to Opus 4.8 as separate routes; do not mix them into Sol or Fable results |
| A reliable existing production route | Keep it as the fallback | The challenger must win on accepted work and remain reversible |
Sol deserves the first terminal-oriented pilot because OpenAI's own July 9 results report a lead on Terminal-Bench 2.1 and other agentic coding rows. Fable deserves a separate long-horizon pilot because Anthropic publishes a 1M-token context window and positions the model for extended work. Neither signal proves that the route will handle your repository, tools, policies, or review standards better.
A large context window is capacity, not accepted work. It can let a route inspect more files, but it does not guarantee that the right constraints remain salient. Likewise, a strong terminal benchmark does not prove that a harness will understand an undocumented business rule in your codebase. Test the workload each signal actually suggests.
The official contract: access, selectors, cost, and safeguards
The API price is not the subscription bill. As checked on July 11, 2026, the current official contracts are:
| Contract item | GPT-5.6 Sol | Claude Fable 5 |
|---|---|---|
| Current access | OpenAI made GPT-5.6 generally available across ChatGPT, Codex, and the API on July 9 | Anthropic restored Fable globally on July 1 across Claude Platform, Claude.ai, Claude Code, and Claude Cowork |
| Official no-charge product route | Free and Go receive GPT-5.6 Terra in ChatGPT Work and Codex; this is not Sol API access | Fable is not listed for Claude Free |
| Listed paid-plan route | Plus and higher plans can select Sol, Terra, and Luna in the supported OpenAI product surfaces | Pro, Max, Team, and Enterprise are listed for Fable |
| API selector | gpt-5.6-sol; OpenAI says gpt-5.6 aliases to Sol | claude-fable-5; Claude Code also accepts the documented Fable selector |
| API input price | $5 per million tokens | $10 per million tokens |
| API output price | $30 per million tokens | $50 per million tokens |
| Published context/output note | Verify the current OpenAI model and API route before deployment; do not copy a workspace limit into an API contract | 1M-token context window and up to 128k output |
| Data boundary highlighted by the provider | Apply the terms of the OpenAI route and account actually used | Anthropic says 30-day retention is required for Fable |
| Safeguard and effective-model boundary | OpenAI says Sol's conservative cyber safeguards can create benign-use friction; ChatGPT and Codex offer a retry on a lower-capability model, which must be logged as a different route | Claude apps including Claude Code can automatically switch flagged cyber or biology requests to Opus 4.8 and let users disable the switch; API fallback requires explicit Fallback API configuration |
Sources: OpenAI's GPT-5.6 launch, Codex model guide, Codex pricing guide, and latest-model API guide; Anthropic's Fable model page, July 1 redeployment notice, model-platform documentation, Claude Code CLI guide, and Fable fallback explanation.
These safeguard paths are operational fallbacks, not free retests of the selected model. If Codex retries on a lower-capability model, label the new model and rerun separately. If Claude Code switches to Opus 4.8, attribute the patch and usage to Opus. If an API client has no Fallback API configuration, a Fable refusal or error is not evidence that Opus produced the answer.
At raw API list price, a run with 200,000 input tokens and 40,000 output tokens costs approximately:
- Sol:
0.2 × $5 + 0.04 × $30 = $2.20 - Fable:
0.2 × $10 + 0.04 × $50 = $4.00
That example excludes caching terms, retries, tool execution, regional terms, and human review. It also says nothing about a Codex or Claude subscription bill. If the test runs inside a subscription, record the plan, consumed credits or limits, and any throttling separately. Do not relabel a metered API estimate as the cost of a plan-based Claude Code or Codex session.
Sol is therefore the lower-list-price API pilot. It is not automatically the cheaper production route. A $2.20 run that fails twice and needs 45 minutes of repair can cost more accepted work than a $4.00 run that passes once and needs five minutes of review.
Fable's retention requirement also belongs in the routing decision, not in a footnote after deployment. If the repository or prompt contains data that cannot satisfy the current retention contract, Fable is not an eligible route for that workload even if it wins the capability test.
OpenAI's benchmark table contains real reversals
The rows reverse because the tasks differ. OpenAI's July 9 launch page reports the following comparison:
| Benchmark published on OpenAI's page | GPT-5.6 Sol | Claude Fable 5 | Reported lead | Published setting or method boundary |
|---|---|---|---|---|
| Artificial Analysis Coding Agent Index v1.1 | 80.0 | 77.2 | Sol | OpenAI labels the Sol result as max reasoning; the Fable value is the competitor row in OpenAI's launch table. |
| SWE-Bench Pro | 64.6% | 80.0% | Fable | Launch-table scores; not a same-harness Codex-versus-Claude-Code test. |
| DeepSWE v1.1 | 72.7% | 69.7% | Sol | Launch-table scores; the public row does not expose a complete client configuration for both routes. |
| Terminal-Bench 2.1 | 88.8% | 83.1% | Sol | Launch-table scores; harness, permissions, effort, and retry behavior still need to be locked locally. |
These are OpenAI-published comparisons, not an independent universal ranking. OpenAI also states that its displayed latency and API-cost estimates are production-behavior simulations and that real-world results may vary. The public table does not expose a complete identical harness and reasoning configuration for every competitor, so the rows choose a pilot rather than settle a Codex-versus-Claude-Code production result.
The useful reading is task-specific. Fable's substantial SWE-Bench Pro lead makes it a serious pilot for repository issue resolution. Sol's leads on DeepSWE and Terminal-Bench 2.1 support a terminal- and tool-heavy pilot. The Artificial Analysis index adds another directional signal for Sol, but it does not erase the Fable win on SWE-Bench Pro.
Do not average these four values into a homemade winner score. They measure different tasks and do not necessarily share one scale, harness, or operational cost. Provider benchmarks choose which route enters the pilot first. Accepted work in your repository chooses the default.
Run a controlled same-repository test
Lock the environment before the first run. A useful pilot needs enough variation to expose route differences without turning into an open-ended model tournament.
Start with ten tasks drawn from recent work:
- Two bug fixes with existing or hidden acceptance tests.
- Two cross-file refactors with explicit invariants.
- Two long-context diagnosis tasks that require reading distant parts of the repository.
- Two terminal or tool-recovery tasks with realistic failure conditions.
- One frontend change with visual, accessibility, lint, and test criteria.
- One documentation or API change that requires verification against the implementation.

For every task, lock and record:
- Repository URL, commit SHA, branch state, dependency lockfile, and runtime image.
- The complete prompt, attached files, initial context, and any repository instructions.
- Selected model, effective model, harness version, reasoning setting, and tool configuration.
- Filesystem, network, command, and approval permissions.
- Equivalent tool capabilities. Codex and Claude Code cannot be made identical, so document unavoidable harness differences instead of hiding them.
- A fixed time box and the same human-intervention budget.
- Acceptance tests written before either route runs.
- The allowed repair cycle—for example, one autonomous first pass and one repair pass using the same test output.
- Full patch, command transcript, test output, token and latency log, and reviewer decision.
Run each route from a fresh worktree or equivalent clean state. Do not let the second route see the first route's patch, reviewer comments, or discovered test failures. Randomize route order across the task set so warm caches, service load, or evaluator fatigue do not always favor the same route.
Keep security-sensitive or safeguard-prone tasks in a separate lane. If a Fable selection is rerouted to Opus 4.8, preserve the run as useful operational evidence but do not score it as a Fable model result. Opus 4.8 is the fallback or baseline in this comparison, not a third headline contender.
Ten tasks are enough to reject a weak routing hypothesis or identify a likely specialist. They are not always enough to replace a mature production default. Before promotion, repeat the important task classes in a second cycle or expand the set with real queued work.
Score accepted work, not generated output
An accepted patch is more than a completed response. It must pass the predeclared tests, respect repository constraints, avoid material security or data regressions, and survive review without a human rewriting the core solution.
Track this scorecard for each route:
| Metric | What it exposes |
|---|---|
| Accepted patches | Whether the route produced work the team could merge |
| First-pass acceptance | Whether apparent autonomy survives the first test and review |
| Retry count | Hidden token, latency, and operator cost |
| Human interventions | How often the agent needed an extra hint or manual recovery |
| Input and output tokens | Metered API consumption when the API route is used |
| Elapsed time and tool time | Slow loops, timeouts, and recovery overhead |
| Review minutes | The cost most launch comparisons omit |
| Post-merge rollback or defect | Whether a fast acceptance created delayed cost |
| Effective-model match | Whether the result belongs to the selected model |
| Harness-specific failure | Whether the failure came from tools, permissions, memory, or the underlying model |
A practical accepted-work formula is:
accepted-work cost = (all first-attempt and retry metered spend + external tool/CI fees + review labor) ÷ accepted patches
Count retry tokens once inside total metered spend; add only external CI or tool charges in the separate fee term. If a route produces zero accepted patches, stop the batch and mark the route failed—do not divide by zero or hide the result inside an average.
For a subscription route, keep plan or credit consumption as its own field if a defensible per-task cost is unavailable. "Included in the plan" does not mean the task cost was zero; review time and capacity limits still matter.
Consider a hypothetical result. Route A spends $22 on metered runs, accepts eight patches, and needs 90 review minutes. Route B spends $40, accepts nine patches, and needs 40 review minutes. At an illustrative loaded review cost of $120 per hour:
- Route A:
($22 + $180) ÷ 8 = $25.25per accepted patch. - Route B:
($40 + $80) ÷ 9 = $13.33per accepted patch.
Route B has the higher model bill but the lower accepted-work cost. This is why raw token pricing should choose a cost-sensitive pilot, not settle the production verdict.
Keep quality vetoes outside the cost average. A route does not earn promotion by being cheap if it introduces a critical security issue, violates the data contract, or cannot identify the effective model used.
Promote, specialize, fall back, or roll back
A win becomes a default only after it survives rollback. Set thresholds before the test so the team cannot move them to favor the result it already prefers.

A practical starter policy is:
| Decision | Evidence required |
|---|---|
| Promote to default | Equal or better acceptance rate across two evaluation cycles, a predeclared improvement in accepted-work cost or time on the team's key tasks, no critical regression, effective-model evidence, and a tested rollback |
| Keep as specialist | A repeatable win in one task class—such as terminal recovery or long-context refactoring—but no broad win across the portfolio |
| Keep as fallback | The current route remains the known-good path with working prompts, permissions, credentials, and runbooks |
| Roll back | A critical safety or data failure, repeated acceptance regression, a sustained cost or review-time breach, unexplained effective-model changes, or unstable access and plan behavior |
A team might predeclare a 15% reduction in median accepted-work cost or time as its promotion margin. That number is an operational choice, not a provider fact. Select a margin large enough to survive ordinary run-to-run variation.
If Sol wins terminal repair but not long-context work, route those tasks to Sol and keep Fable or the current default elsewhere. If Fable wins repository refactors but safeguard-sensitive work cannot be attributed to Fable, retain it as a specialist with an effective-model check. If neither challenger beats the known-good route after review and rollback cost, keep the default. "No switch" is a valid test result.
The durable rule is simple: choose the first pilot by task shape, choose the default by accepted work, and keep the rollback route alive.
FAQ
Is "Codex 5.6" the model's official name?
No. The official model name is GPT-5.6 Sol. Codex is the coding-agent harness in which the model can run. Use "GPT-5.6 Sol in Codex" when the result depends on both.
Is "Claude Code Fable 5" an official combined product name?
No. The model is Claude Fable 5, and Claude Code is the harness. The precise wording is "Claude Fable 5 in Claude Code."
Are GPT-5.6 Sol and Claude Fable 5 available now?
Yes, as checked July 11, 2026. OpenAI made GPT-5.6 generally available across ChatGPT, Codex, and the API on July 9. Anthropic restored Fable globally across Claude Platform, Claude.ai, Claude Code, and Claude Cowork on July 1. Plan treatment and rollout details can change, so recheck the official pages before a later deployment.
Which API is cheaper?
At current list price, Sol is cheaper: $5 per million input tokens and $30 per million output tokens, versus Fable at $10 and $50. That comparison applies to metered API usage, not automatically to Codex or Claude subscription sessions.
Does Fable's 1M context window make it better for large repositories?
It makes Fable a strong first pilot for context-heavy work, but it does not guarantee a better accepted patch. Test whether it preserves the right constraints, passes cross-file tests, and reduces review work.
Why does Claude Opus 4.8 appear in this comparison?
Anthropic says some safeguard-triggered Fable requests may be routed to Opus 4.8. Opus therefore belongs in the evidence pack as an effective-model fallback or existing baseline. It is not a third co-winner in the headline comparison.
Which model wins the official coding benchmarks?
There is no single winner in OpenAI's current table. Fable leads SWE-Bench Pro, while Sol leads the Artificial Analysis Coding Agent Index, DeepSWE, and Terminal-Bench 2.1. Those reversals are a reason to route pilots by task rather than average the rows.
Which route is better for coding overall?
Start with Sol for terminal-heavy or lower-list-price API work. Start with Fable for long-horizon, context-heavy work already anchored in Claude Code. The better production route is the one that produces more accepted work under the same repository tests.
When should a team switch its default?
Switch only after the challenger meets a predeclared acceptance and cost threshold across repeated task cycles, confirms the effective model, introduces no critical regression, and has a tested rollback path.
Where should I compare Codex and Claude Code as complete products?
Use the broader Claude Code vs Codex comparison for plans, usage limits, permissions, speed, context handoff, and team workflow questions.
