Claude Code is one of the best ways to code with AI. It edits files, runs commands, and fixes bugs from your terminal. The catch is the price: the official plan costs money. Quick Answer: you can run Claude Code free with 100M tokens a day. A free API from 100milionseek.top gives you that much every day, with no card. You connect it through a small free tool called claude-code-router, and then Claude Code just works. This guide shows the full setup in four steps. If you only want a quick test, the free tier is enough. If you code all day, read the passes section near the end. And if you want more free coding tools, browse the Draqee tools directory.

How we checked

We checked the provider's own pages live: the free tier limits, the endpoint address, the model name, and the pass prices. The steps below follow the provider's setup guide. We did not run the install ourselves. We also did not spend tokens on a test session. Treat the commands as the provider documents them. If a page changes, the provider's site is the final word. Prices change often, so check the official site before you pay for anything.

What you get for free

100milionseek homepage showing the three free sign-up steps

The free tier gives you 100M tokens every UTC day. A token is a small chunk of text, so 100M tokens is a lot of code. The allowance resets at 00:00 UTC. You do not need a credit card to sign up. The model is deepseek-v4.1-flash-free. It can hold 198K tokens of context at once, which means it can read a large project in one go. One reply can be up to 64K tokens long. That is enough for long files and big fixes.

Sign-ups open in hourly batches. If the current hour is full, wait for the next one and try again. The site shows the current status, so check there instead of trusting a number you saw somewhere else. Once you have a key, it is yours to keep. The same key also works in other coding tools, which we cover near the end of this guide. Nothing here asks you to pay. The free tier stays free unless you choose a pass.

Why Claude Code needs a router

claude-code-router repository on GitHub

Claude Code speaks Anthropic's message format by default. That is the format Anthropic's own service uses. 100milionseek speaks the OpenAI format instead. The two formats do not match, so Claude Code cannot talk to the free endpoint on its own. That is where claude-code-router comes in. It is a small free tool, often called ccr. It sits between Claude Code and the free API and translates each request. You keep using normal Claude Code commands. The router does the translation in the background. Without it, the setup does not work. With it, the setup is just a config file and one command. You install it with npm, the same way you install Claude Code. It runs on your own machine. Nothing about it changes how Claude Code looks or feels. The only difference is where your requests go. It costs nothing extra. The router is free, and the API key is free too.

Step 1 — Get your free API key

100milionseek sign-up page: get your free key

Go to 100milionseek.top and sign up for the free tier. Sign-ups open in hourly batches. If the hour is full, the site will tell you. Wait for the next hour and try again. There is no card needed at any point in this step. When your sign-up goes through, the site gives you a personal API key. An API key is a secret code that proves who you are when your tools talk to the service. This one starts with hms-. Copy it and keep it somewhere safe. Treat it like a password. Never share it, never paste it into a public chat, and never commit it to a public code repo. If a key leaks, anyone with it can spend your daily tokens. Every request you send carries this key, so the service counts your tokens against it. You will use the same key in every step below, so keep it close.

Step 2 — Test the key with curl

100milionseek docs showing the curl quick start

Before you configure anything, test the key. Curl is a small command-line tool that sends a request to a web address and prints the reply. It is already on most Mac and Linux machines. First, save the key in your terminal so you do not have to type it each time:

TerminalCopy
export HMS_API_KEY="hms-your-api-key-here"

Replace the text inside the quotes with your real key. Then send a short test message to the chat endpoint:

TerminalCopy
curl https://100milionseek.top/v1/chat/completions \ -H "Authorization: Bearer $HMS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model": "deepseek-v4.1-flash-free", "messages": [{"role": "user", "content": "Hello"}]}'

A good reply is a block of JSON with the model's answer inside it. If you see an error about the key, check the key first. Look for a missing letter, an extra space, or the wrong key. To keep the key after you close the terminal, add the same export line to your shell file. That file is ~/.bashrc or ~/.zshrc. Then run source ~/.zshrc to load it. From now on, every new terminal knows the key.

Step 3 — Install Claude Code and the router

claude-code-router package on npm

Install both tools at once with npm. Npm is the package tool that comes with Node.js. The -g flag installs them globally, so you can run them from any folder. Run this in your terminal:

TerminalCopy
npm install -g @anthropic-ai/claude-code @musistudio/claude-code-router

The first package is Claude Code itself. The second is the router. If npm is not found, install Node.js first, then run the command again. Next, tell the router where to send requests. Open the file ~/.claude-code-router/config.json and put this inside it:

config.jsonCopy
{ "APIKEY": "100milionseek-local", "LOG": true, "Providers": [ { "name": "100milionseek", "api_base_url": "https://100milionseek.top/v1/chat/completions", "api_key": "$HMS_API_KEY", "models": ["deepseek-v4.1-flash-free"], "transformer": { "use": ["deepseek"] } } ], "Router": { "default": "100milionseek,deepseek-v4.1-flash-free", "background": "100milionseek,deepseek-v4.1-flash-free", "think": "100milionseek,deepseek-v4.1-flash-free", "longContext": "100milionseek,deepseek-v4.1-flash-free" } }

Here is what each part does. The Providers list holds the services the router can use. There is only one here: 100milionseek. The api_base_url is the chat endpoint you tested in Step 2. The api_key line reads your key from the shell, because $HMS_API_KEY means "use the value you exported". That is why Step 2 matters: if the key is not exported, the router has nothing to read. The models list has one model, deepseek-v4.1-flash-free. The transformer tells the router to translate each request from Anthropic's format into the OpenAI format. The Router block maps every kind of job to the same place: normal chats, background jobs, thinking steps, and long-context work all go to 100milionseek with the same model. LOG set to true keeps a log, which helps when something breaks. Save the file and check the commas. One missing comma breaks the whole file, because JSON is strict about punctuation.

