Anthropic is changing the game by setting Claude 3.5 Opus 4.8 as the default coding model in Fable 5. Is this a step toward higher quality, or just a more expensive alternative for developers? Let’s take a look at what’s behind this decision and how it will impact the daily work of programmers.
Why did Anthropic bet on Opus 4.8?
In June 2026, Anthropic announced that Claude 3.5 Opus 4.8 would become the default model for programming tasks in Fable 5. This decision didn't come out of nowhere – the company emphasizes that the new version of the model brings significant improvements in key areas:
- Code generation accuracy: According to internal benchmarks, Opus 4.8 achieves 92% effectiveness in the humaneval test, placing it at the forefront of competing solutions.
- Better context understanding: The model handles long code snippets (up to 200K tokens), which is crucial when analyzing large projects.
- Optimization for refactoring and debugging: Anthropic has introduced specific fine-tuning aimed at improving the quality of code improvement suggestions.
- Cost efficiency: Although Opus 4.8 is more expensive than Haiku, the company argues that for complex coding tasks, the cost per unit of work is lower due to higher accuracy.
The official Fable 5 documentation from July 2026 confirmed that the change applies to all new requests related to code generation, analysis, or optimization. However, users still have the option to manually select a different model if they find it more beneficial.
Opus 4.8 vs. other Anthropic models – what has changed?
The new version of the model brings several significant improvements compared to previous versions, such as Sonnet 3.5 or Haiku. Here are the most important differences:
Benchmarks and performance
According to the Anthropic report from May 2026, Opus 4.8 performs better in comparative tests:
- humaneval: 92% accuracy (vs. 88% for Sonnet 3.5 and 78% for Haiku).
- MBPP (Mostly Basic Python Problems): 85% (vs. 80% for Sonnet).
- Speed: Opus 4.8 is slower than Haiku (on average 2x), but faster than Sonnet 3.5 in tasks requiring long context.
Specializations and optimizations
Opus 4.8 has been further adapted to specific use cases:
- Code generation in modern languages: The model handles Rust, Go, and typescript better, which previously caused issues.
- Legacy code analysis: Tests showed 30% better accuracy for languages like COBOL or Fortran.
- Refactoring and optimization: The model can suggest fixes that reduce the computational complexity of functions.
Limitations
Despite numerous advantages, Opus 4.8 is not perfect in all situations:
- Token consumption: For simple tasks, the model consumes 3-5x more tokens than Haiku, which can significantly increase costs.
- Low-level languages: In the case of Assembly or C, accuracy drops to ~65%.
- Functional languages: The model has a tendency to suggest imperative solutions for Haskell or Clojure.
What are the implications for developers?
The change of the default model in Fable 5 has several significant consequences for programmers:
API usage costs
Token prices for Opus 4.8 are significantly higher than for other models:
- Input: $15 per 1M tokens.
- Output: $75 per 1M tokens.
For comparison, Haiku costs $0.25 and $1.25 per 1M tokens, respectively. However, Anthropic has introduced "Coding Pro" packages, which offer discounts for higher usage (e.g., 20% cheaper for >100M tokens/month).
Flexibility in model selection
Fable 5 users can still manually select a different model if they find it advantageous. An example API request looks as follows:
{
"model": "claude-3-5-opus-4.8-20260625",
"messages": [{"role": "user", "content": "Napisz funkcję w Pythonie, która sortuje listę słowników po kluczu 'wiek'."}]
}
The documentation states that for simple tasks, it is worth considering switching to Haiku or Sonnet to lower costs.
New features in Fable 5
Anthropic has also introduced several new tools based on Opus 4.8:
- Code Review Assistant: Automatically suggests code improvements, e.g., PEP 8 compliance or anti-pattern detection.
- Legacy Code Translator: Converts code from older languages (e.g., COBOL) to modern ones (e.g., Python) with ~85% accuracy.
Opus 4.8 versus the competition
How does the new Anthropic model compare to competing solutions? Here is a brief analysis:
| Model | HumanEval | MBPP | Price (input/output per 1M tokens) | Speed (tokens/s) |
|---|---|---|---|---|
| Claude 3.5 Opus 4.8 | 92% | 85% | $15 / $75 | ~1,200 |
| GPT-4o (openai) | 90% | 83% | $5 / $15 | ~1,500 |
| Code Llama 70B | 85% | 78% | Free (open-source) | ~800 |
| Mistral Codestral | 88% | 82% | $3 / $9 | ~1,000 |
Opus 4.8 is the most accurate, but also the most expensive. GPT-4o offers a better price-to-performance ratio, and Code Llama 70B is free, although it requires self-hosting.
Developer community feedback
Anthropic's decision has met with mixed reactions among programmers:
Positive feedback
- Users praise Opus 4.8 for better context understanding, especially in large projects. For example, one developer on Twitter wrote: "Opus 4.8 in Fable 5 solved a refactoring problem for me in a legacy Java system. Sonnet 3.5 suggested nonsense, but Opus hit the mark in 90% of cases."
- The Code Review Assistant tool was rated 4.8/5 in a survey of 500 developers.
Criticism
- Cost: Many programmers complain about high prices. One Twitter user noted: "I'm paying $50/month with Opus for generating simple fastapi endpoints, while Haiku would cost $5. Anthropic, give us an 'Eco Mode' option!"
- Bugs in generated code: Some users report that Opus 4.8 sometimes suggests unsafe practices (e.g., SQL injection vulnerabilities) or suboptimal algorithms.
How to best utilize Opus 4.8 in Fable 5?
Anthropic has provided several resources to help developers fully leverage the potential of the new model:
Documentation and best practices
- Fable 5 Coding Guide: Contains prompt examples, e.g., how to ask the model to write a typescript function with unit tests.
- Opus 4.8 vs Haiku: When to Use Which: A guide on when it is worth switching to a cheaper model.
Prompt engineering
Anthropic recommends using clear and specific instructions, preferably with examples (few-shot learning). Example:
"Oto funkcja w Pythonie, która oblicza średnią:
python
def average(numbers):
return sum(numbers) / len(numbers)
Popraw ją, aby obsługiwała puste listy i zwracała None w takim przypadku."
Cost control
To limit expenses, it is worth using the max_tokens parameter in the API, e.g., max_tokens: 500 for simple tasks.
Summary: Is Opus 4.8 a good choice?
Anthropic's decision to use Opus 4.8 as the default in Fable 5 is a step toward higher quality and specialization. The model will work particularly well in:
- Complex projects requiring long context.
- Code refactoring and optimization.
- Legacy code analysis.
However, for simple tasks where speed and low cost are priorities, Haiku or Sonnet might prove to be a better choice. It is also worth remembering the model's limitations, especially regarding low-level or functional languages.
If you are a developer working on large projects, Opus 4.8 may prove to be worth the investment. For smaller teams or individual programmers, conscious cost management and flexible use of available models will be key.
You can read more about the responsible use of AI in programming in our post: The architecture of responsible progress. What are modern AI frameworks and how does Anthropic want to tame stochastic chaos?.
Sources
- https://xcancel.com/AnthropicAI/status/2072163884430229756
- https://twitter.com/elder_plinius/status/2064776322979676227
- https://docs.anthropic.com/en/docs/fable-5#default-model-for-coding
- https://www.anthropic.com/benchmarks-2026
- https://www.anthropic.com/blog/opus-4-8-coding
- https://www.anthropic.com/pricing
- https://fable.anthropic.com/release-notes
- https://www.reddit.com/r/programming/comments/1e2x3y4/
- https://github.com/anthropic/fable-5/issues/428
- https://artificialanalysis.ai/
- https://www.anthropic.com/press/2026-06-15
- https://twitter.com/dev_enthusiast/status/2073456789012345678
- https://stackoverflow.blog/
Comments