Full Transcript

·YouTLDR

The ONLY Setup Guide You'll Need — Claude Code, Codex & Antigravity FREE (Full Tutorial)

57:27EnglishTranscribed Jul 20, 2026
0:00

Guys, this is going to be the final, ultimate video for those of you

0:04

who are dying to use Claude Code, Codex, and Antigravity for free — after this you won't need to search for any other video or trick.

0:13

But watch the whole video step by step — if you miss even one part, our setup won't work.

0:22

And yes, after the setup I'll also show you a Claude Code login trick that takes it to the next level, so don't miss that.

0:30

So let's first show a demo.

0:31

This is my Claude Code running in the terminal, and here you can also see the token usage.

0:41

Let me also run Codex and show you.

0:45

And here you can clearly see I'm using GPT 5.5 at a high level.

0:53

Let me give it one prompt: 'Which model are you using?'

1:00

And you can see the response too.

1:05

That's not all — I'm also using Claude Code with the Desktop app.

1:16

Let me clarify one thing: Cowork/Max is only available for paid users, but we're going to use it for free — and I can use Antigravity for free the same way.

1:27

Let's see what this video covers.

1:29

First we'll set up a smart AI gateway, then connect it with multiple free AI providers, then build a smart combo of all of them, prioritizing the top-tier models.

1:42

So if one provider's quota runs out, it automatically switches to another — you won't have to do it manually, our gateway will handle everything.

1:58

After that we'll take that endpoint and use it to set up Claude Code in the terminal, Codex, or Antigravity anywhere, then optimize the whole workflow.

2:09

That's it — we'll be ready to use Claude Code for free.

2:13

So let's start the video.

2:15

I also keep posting videos like this on this channel, so subscribe if you want — that's up to you.

2:22

That's all the things we need on our system first.

2:26

So let's install everything one by one.

2:29

Go to this website — I've explained step by step what to install: Node.js, Git, Python, VS Code, plus our Claude Code terminal/desktop, Codex CLI and Antigravity.

2:41

So the first step is installing Node.js.

2:51

Windows users, copy this command

3:00

and paste it into your PowerShell.

3:04

Node.js will then get installed automatically on your system and added to the PATH too.

3:14

It's already installed on my system, that's why it's showing that.

3:20

After that you need to verify it — and here you can see Node.js got installed.

3:28

Next, for Mac users: first you'll need to install Homebrew.

3:40

Copy this command to install it.

3:47

After installing Homebrew you can install Node with 'brew install node', then verify it.

3:57

Second step: installing Git.

4:01

Windows users, copy this command

4:05

and paste it directly into PowerShell.

4:08

Git will get installed on your system too — verify it.

4:13

For Mac, use 'brew install git', then verify.

4:17

After that comes installing Python.

4:21

For Windows, this command will install it via PowerShell.

4:28

This will automatically install Python on your system and add it to the PATH too, so you won't have to do that yourself.

4:40

Then verify it.

4:41

For Mac, same process — install Python via brew, then verify.

4:49

Next comes VS Code — you can install that yourself.

4:55

from its official website — I won't show this step.

4:59

Then install whichever AI coding tool you want, like Claude Code — go to its official website.

5:08

Based on your system, install the Claude Code Desktop app too.

5:13

Then scroll down and you'll get the terminal install command.

5:19

Copy it and paste it into your terminal, and Claude Code will get installed there too.

5:31

After that, if you want Codex CLI, go to its official website.

5:39

Scroll down, copy the 'run in terminal' command and paste it — Codex CLI will get installed.

5:53

Then for Antigravity, go to its official website and install it based on your system.

6:07

If you want to install Antigravity, copy this command based on your system and paste it in PowerShell.

6:23

All the setup is now complete — we're ready to run Claude Code, Codex,

6:34

and Antigravity.

6:36

The first main part of this video is setting up the AI gateway — for that we're using n8n router, and don't miss a single part, because if you do, the setup won't work.

7:01

So let's see how to set up n8n router.

7:07

Before setting it up, you need to install n8n router on your system.

7:15

Go to this GitHub repo — I'll add the link in my blog description so you can go there directly.

7:27

