Skip to content
EN
Get started

Claude as a Janitor AI Proxy: Setup, What a Message Costs, and the Temperature Rule

Claude on Janitor AI: the exact proxy URL, key and model for OpenRouter and Anthropic, the cost per message at listed prices, and the temperature fix.

Billal AinaouiAugust 24, 2026Updated November 24, 20269 min read

Claude as a Janitor AI Proxy: Setup, What a Message Costs, and the Temperature Rule

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

RouteWhat you needWho bills you
OpenRouterAn OpenRouter key and creditsOpenRouter, per token
Anthropic directA Claude API keyAnthropic, per token
janitor+ RouterA janitor+ plan, on the webJanitor, 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:

  1. Make an OpenRouter account, load credits, and create a key under Keys.
  2. In a Janitor chat, open the gear icon, then API Settings, then Add Configuration.
  3. Fill in the five fields below.
  4. Press Add, then Save Settings, and refresh the page.
  5. 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".

Our own capture, November 24, 2026, 21:58 UTC: curl 8.16.0 on our machine, printed word for word. The key is made up, and no real key or address of ours is in it.

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.

What 100 Janitor AI messages cost, by modelEach message: 16,000 tokens of context in, a 300-token reply out, at list prices
Claude Fable 5.2$8 in, $40 out per million
$14.00
Claude Opus 5.5$4 in, $20 out
$7.00
Claude Sonnet 5.5$2 in, $10 out
$3.50
Claude Haiku 4.5$1 in, $5 out
$1.75
DeepSeek Flashpeak hours, no cache hits
$0.52
Claude Haiku 5.5$0.10 in, $0.50 out
$0.18
Sonnet 5.5 costs 20 times as much per message as Haiku 5.5.
Source: Anthropic and DeepSeek price lists and OpenRouter's model list, read November 24, 2026; input tokens times input price plus output tokens times output price · hproxy.comProxy.

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:

Cost of one Claude Sonnet 5.5 message by context sizeCents per message by tokens of context, with a 300-token reply, at $2 in and $10 out per million tokens
Source: Anthropic's price list, read November 24, 2026; input tokens times $2 per million plus 300 output tokens times $10 per million · hproxy.comProxy.

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:

Frequently asked questions

Is there a free Claude proxy for Janitor AI?

No. On November 24, 2026, none of OpenRouter's 32 Anthropic model ids was free, and Anthropic sells its API by the token. A shared free Claude proxy runs on somebody else's key. Anthropic's usage policy forbids providing access to Claude through unauthorized means, and Chub's documentation warns that such proxies may log your chats and use stolen keys. The cheapest honest route is Claude Haiku 5.5: about 18 cents for 100 messages of 16,000 tokens.

What does Claude cost per message on Janitor AI?

You pay for the whole context Janitor sends, every message, plus the reply. At the prices of November 24, 2026, a message of 16,000 input tokens and a 300-token reply costs 0.175 cents on Haiku 5.5, 1.75 cents on Haiku 4.5, 3.5 cents on Sonnet 5.5, 7 cents on Opus 5.5 and 14 cents on Fable 5.2. The prices are the same on OpenRouter and at Anthropic.

What is the Claude proxy URL for Janitor AI?

Through OpenRouter: https://openrouter.ai/api/v1/chat/completions, with an OpenRouter key (sk-or-) and a model name such as anthropic/claude-sonnet-5.5. Through Anthropic: https://api.anthropic.com/v1/chat/completions, with a Claude API key and a model name such as claude-sonnet-5-5. OpenRouter writes the version with a dot, Anthropic with a hyphen.

Why does Claude give a 400 error on Janitor AI?

On the direct route, most likely the temperature. Anthropic's compatibility layer returns a 400 error for any temperature below 1 on Claude 4.7 and later, which covers every current model, and Janitor's own temperature guide suggests starting at 0.6. Set the temperature to 1 in Janitor's generation settings; values above 1 are capped at 1.

Which Claude model is best for Janitor AI?

By cost, Haiku 5.5 is the cheapest by far, Sonnet 5.5 costs 20 times as much per message, and Opus 5.5 and Fable 5.2 cost two and four times Sonnet. Which one writes the roleplay you like is a taste question no price list settles, so start with a few dollars of credit and compare.

Will Claude write everything my character card asks for?

No. Anthropic's usage policy 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 that.

Can a residential proxy help with Claude on Janitor AI?

No. With a proxy set, Janitor's servers send the request, so the provider sees Janitor's address. Cost, limits, refusals and keys follow your account and the model. If Claude is not offered where you are, Anthropic's regions policy rules out using it from there, and we give no steps around that.

Get proxies that are alive right now

Our free proxy list re-checks every exit every few minutes across 100+ countries, with a live last-checked time, so you copy IPs that worked moments ago, not a stale text dump. When the location has to survive a real check, the paid network holds up.

129M+ proxy checks run · 100+ countries · HTTP / HTTPS / SOCKS · re-checked every few minutes · no signup

HProxy.

Honest guides and comparisons on proxies, scraping and staying unblocked, from the team that runs the network.

RSS feed