Title: What is a self-hosted runner? GitHub Actions, explained · Codemany docs
URL: https://codemany.com/docs/guides/self-hosted-runner
Description: A self-hosted runner is your own computer running GitHub Actions jobs. Compare it with GitHub-hosted runners, see the costs, and start in three steps.
All pages as Markdown: https://codemany.com/llms.txt

---

[Guides](https://codemany.com/docs#guides)

# What is a self-hosted runner?

A self-hosted runner is a computer you own that runs your GitHub Actions jobs.

## What a self-hosted runner is

A self-hosted runner is your own computer, doing jobs for GitHub. A runner is the computer that runs each job, like tests or builds. Most jobs run on GitHub's computers, called GitHub-hosted runners. Yours can be the Mac on your desk or a Linux box. It runs GitHub's runner app, and you pick it with `runs-on`.

## GitHub-hosted vs self-hosted runners

The big change is whose computer runs the job.

|  | GitHub-hosted | Self-hosted |
| --- | --- | --- |
| Whose computer | GitHub's | Yours |
| Cost | By the minute, after free minutes | You pay for the computer |
| Speed | GitHub's set sizes | As fast as your box |
| Mac support | Yes, at $0.062 a minute | Yes, your own Mac |
| Who cleans up | GitHub | You, or a tool |

## Why teams use a self-hosted runner

Teams use one to save money and time.

- **Cost.** GitHub bills hosted jobs by the minute. We built Codemany after our bill hit $500 to $600 a month.
- **Speed.** Your own box may be faster than GitHub's. [See the nightly benchmarks](https://codemany.com/benchmarks).
- **Your own Mac.** iOS apps need a Mac to build, and yours can do it.
- **Tools stay.** Install your tools once, not every job.

## The hard parts, and how Codemany helps

By hand, you set it up in Settings → Actions → Runners. Then three chores are yours.

- **A fresh runner per job.** By hand, one runner runs every job, so old files stay. Codemany gives each job a new runner, wiped after one job.
- **Updates.** Codemany keeps your runners up to date.
- **Cleanup.** Codemany clears caches and disk by itself.

## Start in three steps

1. Install
   Get the Mac app for Apple silicon, macOS 14 or later. On Linux, run one command or use apt.
2. Sign in
   Sign in with GitHub and pick your repos.
3. Change one line
   Set this in your workflow:
   ```
   runs-on: [self-hosted, codemany]
   ```

## Questions

### Is a self-hosted runner free?

GitHub's runner app is free, but you pay for the computer. Codemany is $20 a month for 2 machines, after 14 free days with no card.

### Is a self-hosted runner safe?

Use one only on private repos. On a public repo, anyone can open a pull request that runs code on your machine. Read [Runner security](https://codemany.com/docs/guides/runner-security).

### Can I use my Mac as a self-hosted runner?

Yes. Codemany works on a Mac with Apple silicon and macOS 14 or later. See the [Mac runner guide](https://codemany.com/docs/guides/mac-runner).

### What is the difference between GitHub-hosted and self-hosted runners?

GitHub-hosted runners are GitHub's computers, paid by the minute. Self-hosted ones are yours to run and care for.

## Related guides

Read next: [self-hosted runner on a Mac](https://codemany.com/docs/guides/mac-runner), [self-hosted runner on Linux](https://codemany.com/docs/guides/linux-runner) and [single-use runners](https://codemany.com/docs/guides/ephemeral-runners).

[Previous Security & privacy](https://codemany.com/docs/security)[Next Self-hosted runner on a Mac](https://codemany.com/docs/guides/mac-runner)
