Проверено 27 июля 2026

Claude Fable 5 в OpenCode

Config, который выглядит thorough, — тот, что ломает.

Короткий ответ

Поддерживается OpenCode 1.17.0+: model anthropic/claude-fable-5 в opencode.json — готово. Важная negative instruction: не provider.anthropic.models.claude-fable-5 block для name/limits/thinking. Custom entries мимо Fable reasoning path — empty responses без error.

Статус поддержки

Поддерживается с одной ловушкой, проверено 27 июля 2026. Fable reasoning в fix(opencode): support Claude Fable reasoning 9 июня 2026, provider transform, shipped 1.17.0. Selection: anthropic/claude-fable-5. Ловушка #31738: claude-fable-5 не из models.dev catalog — manual provider model или override name/limit/variants — generic Anthropic, без adaptive-reasoning; stream 10–20 сек, clean exit, no logs, nothing rendered.

Настройка

Три шага запуска; четвёртый — чтобы продолжало работать.

  1. 1

    Upgrade 1.17.0+

    Fable reasoning handling в 1.17.0 на adaptive controls Opus 4.7+ из 1.15.12/1.16.0. Старые версии шлют requests, но reasoning output обрабатывают неправильно.

  2. 2

    Authenticate Anthropic provider

    opencode auth login --provider anthropic и API key. Credentials вне project config — model ID в committed opencode.json, key — нет.

  3. 3

    Model в opencode.json

    model: anthropic/claude-fable-5 и $schema https://opencode.ai/config.json. Escalation: -m anthropic/claude-fable-5 — flag > config > last-used.

  4. 4

    Catalog definition не трогать

    Не добавляйте provider.anthropic.models block для этой модели. Docs показывают thinking object для старых Claude — copy на Fable 5 = silent-failure path + rejected budget.

Подводные камни

Первый стоит полдня — не выглядит как error.

  • Пустой ответ, zero tokens, no error

    #31738: stream starts, 8–17 секунд, loop exits clean; message finish unknown, zero tokens, null error, no thinking/text parts. Intermittent — trivial OK, long dies; легко blame network. Уберите model override — stops.

  • Subscription — plugin меняет refusal behaviour

    Pro/Max через community plugins OAuth из credentials Claude Code. Популярный plugin — server-side refusal fallback by default: Fable refusal → Opus 4.8 same round trip. Удобно; часть turns silently billed/reasoned as Opus.

  • Thinking example в docs не для этой модели

    Model configuration docs: Anthropic entry thinking enabled + budgetTokens — Sonnet-era. Fable 5 убрал budget_tokens; enabled/disabled thinking — 400. Copy example → error вместо deeper reasoning.

Заметки о стоимости

Model resolution OpenCode — flag, config, last-used — дешёвая per-task escalation: mid-tier default в opencode.json, -m anthropic/claude-fable-5 только на задачи, которые оправдывают. Два cost item: refusal fallback на Opus 4.8 биллится как Opus; silent-failure #31738 — время без результата — проверьте первые turns перед длинной сессией.

Сравните terminal agents до выбора

OpenCode, Aider и Claude Code — Fable 5 из терминала, три разных failure mode. Integrations hub — что каждый делает с моделью.

Вопросы и ответы