Scroll down, copy the install command, and paste it into PowerShell.

7:36

It'll get installed on your system — I already have n8n router installed.

7:58

After installing, run it with this command.

8:11

Press enter and n8n will open in your browser.

8:18

It might first ask for a password — the default one is shown below, use that to log in.

8:31

After logging in, go to Providers.

8:37

You'll find lots of free providers there that you can connect and use.

8:47

Let's connect them one at a time and then create a combo.

8:55

First, let's set up Kiro — click Add Connection, then

9:03

click AWS Builder ID — it automatically creates your account and connects a free- trial account.

9:16

Add as many Kiro accounts as your Gmail accounts — Continue with Google, link a Google account, confirm and continue, allow access.

9:33

Our first Kiro account is connected.

9:38

Before adding a second account, we need to clear the AWS Builder ID cookies, otherwise it'll just reconnect the same Google account.

9:57

For that, go to Settings

10:00

then Privacy & Security > Site Data.

10:07

You can paste this command directly into your address bar and it'll redirect you to this page.

10:24

Then search for AWS.

10:28

You'll see the AWS sign-in cookies — delete those, and the amazon.com ones too.

10:47

That clears the AWS cookies.

10:53

Now let's Add AWS Builder ID again.

11:02

Sign up again with a new Google account — select that account, confirm and continue, allow access.

11:14

Our second account is added too — add as many accounts as your Google accounts, since each gives free credits.

11:28

confirm and continue, allow access — oh sorry, I forgot to clear the cookies.

11:42

Let me delete this, refresh and clear AWS cookies again, then Add AWS Builder ID.

11:57

It redirects to the sign-up page again — connect with Google, link my Gmail account, confirm and continue, allow access.

12:27

Now 3 accounts are added.

12:30

Let me show the credits too — each free-trial account gives you 50 free credits.

12:39

Account 1: 50 credits.

12:41

Account 2: 50 credits (already used some).

12:46

Account 3: 50 credits.

12:48

And if you have a debit card, you can get the Pro plan for free too.

12:56

Let me show that as well — you'd get 1000 free credits.

13:11

This is the Kiro Pro plan, 1000 credits a month — click Upgrade.

13:29

You'll need to add your debit card — it shows a $0 balance today, so add your card and get the Kiro Pro plan free.

13:50

After getting it, cancel the plan

13:56

so it doesn't auto-deduct from your card next month.

14:02

Go to Settings > Manage Plan, click on the plan, and there'll be a 'Downgrade to Free' option — click it and your credits stay in your account even after downgrading.

14:20

That's one way to do it, but I know many don't have a credit or debit card.

14:29

So the free account itself gives us 50 credits, which is plenty, since you can add as many accounts as your Gmail accounts.

14:47

Our Kiro provider is connected now.

14:52

Next let's connect OpenCode.

14:57

In OpenCode we'll add models like Big/Pink, DeepSeek, Flash Free — all suggested free models, all available for free.

15:20

Let's add all of them

15:24

and check whether they work — click the test icon next to each and it'll show automatically if it's working.

15:38

Let's check all the models and delete whichever doesn't work.

15:46

Almost all won't work since these are free- trial models.

15:54

'Internal server error' — this one won't work so let's delete it, since DeepSeek is a good free model anyway, and Big/Pink is good enough too.

16:13

OpenCode is set up.

16:16

Now let's connect Gemini CLI's free-trial models too — click Add Connection.

16:26

Select any of your Gmail accounts, sign in, and get authorized.

16:37

All the free-trial models available under that Google account become available.

16:50

Let's test which ones work and delete the rest — these ones aren't working.

17:02

Gemini 3.1 Flash-Lite preview works, Gemini 2.5 Pro works, and Gemini 2.5 Flash works too.

17:15

These four models work — we'll mainly use 2.5 Pro since it's a reasoning model and quite good at it.

17:28

To add more accounts to Gemini CLI, click Add.

17:35

Say a provider's quota runs out — you can check quota in the quota tracker.

17:47

For Gemini Pro, which we activated, you get 1000 credits too.

17:56

If that runs out too, add another Google account via Add Connection.

18:10

