Vast.ai Skill for AI research Instead of manually renting a GPU on...

@miyashita_03
Yusuke Miyashita@miyashita_03
14 views Aug 24, 2026 ~1 min read
Advertisement
1
Vast.ai Skill for AI research

Instead of manually renting a GPU on vast.ai and ssh into it and starting codex to run experiments, I just ask codex

“Run this experiment on an H100.”

How it works
- Codex runs “vastai search” and “vastai create” to rent a remote GPU.
- Codex now has access to the GPU via ssh.
- Codex edits your code locally, rsync the code and runs your code on the remote GPU.
- Same workflow as how you would run a local codex session but now your codex has access to GPU.

Why I like it
- Scale to multiple GPUs
- GPUs are usually cheaper in vast.ai as it is a marketplace
- Your code stays the same as how you would run locally, no extra lines of code needed like Modal.
- You can set a limit on vast.ai to prevent overspending.
- Always have access to the latest high-end GPU.

I have found this especially useful for AI research and quick experiments. It should work on claude code or any other coding agents as well.
Media image
Media image
@karpathy
Andrej Karpathy@karpathy
@jino_rohit I was recording my nanochat video when I realized that “first boot up an 8XH100 from your favorite provider!” would instantly get everyone stuck on step 1 of the video
2
Just link this to your coding agent and prompt "add this skill" and you should be able to run your experiments on GPU easily!

github.com/Yusuke710/vast…
Actions
What You Can Do
  • Export as PDF or Markdown
  • Batch Export to Notion
  • Bookmark & Highlight
  • LinkedIn & Instagram Carousel Maker
Create Free Account

Includes 7-day Premium trial

Advertisement