# Billing & plans

> Compare plans and their limits, and manage payment in Moroccan dirham.

Source: https://gheima.ma/docs/billing

Every plan is priced and invoiced in Moroccan dirham (MAD), so there’s no dollar conversion on our side. Your plan sets the limits your account can use, and the price you see is the price you pay.

### Plans

Gheima offers Free, Dev, Pro, Team, and Agency plans, plus a School plan for education. Each step up raises limits such as services, databases, storage, and custom domains. Autoscaling starts on Pro, and extra team members start on Team.

- `Free`: 0 MAD/mo. 1 service, 1 static site, 1 Postgres database of up to 512 MB with no backups, no custom domains. For learning and side projects.
- `Dev`: 90 MAD/mo. 3 services, 1 database, 1 custom domain. For solo developers going live.
- `Pro`: 250 MAD/mo. 10 services, autoscaling, 10 custom domains. For growing production apps.
- `Team`: 600 MAD/mo. 20 services, 10 team members. For teams shipping together.
- `Agency`: 1,500 MAD/mo. 50 services, 25 team members, a named support contact. For agencies running many client apps.

> Note: The School plan is a separate plan for bootcamps and universities, priced per contract: write to hello@gheima.ma with the size of your cohorts and we set the limits to match. A school’s allowances are always hard limits, with no overage.

### What your plan includes, and what happens past it

Count limits, such as services, databases and custom domains, are hard: creating one more than your plan allows is refused, and you are offered an upgrade. Usage allowances work differently. Every plan includes monthly bandwidth and build minutes, and paid plans also include storage: on current plans one pool shared by buckets, managed databases and persistent volumes. CPU and memory are never metered on a plan: they are set by your plan’s service size and memory pool.

On Dev, Pro, Team and Agency you can go past a usage allowance up to a monthly overage budget you set on the Billing page. Overage is paid from credit you have already topped up in your prepaid wallet, at the rates the Billing page shows, and is never billed afterwards, unless you have agreed metered billing with us (see below). The budget starts at 0 MAD, which keeps every allowance a hard limit, and your wallet never goes below zero. On Free and School, allowances are always hard limits.

- Build minutes: when they are used up and no budget or credit is left, new builds are not started and say why. Running apps keep running.
- Storage: new uploads are refused, and on a plan with a storage pool so are new buckets, databases and volumes. Everything you have stored stays readable and deletable, and databases and volumes keep accepting writes.
- Bandwidth: traffic keeps flowing, and the excess is not charged. Past twice your allowance we contact you about a budget or a larger plan. We may limit traffic past five times your allowance (three times on Free), or traffic that looks like abuse.

Outbound traffic from the Casablanca region is metered on its own. It counts against your plan’s bandwidth allowance, and past that is charged at the Moroccan per-GB rate, which is higher than the standard one. The same budget rules apply: with no budget or credit left, it keeps flowing and is not charged.

We alert you at 80% and 100% of each allowance, and of your budget if you set one. Allowances and the budget reset on the 1st of each month (UTC).

### Manage your plan and payment

On the Billing page, pick a plan under "Change plan". Payment runs through our checkout, and your plan updates automatically after checkout. The Moroccan gateways cannot store a card, so no card is charged without you: we remind you before the period ends, and you pay for the next one. If you turn on auto-renew, the next period is paid from your wallet credit instead, when the credit covers it. If a period ends unpaid, a grace window opens; after it, the account moves to the Free plan and your data is kept. The same page shows how much of each limit you use this month.

### Spend caps on metered billing

On a plan, your overage budget is your spend limit. Accounts on metered billing, which our team switches on only at your request, also get a Spend cap section on the Billing page. Set a monthly cap in MAD. When estimated usage reaches the cap, creating new resources is blocked; nothing already running is stopped. To get a notification on your notification channels before that, set an alert threshold, such as 80%. Only owners and admins see this section.

> Result: You pay in dirham for the plan you need, and nothing past it unless you set a budget and fund it.

---

All docs: https://gheima.ma/docs.md