That's it for Gemini CLI.

18:15

Now let's add Kiro — click Add Connection.

18:24

It'll log in with your account and ask you to sign up.

18:31

If it's not set up yet, it'll automatically ask you to.

18:38

I've already created an account with an authenticator app, so it's asking for two- step verification.

18:51

Let me enter my code.

18:54

Verified — the account gets added.

19:00

Connect Kiro, generate the key, and it'll be connected.

19:08

Our Kiro account is connected now.

19:14

Let's check which models we get — I think Mini Maxim 3 will work.

19:24

Mini Maxim 3 works.

19:26

Let's check K2.7 and K2.6 too, then delete whatever doesn't work.

19:35

Only Mini Maxim 3 works, so we'll keep just that.

19:41

These are all free providers, but I'll only show the ones with good models.

19:51

Now let's go to NVIDIA NIM.

20:01

Click Add Connection — first get your API key.

20:19

Enter your email

20:26

generate a new API key, then copy it.

20:31

Come back here, click Add Connection, paste the key, click Check — if it says 'valid', the connection is successful.

20:47

Give it a name.

20:49

NVIDIA is connected.

20:52

Let's check which models work — DeepSeek V4 Pro

20:58

is a great model, good at both reasoning and coding.

21:07

DeepSeek V4 Flash also works and is a good model too.

21:16

So I'll keep only these enabled and delete the rest.

21:25

Let's check 5.2 too — I don't think this one will work, so let's delete it and keep just one.

21:47

NVIDIA is set up — we'll use this model in our combo.

21:59

Next let's set up OpenRouter.

22:10

For that we need an API key — create a new key.

22:29

Your key gets created.

22:32

Go to Add Connection, paste your key, check if it works, give it a name — 'OpenRouter'.

22:43

To add accounts in bulk, give a name and your key with a slash.

22:52

For now I'm just adding a single account.

22:57

Save it, and OpenRouter setup is complete.

23:03

We get these free models — let's check which is the best.

23:10

Qwen 3 Coder Free is quite good for coding, let's add it, since 'auto' routes to whatever models are available.

23:25

Let's check if it's working — 'temporarily rate limited' — okay this one's not working, I'll remove it and check this one instead — OpenRouter Auto — I think it'll work.

23:51

This one's working, so we'll keep just this.

24:01

Now let's add Gemini too — click Add Connection.

24:12

For the API key, go to Google AI Studio.

24:21

Click API Key, create a new one.

24:28

After creating it, copy the key, come back here, paste it and check — 'valid' means the key works.

24:51

Give it a name, say 'Gemini'.

24:57

Add another account if you want.

25:01

Let's check which model works — Gemini 2.5 Pro.

25:07

We'll keep these five models.

25:10

If you have GitHub Copilot Pro (student plan), add that too — I have it, so let me add it.

25:21

It's your choice.

25:23

I won't add it though, since Kiro already covers that.

25:33

Let's copy this, paste, continue, authorize — GitHub Copilot Pro is connected too.

25:48

It's not working, though

25:52

I think we need to add a model — I hadn't added the auto model Copilot Pro/student uses, since we don't manually select models there.

26:08

It auto-sends requests to whichever model suits the request — let's add Copilot Chat.

26:18

Add Models — this sends requests to quite good models like Claude Haiku 4.5, depending on the request.

26:29

So we'll only add Copilot Chat and delete the rest, though you don't have to, since we'll select only this one when building the combo.

26:43

That's our GitHub Copilot done.

26:48

Next let's add third-party providers too — extra custom providers like Free Models and A0.

27:00

They give free trials too, so let's add them — go to Free Models

27:10

and create an account there — I explained the whole process in my previous video.

27:21

Then go to Usage — each 5-hour window gives you $5 worth of free credit, and you get GPT 5.5 free too

27:36

so we'll use GPT 5.5 as well — go to API Keys, then to the OpenAI-compatible format, copy the endpoint, and come to n8n router.

28:10

Click 'Add OpenAI Compatible', name it 'Free Model', paste the base URL, create your API key on the site and paste it here, and click Create.

28:38

Our API key got created.

28:42

