Last verified: August 15, 2026
Short path: GPT-5.6 Sol · Claude Fable 5 · AI API pricing · OpenAI-compatible API
LumeAPI is an independent third-party gateway — not OpenAI or Anthropic. This page owns one comparison: gpt-5.6-sol versus claude-fable-5 on the same OpenAI-compatible key. It does not own GPT mini vs Terra (OpenAI bill guide), Sonnet vs Opus (Claude cost guide), or agent hop caps (agent bills).
Both ids are in the LumeAPI catalog. Older copies of this article said Fable was missing. That is false as of the 2026-07-22 catalog: Fable bills at $5 / $25 per 1M (50% off Anthropic’s $10 / $50). Sol bills at $1.50 / $9 (70% off OpenAI’s $5 / $30).
Quick Answer
| Question | Answer |
|---|---|
| Same gateway? | Yes. One LumeAPI key, swap model between gpt-5.6-sol and claude-fable-5. |
| Token rate on LumeAPI? | Sol $1.50/$9 · Fable $5/$25 per 1M in/out. Fable is about 3× Sol on a 10M+2M shape. |
| First model to eval? | Sol, unless the job already fails on long-horizon Claude-native behavior. |
| Stay on the vendor? | OpenAI Batch/cache/hosted tools · Anthropic Message Batches / Claude Code / native cache. |
| Where to verify rates? | /ai-api-pricing and /models. |
Start with Sol when the failure mode is weak tool coordination, slow inspect-edit-test cycles, or excess output tokens. Test Fable when Sol drops state on long runs, or the team is already on Claude Code.
In short
You can A/B Sol and Fable without a second vendor account. The economic default is Sol. Fable is the escalation id for long-horizon Claude behavior — not the default for every coding ticket. Published OpenAI evals are a shortlist, not a production winner.
What most guides get wrong
They compare official Sol $5/$30 to official Fable $10/$50 and stop, or they compare LumeAPI Sol to Anthropic Fable because they think Fable is unlistable. On LumeAPI both are listed. The decision that matters is cost per accepted patch on one key, not which vendor’s list price is lower.
They also paste a broken one-line “In short” that dumps Sol’s $1.50/$9 into the Fable article with no comparison. This rewrite replaces that.
Same-key rates (the table this page owns)
Checked 15 August 2026: OpenAI pricing, Anthropic pricing, LumeAPI catalog.py (synced 2026-07-22).
| Feature | GPT-5.6 Sol | Claude Fable 5 |
|---|---|---|
| Provider | OpenAI | Anthropic |
| Catalog id | gpt-5.6-sol | claude-fable-5 |
| Official in/out | $5 / $30 per 1M | $10 / $50 per 1M |
| LumeAPI in/out | $1.50 / $9 | $5 / $25 |
| vs official | 70% lower | 50% lower |
| Cached input (vendor) | $0.50 / 1M | $1 / 1M hits |
| Vendor Batch in/out | ~50% of standard ($2.50 / $15) | $5 / $25 |
| Context (vendor docs) | 1.05M; 2× in / 1.5× out above 272k input | 1M at standard Fable rates |
| Reasoning | Selectable levels (max / ultra) | Adaptive thinking always on |
LumeAPI lists standard Chat Completions in/out. Do not assume OpenAI cache, Sol Fast mode, or Anthropic Message Batches exist on the gateway.
10M input + 2M output on one key
| Route | Calculation | Cost |
|---|---|---|
| Sol OpenAI standard | 10×$5 + 2×$30 | $110 |
| Fable Anthropic standard | 10×$10 + 2×$50 | $200 |
| Sol LumeAPI | 10×$1.50 + 2×$9 | $33 |
| Fable LumeAPI | 10×$5 + 2×$25 | $100 |
Fable on LumeAPI is $100 / $33 ≈ 3.0× Sol on LumeAPI for the same token counts. Official Fable is $200 / $110 ≈ 1.8× official Sol. The gateway does not flatten Fable to Sol’s rate; it applies each row’s own discount.
A realistic production scenario
A coding agent runs 4,000 inspect-edit-test tasks per month. Traces average 80,000 input tokens and 12,000 output tokens per attempt.
Sol on LumeAPI per attempt:
80,000 × $1.50 / 1M = $0.120
12,000 × $9 / 1M = $0.108
Total $0.228Fable on LumeAPI per attempt:
80,000 × $5 / 1M = $0.400
12,000 × $25 / 1M = $0.300
Total $0.700If Sol accepts 78% of tasks and Fable accepts 92% on the same grader:
Sol: $0.228 / 0.78 = $0.292 per accepted task
Fable: $0.700 / 0.92 = $0.761 per accepted taskFable still costs more unless Sol’s failures create human repair that exceeds $0.761 − $0.292 = $0.469 per accepted task, or unless Sol’s retries push its attempt count so high that the denominator collapses. Log task_id, model id, tokens, retry count, and grader result. Do not pick Fable because Anthropic calls it the highest Claude tier.
These figures are worksheet math, not a LumeAPI customer result.
Coding: what the vendors published (shortlist only)
OpenAI’s GPT-5.6 launch material reports:
| Evaluation | GPT-5.6 Sol | Claude Fable 5 |
|---|---|---|
| Coding Agent Index | 80 | 77.2 |
| DeepSWE v1.1 | 72.7% | 69.7% |
| Terminal-Bench 2.1 | 88.8% | 83.1% |
OpenAI also reports Sol used fewer output tokens and less wall time in that comparison (OpenAI on GPT-5.6). That is OpenAI’s study. Run your own set: localized fixes, multi-file features, test generation, refactors, repo navigation, terminal debugging. A patch that fails CI is not a completed task.
When Sol is the first coding candidate
Command-line tools, inspect-edit-test loops, output-token pressure, OpenAI-native tools, or a hard cost cap. Official Sol long-context surcharge (2× input, 1.5× output for the entire request above 272k input tokens) still exists on OpenAI (GPT-5.6 Sol). Confirm LumeAPI long-context billing on /models/gpt-5.6-sol before assuming the same multiplier.
When Fable is the first coding candidate
Multi-hour autonomous runs that keep file-based notes, Claude Code as the driver, or your grader showing fewer abandoned runs. Anthropic documents a 1M context at Fable’s standard token prices (Fable 5 intro). Anthropic also uses a newer tokenizer; count tokens on your corpus before assuming equal token counts versus GPT.
Agents: coordination vs persistence
Sol’s product story is fewer round trips and programmable tool coordination. Fable’s product story is staying on a plan with persistent notes (Anthropic on Fable 5). Measure stuck-run rate, tool-argument validity, hops per success, and cost per successful task. A 1M context window is not a substitute for checkpoints. Hop caps belong on the agent page.
Long-context official example (vendor, not LumeAPI)
500,000 input + 20,000 output through official APIs, Sol above the 272k threshold:
Sol: 500,000 × $10 / 1M + 20,000 × $45 / 1M = $5.00 + $0.90 = $5.90
Fable: 500,000 × $10 / 1M + 20,000 × $50 / 1M = $5.00 + $1.00 = $6.00At that shape, official list prices almost meet. That is a vendor-API fact. It is not a reason to assume LumeAPI Sol and Fable meet; LumeAPI still bills $1.50/$9 vs $5/$25 on listed standard rates.
How to A/B on LumeAPI
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["LUMEAPI_KEY"],
base_url="https://api.lumeapi.site/v1",
timeout=120.0,
)
def run(model: str, messages: list[dict]) -> str:
response = client.chat.completions.create(
model=model,
messages=messages,
max_tokens=8_000,
)
content = response.choices[0].message.content
if not content:
raise RuntimeError(f"{model} returned empty content")
return content
# run("gpt-5.6-sol", messages)
# run("claude-fable-5", messages)Store task_id, model, prompt version, tokens, latency, tool calls, retries, grader, human score, USD. Use one baseline prompt first, then model-tuned prompts with the same acceptance bar.
Routing that keeps Fable rare:
Normal coding → gpt-5.6-terra or claude-sonnet-4-6
Eval fail → gpt-5.6-sol
Sol fail on long-horizon / Claude Code category → claude-fable-5
Fable fail → humanDo not send every task to both models except during the eval window.
Expert take
The new fact on this page is operational: Fable is a catalog id, so the A/B is a model field, not a second contract. Economically Sol remains the default frontier route on LumeAPI. Fable is priced as Anthropic’s top tier with a 50% gateway cut — still about 3× Sol on equal tokens. Buy Fable only where your grader shows a completion-rate gap that Sol cannot close. Keep Anthropic Batch, Claude-native cache, and Claude Code on Anthropic if those are the product.
Frequently asked questions
Is GPT-5.6 Sol better than Claude Fable 5?
OpenAI reports Sol ahead on several coding evals. The production answer is your grader. Fable can win on long-horizon Claude-native runs.
Which model is cheaper on LumeAPI?
Sol at $1.50/$9 vs Fable at $5/$25. On 10M+2M that is $33 vs $100.
Does LumeAPI support Claude Fable 5?
Yes. Model id claude-fable-5. See /models/claude-fable-5.
Do both models support about 1M tokens?
Vendor docs: Sol 1.05M with a long-context surcharge above 272k input; Fable 1M at standard Fable rates. Confirm gateway long-context billing on each model page.
Which model is better for coding?
Sol is the stronger first candidate on published coding scores and token rate. Test Fable for long autonomous projects and Claude Code.
Which model is better for AI agents?
Sol when tool coordination and output tokens dominate. Fable when persistent notes and multi-hour continuity dominate.
Does Fable support prompt caching and Batch?
On Anthropic: cache hits $1 / 1M; Batch $5 / $25. LumeAPI’s public catalog lists standard Fable in/out only.
Is LumeAPI Sol 70% below OpenAI?
Yes versus OpenAI’s listed $5/$30. Fable is 50% below Anthropic’s $10/$50. Different families, different cuts.
Sources
- OpenAI GPT-5.6
- OpenAI pricing
- GPT-5.6 Sol model
- Anthropic Fable 5
- Anthropic pricing
- Fable 5 model intro
- LumeAPI pricing
- LumeAPI models
Prices checked 15 August 2026. LumeAPI billed rates from catalog.py (2026-07-22). OpenAI eval numbers are vendor-reported, not LumeAPI benchmarks.