# Claude Code usage limit reached

> Claude Code usage limit reached? Point Claude Code at a prepaid key in one terminal and keep working, then switch back after the reset.

When Claude Code reports that your usage limit is reached, your subscription's session or weekly cap is used up until it resets. To keep working now, point Claude Code at a prepaid Outrun key in that terminal: set ANTHROPIC_BASE_URL to https://api.outrun.to and ANTHROPIC_AUTH_TOKEN to your key. Close the terminal to switch back.

## What causes it?

- The session or weekly usage cap of your subscription is used up.
- Large contexts and long sessions use the cap faster.

## How do I fix it?

In this order. [The Claude Code usage limit guide](https://outrun.to/docs/guides/claude-code-usage-limit) has the full setup.

- Get an Outrun key and add credit.
- Run the three export lines below in a new terminal, then start claude.
- Run /status to confirm the base URL.
- Close that terminal when your limit resets to go back to your subscription.

**This terminal only**

```
export ANTHROPIC_BASE_URL="https://api.outrun.to"
export ANTHROPIC_AUTH_TOKEN="KEY"
export ANTHROPIC_MODEL="claude-sonnet-5-5"
claude
```

## Questions

### Will this change Claude Code for good?

No. Lines run in one terminal apply only there. Close it and Claude Code uses your saved login again.

### How much does it cost on Outrun?

You pay per token from a prepaid balance. The Claude Code cost page shows typical session costs.

### Does Outrun keep my prompts or outputs?

Outrun does not store your prompts, images or outputs unless you choose to save them.

## Related pages

- [Claude Code 429 Too Many Requests](https://outrun.to/fix/claude-code-429-too-many-requests)
- [Anthropic base URL not working](https://outrun.to/fix/anthropic-base-url-not-working)
- [Claude Code usage limit guide](https://outrun.to/docs/guides/claude-code-usage-limit)
- [Claude Code cost](https://outrun.to/claude-code-cost)
- [All error fixes](https://outrun.to/fix)
- [Get your API key](https://outrun.to/overview)

[Get your API key](https://outrun.to/key) [See all models and prices](https://outrun.to/pricing)