Let's check if it's working — 'model not found, try chat validation with model ID' — I think we need to add /v1 at the end, let me check again — now it's valid.

29:07

Paste in your API key, model ID is optional but put 'gpt-5.5' anyway since that's what we're using — click Create, then Open, then Add — paste the key

29:36

select 'default model: GPT 5.5', and 'Free Model' is connected too.

29:47

Let's import from models — every available model gets imported.

29:57

We'll use GPT 5.5 — let's test it.

30:03

GPT 5.5 works.

30:05

There's also Claude Sonnet 4.5 as a workload model, but that one's been banned/suspended right now — to use it you first need to top up, on the 'topup' format.

30:30

You'd need to top up first before using it.

30:36

But the 'opinion' format point is free to use, and GPT 5.5 is free too, so we'll use that instead.

30:50

Also add A0 if you want, since it gives 5 million free tokens daily.

30:59

Let me show which models are free there — Mistral Large and Mistral Medium 3.5 are free, and other good models get added from time to time, so keep checking.

31:22

For now I don't think we need to add these

31:28

since we've already added powerful enough models.

31:33

Add it if you want.

31:35

There's also Claude4Free, where you get 10 'neurons' per day to use models like Gemini 5.2 and others — add it if you want.

31:49

There's one more custom provider, AI/ML API — let's add that too.

31:56

It also gives a 5-hour window and lets you use Claude models.

32:06

Create an account there — I'll add the link in the description.

32:16

You get $140 free and a 2-week free plan.

32:22

Go to Dashboard

32:24

then to Usage — the 5-hour window is included here too, so let's include this in our setup.

32:44

Go to API Keys, create a new key for the router,

32:54

copy the secret key, then click Add > OpenAI Compatible, since we're going to use Claude models — name it 'AIML', fix the base URL,

33:26

paste your API key here and check if it's working.

33:34

'Unexpected response' — let me check again.

33:41

Add '/v1' — that should show it as valid.

33:48

Once it's valid, click Create, then go to the AIML connection and add your API key,

34:01

paste the key you created earlier.

34:06

For the default model, leave it as is for now — let's set the default model to Claude Opus 4.8, and keep the rest of the settings as they are for this connection.

34:30

Our AIML account is added too, and any available models get imported.

34:39

Let's check if they're working — Claude 4 Point works perfectly.

34:47

Let's check Claude 5.5 too — it works, so we can use Claude models here.

34:57

So all our providers are set up now.

35:03

Now comes our main task — creating the combo.

35:10

We'll combine all the providers we've added into one combo.

35:20

For the combo name, keep it as 'Claude Opus Free'

35:29

exactly that, because otherwise Claude Desktop will reject it when we set it up there, since the name won't match — it'll think it's not a genuine Claude model and reject it.

35:47

So keep the name exactly like that.

35:50

Then click Add Models — we'll set it up with the top 10 models.

35:57

First we'll use Claude 5.5 (Sonnet).

36:02

Then we'll go to the Kiro models we set up and add Claude Sonnet 4.5 Thinking Plus, since it's best at both coding and thinking.

36:18

Then we'll add the free model GPT 5.5, which is also powerful.

36:26

After that we'll add Gemini 2.5 Pro — let me find it and add it too, since it's also quite strong at reasoning.

36:40

Then we'll add DeepSeek too, since it's also one of the most powerful models — we'll add it from OpenCode: DeepSeek, Flash Free

36:56

we'll add that too.

36:58

Then, from OpenRouter, the free model — say all these models fail; our fallback will be OpenRouter, which sends requests to whichever free models are available.

37:17

After that, if you have GitHub Copilot Pro, add that too

37:23

and I'll use it too.

37:27

So now we have our full combo of models — first the request goes to Claude 5.5.

37:40

Say its quota runs out, meaning the $10, 5-hour window is used up,

37:52

then it'll fall back to Kiro's Claude Sonnet 4.5 Thinking (coding), and it'll use up the credits across all the Kiro accounts we've added.

38:03

Say one account's 50 credits run out, it'll automatically start using the next account — you don't need to change anything.

38:13

Say the Kiro credits run out too, it'll fall back to our free GPT 5.5

38:19

