To use Claude as a Janitor AI proxy, add a configuration with OpenRouter's URL, your OpenRouter key and the model anthropic/claude-sonnet-5.5. None of it is free: a 16,000-token message costs about 3.5 cents on Sonnet 5.5 and 0.2 cents on Haiku 5.5. On Anthropic's direct route, set Janitor's temperature to 1, or current models refuse the request.
Three routes to Claude in Janitor AI
| Route | What you need | Who bills you |
|---|---|---|
| OpenRouter | An OpenRouter key and credits | OpenRouter, per token |
| Anthropic direct | A Claude API key | Anthropic, per token |
| janitor+ Router | A janitor+ plan, on the web | Janitor, per token |
Janitor's help center and newsroom, OpenRouter and Anthropic documentation, read November 24, 2026
Route one: OpenRouter
Janitor's own quickstart sets up a proxy in five steps:
- Make an OpenRouter account, load credits, and create a key under Keys.
- In a Janitor chat, open the gear icon, then API Settings, then Add Configuration.
- Fill in the five fields below.
- Press Add, then Save Settings, and refresh the page.
- Send a test message. A reply means the setup works; an error points to the section on errors below.
For Claude through OpenRouter, the fields read:
Config Name Claude Sonnet (any name you like)
Model Name anthropic/claude-sonnet-5.5
Proxy URL https://openrouter.ai/api/v1/chat/completions
API Key your OpenRouter key, which starts with sk-or-
Custom Prompt leave it empty for the first test
Other models anthropic/claude-haiku-5.5
anthropic/claude-opus-5.5
anthropic/claude-fable-5.2
On November 24, 2026, OpenRouter's public model list carried 32 Anthropic ids, and none of them ended in :free. Its limits page says a paid model "has no platform-level request cap", so the daily cap of the free models does not apply. A negative balance is the catch: OpenRouter warns of errors "including for free models" until credits put it back above zero. Our OpenRouter guide covers the account and the free models.
Route two: Anthropic's own key
Anthropic runs an OpenAI-format endpoint that Janitor can call directly, with a key from the Claude Console at platform.claude.com:
Config Name Claude direct (any name you like)
Model Name claude-sonnet-5-5
Proxy URL https://api.anthropic.com/v1/chat/completions
API Key your Claude API key
Custom Prompt leave it empty for the first test
Other models claude-haiku-5-5
claude-opus-5-5
claude-fable-5-2
The four names come from the models overview. The version takes a hyphen here and a dot on OpenRouter, so copy each name exactly, as Janitor's quickstart asks.
The company documents the base URL https://api.anthropic.com/v1/ and calls this layer "primarily intended to test and compare model capabilities". Four of its documented rules matter in Janitor:
- Temperature. On Claude 4.7 and later, which covers every current model, "any value below 1 returns a 400 error". Janitor's own temperature guide suggests starting at 0.6 and staying below 1.0. On this route, set it to 1; values above 1 are capped at 1.
- No prompt caching. In Anthropic's words, "Prompt caching is not supported" on this layer, so every message pays the full input price.
- One system prompt. The layer joins all system and developer messages into one system field at the start of the request.
- Rate limits. They follow Anthropic's standard limits, which are set per organization.
We sent a made-up Anthropic key on November 24, 2026. The chat URL answered 401 with "Invalid Anthropic API Key". Plain http drew a 400 that told us to consider "revoking your API key, as it was sent in plaintext over the internet". The same key on OpenRouter's URL drew a 401 saying that "this is not an OpenRouter API key".
Route three: janitor+ Router
Janitor launched its own route on July 30, 2026. Its announcement says Router reaches third-party models "without copying API keys or configuring an external proxy". It is for janitor+ subscribers on the web, billed per token at the prices it shows, with 10% off some popular models for subscribers.
The launch post promised "$5 in free Router credits". Janitor's help article, last updated July 31, 2026, says "$1 launch credits" instead, and they expire one year after they are claimed. Neither page lists the models, so check the list in your API settings for Claude and its price.
What a message costs
Every message resends the context. Janitor's token guide counts the Advanced Prompts, Chat Memory, Personality and Scenario as permanent tokens that go out with every message. The recent chat goes with them, and you pay the input price for all of it. The reply is billed at the output price.
The prices below come from Anthropic's price list of November 24, 2026, and OpenRouter listed the same figures that day. Per million tokens, Sonnet 5.5 costs $2 in and $10 out, and Haiku 5.5 costs $0.10 and $0.50 for prompts up to 100,000 tokens.
Claude Haiku 5.5 now costs less per message than DeepSeek's Flash model at DeepSeek's listed prices for input that is not cached. The same 100 messages cost $0.26 to $0.52 there, depending on the hour. DeepSeek also prices cache hits at $0.003 to $0.006 per million input tokens, which lowers its real bill. Our DeepSeek guide covers that route.
Context length moves the bill the most. A Sonnet 5.5 message with 64,000 tokens of context costs about 12 times one with 4,000:
Janitor's token guide says its own model holds 8,000 to 9,000 tokens, and that most bots work best with "under 1,500 tokens of permanent info". A shorter card and a trimmed chat memory lower the price of every message that follows.
Anthropic's prompt caching would cut repeated input to 0.05 times the price on Sonnet 5.5, but a request has to ask for it. OpenRouter says Anthropic requires caching to be enabled "on a per-message basis", and the direct layer does not support it. Janitor's setup guide names no such setting, so plan on the full input price.
Which Claude model, by cost
Haiku 5.5 is the cheapest Claude by a wide margin, and Sonnet 5.5 costs 20 times as much per message. Opus 5.5 costs twice Sonnet, and Fable 5.2 four times. Haiku 5.5's price rises to $0.50 in and $2.50 out for prompts over 100,000 tokens, well above the 8,000 to 9,000 tokens that Janitor's own model holds. Which model writes the roleplay you want is a taste question this page cannot settle. A few dollars of credit and the same scene sent to two models will settle it for you.
What no route changes
The usage policy. Anthropic's usage policy, effective November 12, 2026, applies to the model on every route. Its section "Do Not Generate Sexually Explicit Content" lists depicting sex acts and engaging in "erotic chats". A refused scene is Claude declining, and no URL, key or network changes it.
The price. No route makes Claude free. The same policy forbids anyone to "Resell, proxy, or otherwise provide access to Claude through unauthorized means". Chub's documentation warns that shared reverse proxies "may enable logging, leak your information, and use stolen API keys".
The regions. Anthropic's Supported Regions Policy, effective November 12, 2026, lists 185 countries and regions. China, Hong Kong, Macau, Russia and Iran are not among them, and use "while physically located in an unsupported region" is not supported either. We give no steps around that.
The limits. Rate limits follow the key: your OpenRouter account on route one, your Anthropic organization on route two. Our 429 page covers the general rule.
When Claude answers with an error
- 401 that names the key. "Invalid Anthropic API Key" on route two, or "not an OpenRouter API key" when an Anthropic key sits in an OpenRouter configuration. Our network error and 401 guide covers every case.
- 400 on route two. Check the temperature first.
- 402. A billing problem: insufficient credits on OpenRouter, a billing_error at Anthropic.
- 429. A rate limit, covered on the 429 page.
Where a network proxy fits
Nothing on this page needs one. With a proxy set, Janitor's servers send the request, so the address the provider sees is Janitor's. Janitor's age check for Australia, Brazil and the UK goes by IP address, and Anthropic's regions policy goes by where you are; we give no steps around either.
HProxy's lines fit a narrower case: a network that must leave through a fixed, known address, such as a company network. For that, our static ISP proxies cost $2.70 per IP a month, from one address, and residential proxies start at $0.23 per GB. A Claude Enterprise admin who keeps an IP allowlist will find that case in our proxies for Claude guide.
Sources
Read on November 24, 2026, with the date each page gives:
- Anthropic: Pricing, Models overview and OpenAI SDK compatibility.
- Anthropic: Using the Messages API and Rate limits.
- Anthropic: Usage Policy and Supported Regions Policy, both effective November 12, 2026.
- OpenRouter: the public model list, Limits and Prompt caching.
- DeepSeek: Models and Pricing.
- Janitor help center: TL;DR Quickstart Proxy Instructions, August 1, 2025.
- Janitor help center: Understanding Temperature and Tokens, both August 11, 2026.
- Janitor: Introducing janitor+ Router, July 30, 2026, and the Router help article, July 31, 2026.
- Chub: API connections, on third-party reverse proxies.
- Our own measurement: a made-up Anthropic key on both routes, and Janitor's public site code, read for our network error guide.





