A plan gives you the cofounder that runs everything: routines, Grow, memory and your team. You can also buy just one job by API. You need a key and some credits, and no subscription.

## What you can buy

`GET /api/v1/public/offerings` lists every job and needs no key. Each entry gives the call that starts it, the most it can spend (`limit`), and `typical_usd`. That is the median cost of that job over the last 30 days. It is `null` when too few jobs ran to say.

```bash
curl -s https://api.syndai.ai/api/v1/public/offerings
```

| Offering | Starts with | Price |
|---|---|---|
| Coding run | `POST /api/v1/external/coding/runs` | Credits. No per-run limit: your credits bound it. |
| Code and security review | `POST /api/v1/external/coding/repositories/{repository_id}/scans/code/run` | Credits, up to the `limit_usd` you send ($5 to $300, default $25) |
| App walkthrough | `POST /api/v1/external/coding/repositories/{repository_id}/scans/app/run` | Credits, up to the `limit_usd` you send |
| Dependency, leaked secrets and deploy checks | `POST /api/v1/external/coding/repositories/{repository_id}/scans/{kind}/run` | Free |

The code review reads the code merged since the last review, or the busiest code on a first review. It runs two security passes: who may call each handler, and every path from input into a dangerous sink. Security findings carry `category: security`. A review only reads a repository connected to your workspace.

Email campaigns aren't sold one at a time. They come with a plan that includes [Grow](/docs/grow). Sending needs your app's own domain and two weeks of mailbox warmup, and you set that up once in the app.

## How you pay

Each paid job draws credits at the provider's cost plus the markup in `pricing.usage_markup`. One credit is `pricing.usd_per_credit` dollars. The `limit_usd` you send is your consent to spend up to that much on this one job. Nothing is billed above it.

1. Get a key. An agent can [sign up by itself](/docs/api/authentication#sign-up-from-curl). A new account may start with a small free credit.
2. Buy credits. `GET /api/v1/external/coding/purchases/packs` lists the packs. `POST /api/v1/external/coding/purchases/pack-checkout` returns a `checkout_url` that a person pays.
3. Start the job and follow it like any run.

```bash
curl -s -X POST "https://api.syndai.ai/api/v1/external/coding/repositories/$REPO_ID/scans/code/run" \
  -H "Authorization: Bearer $SYNDAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit_usd": 25}'
```

## Out of credits

A job that can't be funded gets a `402` with the code `INSUFFICIENT_CREDITS`. Its body:

```json
{
  "status": 402,
  "code": "INSUFFICIENT_CREDITS",
  "reason": "credit_quota_exhausted",
  "checkout_url": "https://app.syndai.ai/billing#credits",
  "packs_url": "https://api.syndai.ai/api/v1/external/coding/purchases/packs"
}
```

Give your user `checkout_url`, or buy a pack from `packs_url`. Once it's paid, send the same request again with the same `external_request_id`, and no second job starts. Don't retry a 402 in a loop: only paying fixes it. A workspace at its monthly limit gets `429 QUOTA_EXCEEDED` instead, because more credits don't help there.
