Switching models won't fix a Claude Code session limit


Switching models won't fix a Claude Code session limit
Which limit you hit decides what works. Plus: Claude Code vs Cursor, and why a long session costs more.  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌
WotAI

Switching models won't fix a Claude Code session limit

Hey Reader,

Happy Thanksgiving to everyone who celebrated yesterday. Today's Black Friday, so your inbox is full of deals. There are none in this one, just nine reads from the week.

Two are about running out: which Claude Code limit you've hit and what fixes it, and why a long session uses more than it seems to. One compares Claude Code with Cursor. Two are the ones last week's P.S. promised: Claude Code in GitHub Actions, and whether to script against the SDK or claude -p. Then effort levels, and three more at the end.

Claude Code session limits: read the message before you switch models

Claude Code session limits – what resets, and how to plan around them

A session limit is a usage window on your subscription, and it resets on its own. Which limit you hit decides what works. The session and weekly limits are shared across all models, so /model won't get you working again: wait for the reset the message shows, or turn on usage credits. An Opus or Sonnet limit belongs to one model family, so switching to a model outside it does keep you going. A spend limit means your usage credits reached a cap someone set. And a context or auto-compact warning isn't a usage limit at all. Since v2.1.234, Claude Code can wait in the open session and continue the task on its own once the limit resets.

See which limit you hit →

Claude Code token usage: every request carries the whole conversation

Claude Code token usage – read /usage and /context before it costs you

Claude Code sends your full conversation with every request, so a one-line question in a session that's been open all day still draws usage for the whole conversation. Check it in two places. /usage shows tokens and an estimated cost, and on a subscription, plan bars and a breakdown of what used them. /context shows what's filling the window. Then cut the context, not the work: /clear between unrelated tasks costs nothing, Sonnet handles most coding for less than Opus, and a lower /effort suits routine work, because thinking tokens are billed as output.

See what's using your tokens →

Claude Code vs Cursor: an agent you talk to, or an editor

Claude Code vs Cursor – how they differ when you work in them

The two overlap more than they differ now: each has an agent that edits files and runs commands, a terminal tool, checkpoints and cloud runs. The difference is where each one starts. Claude Code is terminal-first and runs on Claude, with the same engine in VS Code, JetBrains, a desktop app and the browser. Cursor is an AI editor with its own agent, Tab autocomplete while you type, and models from several labs. Both can read AGENTS.md, so a team running both can share one rules file. And you don't have to choose: Claude Code's extension installs in Cursor.

See how they differ →

Claude Code GitHub Actions: four layers decide what a run can touch

Claude Code GitHub Actions – set it up, and decide what it can touch

Anthropic's claude-code-action runs Claude Code in your repository's workflows, on an @claude mention or on a prompt for any GitHub event, a schedule included. /install-github-app sets it up from Claude Code, or you add the app, one secret and a workflow file by hand. Then set four layers on purpose: the app's permissions, which are wider than the action needs; the workflow's permissions block for each run; who may trigger a run, since bots are refused unless you list them; and tools, turns and time. With a plain-text prompt, Claude has no shell or GitHub API access until you grant it.

Set it up →

Claude Code SDK or claude -p: pick by what calls it

Claude Code SDK or claude -p – which one to script against

The Claude Code SDK is now the Claude Agent SDK, and it runs the same agent as claude -p. A shell script, cron job or CI step that sends one prompt and reads one result should use claude -p. A Python or TypeScript application that has to react while the agent works, decide on tool calls in code or keep a conversation going should use the SDK. Two things hold for both: each loads your CLAUDE.md, settings and skills unless you turn that off, which catches anyone who moves a job from a laptop to a server, and each needs you to plan on an API key or a cloud provider.

Pick yours →

Claude Code effort levels: pick by how much you'll check

Claude Code effort levels – which one for which task

Claude Code has five effort levels, low to max, and the newest models start at medium. Pick by how much you'll check the result yourself: low when you review every result, medium for scoped daily work, high when verification matters, and xhigh or max for hard problems Claude works through without you. Higher isn't automatically better: Anthropic's docs say max is prone to overthinking. If /effort seems to do nothing, check CLAUDE_CODE_EFFORT_LEVEL, because that environment variable beats every other setting. For one hard question, put ultrathink in the prompt instead.

See which level fits →

Also this week

Claude Code also runs on GitLab, as a CI/CD job you add yourself that opens merge requests from your runners. /compact covers when to compact with a focus, when to /clear instead, and what survives. And thinking covers which models let you turn it off and how to read what Claude reasoned.


Reply and tell me: which limit do you hit most, and what do you do when it happens? I read every reply.

– Alex

P.S. – Tomorrow: the Claude Code CLI commands and shortcuts you'll use every day, and whether to run Claude Code in VS Code through the extension or the terminal.

Come build with us

Follow WotAI: LinkedIn  ·  YouTube  ·  TikTok
You are receiving this because you subscribed to the WotAI newsletter. Unsubscribe

WotAI · AI Automation that Actually Ships

wotai.co

WotAI · 440 N. Barranca Ave., Unit 3777, Covina, CA 91723

WotAI

If you're building with Claude Code, n8n, or AI agents in production, this is the email I'd want. Weekly recap of what shipped, what broke, and how I'm running it. Specific over vague. Replies welcome.

Read more from WotAI

Claude Code with Ollama or OpenRouter: what Anthropic supports Two variables point it anywhere. Which models stay supported, and which are an experiment. Plus: what it commits to git. Claude Code with Ollama or OpenRouter: what Anthropic supports Hey Reader, Twelve reads this week, and most cover the parts of Claude Code you touch every day. First, pointing Claude Code at Ollama, OpenRouter or your company's gateway, and what Anthropic supports when you do. Then two on keeping it in check:...

Claude Code's claude -p has no spend cap until you set one The four settings a headless run needs. Plus: permission rules check deny, then ask, then allow. Claude Code's claude -p has no spend cap until you set one Hey Reader, Six reads this week. Two are about letting Claude Code run without you: the five ways to do it, and the four settings a claude -p script needs. Two are about keeping it in bounds on a team: permission rules and MCP servers. Then pull request review, and when to route...

Claude Fable 5.2 costs twice Opus 5.5, with one exception Cache reads cost the same on both. Plus: Claude Code put account emails in User-Agent headers. Claude Fable 5.2 costs twice Opus 5.5, with one exception Hey Reader, Six reads this week. Two are news: a new model with a new price list, and a Claude Code bug that sent account emails where they shouldn't go. The other four are setup: driving a session from your phone, which connectors to turn on, what each plan buys, and hooks that block....