Step 4 — Launch Claude Code

Claude Code package on npm

Move into the folder of the project you want to work on. Make sure the key is exported in this terminal. If you opened a new terminal, run the export line from Step 2 again, or close it and open a terminal that already loads your shell file. Then start Claude Code through the router:

TerminalCopy
ccr code

Do not run plain claude here. That would open Claude Code without the router, and it would ask for an Anthropic login instead. The ccr code command starts the router first, then opens Claude Code on top of it. The router prints its endpoint when it starts, so you can see where requests are going. Once Claude Code opens, try a small first task. Ask it to explain the project, or to fix one small bug. Watch the first reply come back. If it answers, the setup works. From here, Claude Code behaves as normal: it edits files, runs bash commands, and uses its developer tools, all backed by your 100M daily tokens.

Use the same key in other tools

OpenCode homepage, one of the tools that accepts the same key

Your key is not locked to Claude Code. The endpoint speaks the OpenAI format, so any tool that accepts an OpenAI-compatible provider can use it. In Cursor, Cline, OpenCode, Aider, or Continue, pick the OpenAI-Compatible provider. Paste https://100milionseek.top/v1 as the base URL, enter your HMS_API_KEY, and set the model to deepseek-v4.1-flash-free. The steps look a little different in each tool, but the three values are always the same: base URL, key, model. If you write code with the OpenAI SDK, the same three values apply. Here is the Python form:

PythonCopy
from openai import OpenAI client = OpenAI( base_url="https://100milionseek.top/v1", api_key="hms-your-api-key-here", ) response = client.chat.completions.create( model="deepseek-v4.1-flash-free", messages=[{"role": "user", "content": "Hello"}], )

One key, many tools. If the key ever leaks, get a new one from the site and update every tool that uses it. Keep the key out of shared code and screenshots.

When the free tier is not enough

100milionseek passes: Boost, Priority, Priority+ and Priority++ prices

100M tokens a day is a lot. Most people will not hit it. Heavy users can still hit rate limits when the service is busy. A rate limit is a cap on how fast you can send requests. If you code all day with big files, you may feel it. The sign is simple: replies slow down, or you see rate-limit errors. That is what the passes are for. They are optional, and they are paid in USDC or USDT, which are dollar-linked crypto coins. Boost costs $1 per 30 days. Priority costs $3. Priority+ costs $5. Priority++ costs $9. Each pass raises your rate limits and gives you priority when the service is busy. You buy a pass on the provider's site. The free tier stays free either way. Buy a pass only if the free tier slows you down. Start with the cheapest pass. Move up only if you still hit limits. Check the current pass prices on the provider's site before you pay, because prices can change.

If something goes wrong

100milionseek status page

Most problems in this setup have a small cause. An "invalid API key" error almost always means the key is wrong. Check the hms- prefix, look for extra spaces, and re-export the key. Then run the curl test from Step 2 again. If sign-up says the hour is full, wait for the next hourly batch. The batches open every hour, so the wait is short. If the model returns a rate-limit error, wait a few minutes and try again. A pass can help if it keeps happening. If the router will not start, open the config file and check the JSON. One missing comma or bracket breaks it. Check the file path too: it must be ~/.claude-code-router/config.json, not a copy in another folder. If Claude Code asks for an Anthropic login, you launched the wrong command. Close it and run ccr code, not claude. If npm is not found, Node.js is missing. Install it, close the terminal, open a new one, and run the install command again.

Frequently Asked Questions (FAQ)

Is Claude Code really free with this setup?

Yes. The API key costs nothing, and the free tier gives you 100M tokens every UTC day with no card. You pay nothing unless you choose to buy a pass. Claude Code and the router install free from npm. The only cost is your time to set it up.

Do I need a credit card to sign up?

No. Sign-up asks for no card. The free tier is free with no payment details. Passes are the only paid part, and they are optional. You can use the free tier for as long as it meets your needs.

Which model does the free tier use?

The free tier uses deepseek-v4.1-flash-free. It runs through the 100milionseek endpoint. The model can hold 198K tokens of context and can write replies up to 64K tokens long. That is enough for large projects and long fixes.

Can I use the same key in Cursor or Cline?

Yes. Pick the OpenAI-Compatible provider in the tool, paste https://100milionseek.top/v1 as the base URL, enter your key, and set the model to deepseek-v4.1-flash-free. The same three values work in OpenCode, Aider, Continue, and the OpenAI SDK too.

What happens when I hit 100M tokens?

Your free allowance for the day ends at 100M tokens. It resets at 00:00 UTC, and the next day starts fresh. Wait for the reset, or buy a pass if you need higher limits. Nothing breaks. Your key still works the next day.

Why do I need claude-code-router?

Claude Code speaks Anthropic's format, and the free endpoint speaks the OpenAI format. The router translates each request between the two. Without it, Claude Code cannot talk to the endpoint. The router is a small free tool that runs in the background.

Is there a paid plan?

There are optional passes, not a forced plan. Boost is $1, Priority is $3, Priority+ is $5, and Priority++ is $9 per 30 days. They raise rate limits and give priority when the service is busy. The free tier has no expiry and no card.

Conclusion

Running Claude Code free takes four steps: get a key, test it, install the router, and launch. The free tier gives you 100M tokens a day with no card, which covers serious coding work. Keep your key safe, and check the provider's site if a step changes. If the free tier ever slows you down, a pass is there. Otherwise, just code.