Interface components
Build accessible UI components, fix layout bugs and explain the reasoning behind each design choice in the code.
Anthropic · Language model
Claude Sonnet 4.6 is Anthropic's balanced model from February 2026, built for agentic and multimodal work with consistent instruction following. Use it in the Avalava Assistant, in workflow LLM and agent steps, or through the API, with up to 872K tokens of input per request.
Use cases
Regular work that has to come out the same way each time.
Build accessible UI components, fix layout bugs and explain the reasoning behind each design choice in the code.
Paste a table or export and get the main patterns, the outliers and a plain-language explanation for a non-technical reader.
Run tool-using workflow steps that need to behave the same way week after week, without surprises in format or scope.
Why this model
Consistency was the point of this release.
It is less likely than Sonnet 4.5 to say a task is done when it is not, and less inclined to over-build a simple request.
It has a good sense of layout and interface detail, useful when you write UI code or describe a design for a later generation step.
Avalava gives it up to 872K tokens of input and 128K of output, so long specs and codebases fit without moving to an Opus model.
Prompt anatomy
For interface work, describe the behaviour and the constraints, not only the look.
Build a dismissible announcement banner for the top of a web app. It should remember dismissal for seven days and never cover the navigation. Use plain HTML, CSS and a little JavaScript, with no libraries. It must work with the keyboard and announce itself to screen readers. Return one code block, then a short list of the choices you made.
Наведите курсор, коснитесь или выберите выделенную часть, чтобы узнать, что она делает.
Goal
“Build a dismissible announcement banner for the top of a web app.”
Name the component and where it lives.
Behaviour
“It should remember dismissal for seven days and never cover the navigation.”
Describe what it does over time, not just how it looks.
Constraint
“Use plain HTML, CSS and a little JavaScript, with no libraries.”
Clear limits stop it reaching for a framework you do not use.
Check
“It must work with the keyboard and announce itself to screen readers.”
Accessibility as a stated requirement gets tested, not assumed.
Output
“Return one code block, then a short list of the choices you made.”
A fixed shape makes the reply easy to paste and review.
Prompt lab
Everyday tasks with a clear result. Open one in the Assistant and edit it first.
Write a React component for a star rating input from 1 to 5 that works with the keyboard and with screen readers. Use plain CSS and no libraries. After the code, explain your accessibility choices in three bullet points.
Here are monthly sign-ups by channel. Give three insights a marketing manager should act on, one chart that would show them best, and anything in the data you would not trust. month,search,social,referral Jan,420,310,95 Feb,435,280,110 Mar,460,190,180 Apr,455,175,240
This function should skip archived projects but does not. Make the smallest change that fixes it and do not refactor anything else. Show the diff only. def active_projects(projects): return [p for p in projects if p.get('status') != 'archived ']
Turn these notes into a five-sentence status update for people outside the team: search rewrite 80% done; blocked two days on test data; mobile release slipped one week for an app store review; new onboarding emails live, open rate up; hiring a second designer.
How it works
From the Assistant to a workflow step.
Pick Claude Sonnet 4.6 in the Assistant's model picker, or open it from this page with the model selected.
State the audience, the constraints and the format. For UI work, describe the look and behaviour in words and attach a screenshot if you have one.
Sonnet 5 is newer and cheaper per token. Run both on the same inputs before you move a workflow step that depends on Sonnet 4.6.
Verdict
Scorecard
Editorial ratings against the other text models on Avalava, Sonnet 5 included.
4/5
Dependable reasoning for everyday work; Sonnet 5 goes further.
4/5
Good daily coding with a strength in interfaces; deep refactors suit Opus.
4/5
Natural, consistent tone; follows style instructions well.
4/5
Steady in agent loops, with fewer premature 'done' claims than Sonnet 4.5.
3.5/5
Quicker than Opus, slower than Haiku or the Flash models.
3/5
Costs more per token than Sonnet 5, which outperforms it.
Редакционные оценки Avalava, а не результаты бенчмарков.
Compare models
How it compares with the nearest models on Avalava.
| Capability | Claude Sonnet 4.6 | Claude Sonnet 5 | Claude Opus 5.5 |
|---|---|---|---|
| Best for | Everyday coding, interface work and steady agent steps | Everyday coding, research and agent tasks that still need care | Long agentic coding, careful reviews and knowledge work that has to be right |
| Reasoning depth | Solid; below Sonnet 5 and the Opus line on hard problems | Strong; a step below Opus 5 on the hardest problems | Among the deepest on Avalava; Anthropic puts it level with its Fable tier on most tasks |
| Speed and cost | Mid-range rate and quicker than Opus | Mid-range rate and quicker replies than any Opus | Premium rate, below Opus 5, and quicker than earlier Opus models |
| Working style | Consistent and measured; follows instructions without over-building | Literal and self-checking; does what is asked and no more | Thorough and concise in code; can widen a task without a clear scope |
| Input tokens | 872K | 872K | 872K |
| Output tokens | 128K | 128K | 128K |
Questions
What it costs
It bills per token at a mid-range rate, with output above input. Sonnet 5 now costs less per token, so Sonnet 4.6 makes most sense where its behaviour is already relied on.
1M input tokens
Актуальная ставка по текущему прайсу. Каждое сообщение оплачивается за фактически прочитанные и написанные токены.
1M output tokens
Актуальная ставка по текущему прайсу. Каждое сообщение оплачивается за фактически прочитанные и написанные токены.
Keep exploring
Claude Sonnet 5
Сбалансированная модель для сложных повседневных задач с агентами: в Ассистенте, воркфлоу и через API.
Claude Opus 5.5
Флагманская модель для сложных рассуждений: ведёт долгие агентные задачи в программировании и работает с документами, анализом и исследованиями.
Claude Sonnet 5.5
Быстрая модель для повседневной агентной работы: помогает создавать и исправлять код, документы и воркфлоу.
Open the Assistant with Claude Sonnet 4.6 selected and describe what you are making.