When the limits of your Claude subscription stop being enough, you don't have to jump straight to a higher plan. A lot of the tasks you give Claude are simple and use up your limits for no good reason. Claude can hand that part of the work to a different model through OpenRouter, take its answer, check it and finish the job.
I'll show you how to set it up, including the mistake I ran into along the way. I show the whole thing live in the video for this guide (the video is in Czech).
What OpenRouter is
Think of it as a buffet. You have one account and one API key, and through them you get access to a selection of different models from different companies. Some of them are even completely free.
An API is a connection between one app and another. Through it, Claude Code sends a task to a different model and gets an answer back. You'll run into APIs over time in completely different projects too.
What you need
- Claude Code or another environment with access to files and a terminal. A plain chat without these tools can only give you advice.
- An account on openrouter.ai.
- Credit on OpenRouter. Usage is paid separately, outside your Claude subscription.
- The prompt from the video. You can download it for free in the tools.
Step 1: create an API key with a limit
- Sign up on OpenRouter and click Get API Key.
- Create a new key and give it a name, so you know later what it's for.
- Set how long it should be valid. If you want to use it all the time, leave it valid until you delete it yourself.
- Set a spending limit. It's not required, but I recommend it. In the video I set 10 dollars.
- Click Create and save the key somewhere safe.
Never paste an API key into a chat with Claude or any other AI. It also doesn't belong in your code, in a file in your repository or in git. It's sensitive data: whoever has it pays from your credit.
Step 2: learn to read the prices
In the model catalog every model has two prices: one for input and one for output. They're listed per million tokens and they're rarely the same.
- Input is everything you give the model: the task, text, attached documents.
- Output is what the model creates as its answer.
Prices change, so always check the current catalog before you use a model. And keep in mind that the price on its own says nothing about the quality of the answer.
Step 3: connect OpenRouter to Claude Code
Open Claude Code in a new empty folder. I simply named my project OpenRouter. Paste in the first part of the downloaded prompt. It starts like this:
While we work, I want to give you specific tasks that you'll hand off to a
different AI model through OpenRouter. Then you'll take its answer and check it.The rest of the prompt tells Claude exactly what to prepare. It doesn't switch its main model and doesn't touch global settings. It prepares a simple helper script or a local skill for the individual calls. It checks the model ID and the price in the current catalog, not by the name from the video. And for every request it writes down which model actually answered and how many tokens it cost.
At the end of the setup it sends one simple test request, to make sure the connection works.
Step 4: hand over the key safely
Claude now needs your key. But don't paste it into the chat. In the video I asked Claude to open a hidden input window for me:
Open a secure window for me where the text won't be visible.
I'll paste the API key into it and confirm. Don't print the key anywhere.Before you paste the key, try typing something into the window. If you can't see what you're typing, that's how it should be. Then paste the key and confirm. Afterwards Claude told me where it saved the key, but didn't print the key itself. That's exactly how it should look.
Step 5: hand a task to a cheaper model
You don't have to write complicated commands. A normal sentence is enough:
I want you to do this project. To save your limits, send the part that a
cheaper or free model on OpenRouter can handle. Wait until it sends it back,
check it and finish the work.In the video I tried it on researching ideas for my next videos. DeepSeek was supposed to handle the task. In the downloaded prompt you'll also find a check I want to see every time: Claude first returns the model's answer unedited, and only then adds its own assessment separately. That way you see what the cheaper model wrote and what Claude wrote.
What went wrong and what follows from it
The first attempt with DeepSeek Flash didn't work. The model didn't return any answer, but it did use up something. I asked Claude to find the cause, fix it and try again with a different version of DeepSeek:
Find out why DeepSeek didn't give you any answer. Fix it so we can try
again, and use the regular DeepSeek instead of DeepSeek Flash.The second attempt with DeepSeek V4 Pro went through. The model suggested three video ideas, and Claude noted with the answer that it hadn't edited it.
One rule follows from this. When something fails, ask for an explanation of the cause first. Don't let another paid attempt run automatically, and definitely not over and over.
What it cost
The last part of the downloaded prompt has Claude find out the real cost of the task: all the related calls, the models, the number of input and output tokens and the billed price, if the API returns it.
In the video, one answer came to 0.0011 dollars according to the API data. But take it exactly for what it is. It's the price of one answer, not of the whole task and not of your bill. Model prices change and every task has a different length. Always check your real usage in the Activity overview on OpenRouter.
tip
A cheaper model is good for a simpler, clearly bounded part of the work: research, suggestions, preparing text. Leave the checking and finishing to Claude. That way you save limits and the result still goes through the hands of a model you trust.
What to watch out for
- It's paid separately. Your Claude subscription and your OpenRouter credit are two different things.
- Set a limit on the key. If something gets stuck in a loop, the limit protects you.
- Never put the key in a chat or in git. If it happens anyway, delete the key on OpenRouter and create a new one.
- Check the model in the catalog. Names and availability change, so don't rely on what someone else saw.
- Set up doesn't mean working. Only consider the connection done after a real successful request.
What next
Once your connection is running, try giving it a task from your own project and compare what the cheaper model returns with what Claude would have done on its own. You'll find the prompt to download in the tools. And if you don't know what to trust a cheaper model with, write to me under the video.
Kafe a cígo, fajně si sednout a jdeme na to.
Coffee and a smoke, get comfy and let's go.
Vojta Horava
Want to know when the next one is out?
Now and then I write about what's new: a video, a tool, an article. Unsubscribe with one click.