for its $10, 5-hour window.

38:23

GPT 5.5 will respond.

38:26

Say that window runs out too, then it'll go to Gemini 2.5 Pro, and so on for all of them — you can manage the order yourself using these arrows.

38:47

But this is the best order to set up, because the top-priority models come first, then the next tier of top models.

39:06

That's how the whole setup gets completed — click Create after this.

39:18

If you know of any other custom provider, you can add it here too, and it'll automatically get included in the combo.

39:35

Now that's done, the next step is setting it up in Claude Code and whatever IDE we're using.

39:49

So let's go to CLI Tools.

39:53

We're going to set it up in Claude Code — select model, pick the combo we just created.

40:09

Keep the default model as 'Claude Free' here too.

40:18

Then copy this.

40:21

or apply it directly and your settings get configured automatically.

40:29

If that doesn't work, you can do it manually — go to your C: drive, then your user folder, then the '.claude' folder, and you'll find a settings.json file.

40:47

Open it.

40:48

Paste in what you copied from n8n router, save it, then open a new terminal in this folder — I'll open my terminal here — and type 'claude'.

41:17

Claude opens up.

41:20

Here you can see we're using the 'Claude Opus Free' combo we set up — let's give it a prompt too.

41:34

Here's our response — Claude Code responded nicely.

41:42

Let's check the logs to see which model actually gave the response.

41:52

Let's go to Logs — here it routed to Sonnet 4.5 Thinking Plus, and it checked in — but I think there's an error with AIML, since it didn't respond.

42:12

Let's check — okay, found the error: this provider

42:19

doesn't support the closed API yet — it doesn't support n8n router.

42:27

So we'll use Claude Opus 4.8 instead since it's also a great, powerful model.

42:37

Let's go to the combo and edit it — remove the AIML model we set up earlier

42:47

and click Add Models, then add Claude Opus 4.8 instead.

42:53

It'll be added at the bottom, so use the arrows to move it to the top since our first- priority model should be Claude Opus.

43:06

After it, next in line is Claude 5.5, and routing continues accordingly.

43:14

Save it, then go to Claude Code and give it a prompt.

43:22

Here's our response — checking the log, it says Claude Opus 4.8 gave the response.

43:36

Complete — meaning our workflow, the combo we built, is working.

43:46

Guys, Claude Code is successfully set up with a powerful model.

43:53

And to make it even more powerful, let me show you a plugin you can install in Claude Code called 'Auto Harness'.

44:06

In simple terms, Auto Harness gives Claude a self-learning skill.

44:13

As you keep working with Claude Code, it silently learns from your sessions in the background.

44:22

Whatever you do repeatedly, it turns into a reusable skill on its own, so next time you won't have to re-explain it — it already learned it.

44:34

The best part: installing it takes just 30 seconds — go to its GitHub repo

44:40

I'll add the link in the description too.

44:47

Copy this command and paste it inside Claude Code, then run this command to install it, and that's it — you're ready to use it.

45:06

Now let's set this up in the Claude Desktop app too — for that, go to

45:16

CLI Tools, then the Claude Desktop app — click the hamburger menu, go to Help > Troubleshooting, and you'll see 'Enable Developer Mode' or something similar there.

45:44

Click it to enable developer mode — confirm 'Enable Developer Mode only here'.

45:55

Once developer mode is available, you'll see a 'Developer' option, and under that 'Configure Third Party' — click it, and an interface opens.

46:15

There you need to enter the gateway base URL.

46:21

Copy it from n8n router and paste it into Claude Desktop.

46:27

It'll then ask for the gateway API key — enter anything, like I typed 'api-key'.

46:37

For the gateway auth scheme, select 'x-api- key'.

46:43

and for credential kind, leave it as 'static API key'.

46:58

Then click 'Config Changed' and restart it.

47:11

Your Claude will restart, and the combo you created will show up — here's 'Claude Opus Free', the combo we created.

47:26

Just prompt it with anything — it responded, though right now it says 'failed to start Claude workspace'

47:40

which is happening to me because I don't have enough internal storage space — you probably won't see that if you have enough space.

47:53

It's still giving a response — 'What can you do for me?' — and here's our response.

