# Claude Code statusline: model name and context usage at a glance

DevFeed: [Claude Code statusline: model name and context usage at a glance](<https://devfeed.tech/articles/claude-code-statusline-model-name-and-context-usage-at-a-glance-25180.md>)

Original publisher: [Read original article](<https://www.ivanmorgillo.com/2026/08/11/claude-code-statusline-model-and-context-usage/>)

Author: Ivan Morgillo

Published: 2026-08-11T10:00:00Z

Content type: tutorial

Language: en

Sources: [Ivan Morgillo](<https://devfeed.tech/sources/ivan-morgillo.md>)

Topics: [Claude Code](<https://devfeed.tech/topics/claude-code.md>), [context window](<https://devfeed.tech/topics/context-window.md>), [JSON](<https://devfeed.tech/topics/json.md>), [Terminal](<https://devfeed.tech/topics/terminal.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [claude-code](<https://devfeed.tech/tags/claude-code.md>), [code](<https://devfeed.tech/tags/code.md>), [context-window](<https://devfeed.tech/tags/context-window.md>), [json](<https://devfeed.tech/tags/json.md>), [terminal](<https://devfeed.tech/tags/terminal.md>)

## AI overview

A tutorial on configuring a Claude Code terminal statusline that reads the JSON payload supplied to a statusline script. The resulting bar displays the project and branch, current model, and color-coded context usage with token counts.

## Source excerpt

Claude Code pipes a JSON payload into your statusline script. Read it, and the bar shows the project and branch you are on, the model, and color-coded context usage with token counts.