48:00

So Claude Desktop is set up too, and we can use Cowork here as well for any coding work.

48:09

Now let's set this up in Codex CLI too.

48:20

Go to CLI Tools, then OpenAI Codex CLI, go to Models, select model.

48:40

GPT 5.5, since Codex supports GPT 5.5 best and it makes it more powerful, so we'll select GPT 5.5 here too and click Apply.

48:53

It'll automatically write to your config.toml file.

48:59

If that doesn't apply, do it manually — go to your C: drive, then the Codex

49:08

folder, and you'll find a config.toml file.

49:16

You can configure it there directly — set your base URL, and the model to gpt-5.5.

49:31

Let's try it out and see if it works.

49:38

I'll type 'codex' here.

49:43

You can see Codex is running, using GPT 5.5 on GPT-5-Codex.

49:54

Let's give it a command: 'What can you do for me?' — and Codex responded too.

50:09

So our Claude Code CLI, Claude Desktop, and

50:17

Codex CLI, all three are complete.

50:24

Next, let's see how to set up Antigravity.

50:33

Scroll down and under IDE/MCP Tools you'll find Antigravity — click on it.

50:49

To set it up, you need to run n8n router as administrator, so let me run PowerShell as administrator.

51:06

First I'll stop n8n router since it's already running,

51:16

and then run it again as administrator.

51:25

When you start setting up Antigravity, it'll show you a DNS record you need to add to your hosts file — for that,

51:51

run this command in PowerShell, and it'll automatically open the hosts file.

52:02

Let me open PowerShell for that.

52:06

It's open — take the line shown there and paste it in, just as I did when I added mine — leave the rest of the file as is, don't delete anything.

52:26

After adding it, you'll get a checkmark showing it's registered successfully.

52:40

Then you need to start the server — it needs administrator rights, click 'Start Server'.

52:55

The server starts — you can see it running, with a checkmark here too.

53:03

After it starts, click on Antigravity — same as before, this is the DNS record we already added at the start.

53:16

Then select your model here — say you selected Gemini 3.5 Flash

53:24

in Antigravity — which model should the request actually go to?

53:32

You can select that here — we'll select our combo for all of them, since that's what we'll be sending requests to.

53:46

Setup's done — now let's open Antigravity

53:52

if you already had it open, close and reopen it — a chat section will open.

54:03

Whatever model you select, your request gets sent directly to the combo we built — say I select Sonnet 4.6 and ask 'which model are you using?' — let me give it a prompt.

54:29

And here it says 'I am running on Claude Opus 4.6, how can I help you today' — let's check the request logs.

54:40

You can see Opus 4.8 gave our response.

54:44

Since we linked it via the Opus name it says that, but the actual request went to our combo — the timing matches too.

54:56

So that's how you can set up Antigravity too, and Cline works exactly the same way — set it up there the same way.

55:15

After all this, if you want to set it up in any other IDE too,

55:25

you can do that too, same as OpenCode — click and apply, and it's set up directly.

55:46

Cowork we've already set up.

55:53

And for Kiro too,

55:57

the process is exactly the same — just select the model, and it'll automatically get set up.

56:08

This way, you can do unlimited coding — unlimited Claude Code, Antigravity, and Codex — and set up and check any other free-tier providers too.

56:25

And that's it — our setup is complete.

56:29

Now you can use Claude Code, Claude Desktop, Codex, and Antigravity through this complete system.

56:38

If you've watched all the way to here, congratulations — you now have a permanent setup that people usually keep hunting different videos and tricks for.

56:52

If this video helped you even a little, please leave a like, and subscribe to my channel if you want more videos like this.

57:00

I'll add all the resources, commands, and documentation used here to my blog, with the link in the description.

57:08

If you run into any problem, let me know in the comments and I'll try to help — you can also join my Telegram channel for discussions and updates.

57:18

See you in the next video with one more powerful AI workflow — until then, happy coding.

More transcripts

Explore other videos transcribed with YouTLDR.

Get the TLDR of any YouTube video

Transcribe, summarize, and repurpose videos in 125+ languages — free, no signup required.

Try YouTLDR Free