g1t/apps/web/app/routes/pricing.tsx

535 lines26,077 bytesCodeBlame

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

Prices keep themselves current with what g1t pays1import { ArrowUpRight } from "lucide-react";
2
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas3import { type FeaturePlan, type FreeTier, MICROS_PER_DOLLAR, type Price } from "@g1t/contracts";
Prices keep themselves current with what g1t pays4
5import type { Route } from "./+types/pricing";
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look6import { wholeDollars } from "../lib/billing";
Social cards for every page: og.g1t.sh7import { page } from "../lib/meta";
Prices keep themselves current with what g1t pays8import { TimeAgo } from "../components/ui";
9import { billing } from "../lib/services.server";
10
Social cards for every page: og.g1t.sh11export function meta(args: Route.MetaArgs) {
12 return page(args, {
13 title: "Pricing · g1t",
Team plan, an open-source pool, monthly trials and honest metering; the sidebar for everyone; a workspace that stays put14 description:
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look15 "The forge is free. One plan, $20 a month per workspace with $10 of usage included; usage at what it costs g1t plus 20%. No seats, ever.",
Social cards for every page: og.g1t.sh16 });
Prices keep themselves current with what g1t pays17}
18
19export async function loader() {
Billing accounts, terms and enterprises; g1t is no longer free20 const [book, status] = await Promise.all([billing.prices().catch(() => null), billing.status().catch(() => null)]);
21 return { book, free: status?.free ?? false };
Prices keep themselves current with what g1t pays22}
23
24/** A price in dollars, with as many digits as it needs to say anything. */
25function money(micros: number): string {
26 const dollars = micros / MICROS_PER_DOLLAR;
27 if (dollars >= 1) return `$${dollars.toFixed(2)}`;
28 if (dollars >= 0.01) return `$${dollars.toFixed(3)}`;
29 return `$${dollars.toPrecision(2)}`;
30}
31
32/** Per second is easier to read per minute. */
33function perUnit(price: Price, micros: number): string {
34 return price.unit === "second" ? `${money(micros * 60)} a minute` : `${money(micros)} per ${price.unit}`;
35}
36
Team plan, an open-source pool, monthly trials and honest metering; the sidebar for everyone; a workspace that stays put37function gigabytes(bytes: number): string {
38 return `${Math.round((bytes / 1e9) * 10) / 10} GB`;
39}
40
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look41function count(n: number): string {
42 return n.toLocaleString("en-US");
43}
44
Team plan, an open-source pool, monthly trials and honest metering; the sidebar for everyone; a workspace that stays put45/** What the page says when billing cannot be reached: the published defaults. */
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look46const DEFAULT_FREE: Required<FreeTier> = {
47 trialWorkspaceMicros: 5_000_000,
48 trialMonthlyPoolMicros: 100_000_000,
49 ossPoolMicros: 25_000_000,
50 ossRepoMicros: 2_000_000,
Team plan, an open-source pool, monthly trials and honest metering; the sidebar for everyone; a workspace that stays put51 freePrivateStorageBytes: 1_000_000_000,
Audit logs are kept by plan: a week on free, 90 days on the plan, and what staff set for an account in sudo52 auditRetentionDays: 7,
53 planAuditRetentionDays: 90,
Team plan, an open-source pool, monthly trials and honest metering; the sidebar for everyone; a workspace that stays put54 minChargeMicros: 5_000_000,
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas55 gitOperationsIncluded: 50_000,
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look56 paidStartCeilingMicros: 100_000_000,
57 overageForgiveCostMicros: 50_000_000,
Team plan, an open-source pool, monthly trials and honest metering; the sidebar for everyone; a workspace that stays put58};
59
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look60const DEFAULT_PLAN: FeaturePlan = {
61 feature: "plan",
62 title: "g1t",
63 monthlyCents: 2000,
64 includes: [
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas65 "$10 of usage each month at cost plus 20%, used first",
66 "Everyone in the workspace at one price, never per person",
67 "Unlimited projects, previews and repositories",
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look68 "Agents, checks, workflows, the merge queue, deployments and semantic search",
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas69 "Usage past $10 is charged at cost plus 20%, up to your spend limit",
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look70 ],
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas71 overage: "Everything is metered from the first unit at what it costs g1t plus 20%. Unused included usage does not roll over.",
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look72};
73
Team plan, an open-source pool, monthly trials and honest metering; the sidebar for everyone; a workspace that stays put74/** The ways to reach g1t about an enterprise account. */
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look75const ENTERPRISE_MAIL = "mailto:hey@flagon.io?subject=Enterprise%20billing%20for%20g1t";
Team plan, an open-source pool, monthly trials and honest metering; the sidebar for everyone; a workspace that stays put76
Prices keep themselves current with what g1t pays77const HOW = [
78 {
79 title: "Our cost, passed through",
Prices are what g1t pays plus 20%, from the first second80 body: "Every sandbox second, build, app request and model token costs g1t money at Cloudflare or a model provider. Each is metered and charged at that cost plus 20%, from the first second and the first request. Use a little, pay a little.",
Prices keep themselves current with what g1t pays81 },
82 {
83 title: "Prices follow costs, by themselves",
Git storage hardened, pages in tens of milliseconds, honest security alerts, and costs reconciled daily84 body: "Model runs are charged at what Cloudflare's AI Gateway priced each request at, so a provider's price change reaches you the same day. Every day, sandbox, build and app costs are checked against what Cloudflare billed g1t; when one moves, its price moves with it, and the change is listed below. The rest are Cloudflare's published prices, marked as such.",
Prices keep themselves current with what g1t pays85 },
86 {
Prices are what g1t pays plus 20%, from the first second87 title: "The 20% is the overhead",
88 body: "It pays for running g1t and for building and keeping up the features you use. The same 20% on everything, and nothing bundled in.",
89 },
90 {
Prices keep themselves current with what g1t pays91 title: "No seats, ever",
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look92 body: "Add as many people and agents as you like. A workspace pays one flat price for the plan, and for what it uses past what the plan includes.",
Prices keep themselves current with what g1t pays93 },
94];
95
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look96/** One row of the free-and-plan table. */
97type Row = { what: string; free: string; plan: string; note?: string };
98
99function rows(tier: Required<FreeTier>): Row[] {
100 return [
101 {
102 what: "The forge",
103 free: "Free",
104 plan: "Included",
105 note: "Public and private repositories, issues, pull requests, reviews, protected branches, code owners, search and Explore.",
106 },
107 {
108 what: "Agents, checks, workflows, merge queue",
109 free: "After a card check: the trial, and the open-source pool for checks, workflows and the merge queue on public repositories",
110 plan: "From the plan's included usage, then at cost plus 20%",
111 },
112 {
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas113 what: "Projects and previews",
114 free: "Not available: deployments run on g1t's machines",
115 plan: "Unlimited, and never charged for. An app no one visits costs nothing.",
116 },
117 {
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look118 what: "Deployments",
119 free: "Not available",
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas120 plan: "Builds by the second, app requests, CPU time and custom domains, each from the first at cost plus 20%",
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look121 },
122 {
123 what: "Semantic search",
124 free: "After a card check, from the trial",
125 plan: "From the plan's included usage, then at cost plus 20%",
126 },
127 {
128 what: "Private storage",
129 free: `${gigabytes(tier.freePrivateStorageBytes)}, never charged. Past it, pushes to private repositories stop until you make room or start the plan.`,
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas130 plan: `${gigabytes(tier.freePrivateStorageBytes)} free, then at cost plus 20%. Pushes never stop.`,
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look131 note: "Public repositories are never charged for storage.",
132 },
133 {
134 what: "Git operations",
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas135 free: `${count(tier.gitOperationsIncluded)} a month, never charged. Past it, slowed to 60 an hour until the month turns.`,
136 plan: `${count(tier.gitOperationsIncluded)} a month free, then at cost plus 20%. Never slowed.`,
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look137 note: "Clones, fetches and pushes through g1t.",
138 },
139 {
Git storage hardened, pages in tens of milliseconds, honest security alerts, and costs reconciled daily140 what: "Actions cache",
141 free: "2 GiB an entry and 10 GiB a repository, never charged",
142 plan: "The same limits, with what it stores at cost plus 20%",
143 },
144 {
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look145 what: "Audit log",
146 free: `${tier.auditRetentionDays} days, with export`,
Audit logs are kept by plan: a week on free, 90 days on the plan, and what staff set for an account in sudo147 plan: `${tier.planAuditRetentionDays} days, with export`,
148 note: "Longer by arrangement. Older entries are deleted each day.",
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look149 },
150 { what: "Secret push protection", free: "Included", plan: "Included" },
151 { what: "Single sign-on", free: "On every plan, once it is built", plan: "On every plan, once it is built" },
152 { what: "Members", free: "Unlimited", plan: "Unlimited" },
153 {
154 what: "Usage past what is included",
155 free: "Not possible: a free workspace never runs up a bill",
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas156 plan: "Charged at cost plus 20%, up to a spend limit you set. No quotas: only your limit stops anything.",
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look157 },
158 ];
159}
160
Prices keep themselves current with what g1t pays161export default function Pricing({ loaderData }: Route.ComponentProps) {
Billing accounts, terms and enterprises; g1t is no longer free162 const { book, free } = loaderData;
Prices keep themselves current with what g1t pays163 const checked = book?.prices.map((p) => p.checkedAt).filter((at): at is string => !!at).sort().at(-1);
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look164 const given = Object.fromEntries(Object.entries(book?.free ?? {}).filter(([, value]) => value != null));
165 const tier: Required<FreeTier> = { ...DEFAULT_FREE, ...given };
166 const plan = book?.plans?.find((p) => p.feature === "plan") ?? DEFAULT_PLAN;
167 const price = plan.monthlyCents / 100;
168 const dollars = wholeDollars;
Prices keep themselves current with what g1t pays169 return (
170 <main className="mx-auto max-w-4xl px-4 py-12">
171 <p className="text-sm font-medium text-accent">Pricing</p>
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look172 <h1 className="mt-2 text-3xl font-semibold tracking-tight sm:text-4xl">One plan, and usage at cost plus 20%</h1>
Prices keep themselves current with what g1t pays173 <p className="mt-3 max-w-2xl text-muted">
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look174 The forge is free for everyone. Work that runs on g1t's machines is metered at what it costs g1t, plus 20%. The
175 numbers on this page are the live price book g1t charges from.
Prices keep themselves current with what g1t pays176 </p>
Billing accounts, terms and enterprises; g1t is no longer free177 {free && (
178 <div className="mt-5 rounded-xl border border-accent/30 bg-accent/5 px-4 py-3 text-sm">
179 <span className="font-medium">Free while g1t is being built out.</span>{" "}
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look180 <span className="text-muted">Usage is recorded at these prices but not charged for now. The plan is charged.</span>
Billing accounts, terms and enterprises; g1t is no longer free181 </div>
182 )}
Prices keep themselves current with what g1t pays183
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look184 <section className="mt-10 rounded-xl border border-accent/40 bg-surface p-6">
185 <div className="flex flex-wrap items-baseline justify-between gap-3">
186 <h2 className="text-xl font-semibold tracking-tight">{plan.title}</h2>
187 <p>
188 <span className="text-3xl font-semibold tabular-nums">${price}</span>{" "}
189 <span className="text-sm text-muted">a month per workspace</span>
190 </p>
191 </div>
192 <ul className="mt-4 space-y-1.5 text-sm text-muted">
193 {plan.includes.map((line) => (
194 <li key={line} className="flex gap-2">
195 <span aria-hidden className="text-accent">
196 ✓
197 </span>
198 {line}
199 </li>
200 ))}
201 </ul>
202 <p className="mt-3 text-xs text-faint">{plan.overage}</p>
203 <div className="mt-5 grid gap-5 border-t border-line pt-5 text-sm sm:grid-cols-2">
204 <div>
205 <p className="font-medium">Where the ${price} goes</p>
206 <p className="mt-1 text-muted">
207 $10 comes back to you as usage: agents, sandboxes, builds and deployments at cost plus 20%, used before
208 anything else. The other $10 pays for running g1t, the free forge for everyone, and the people building it.
209 </p>
210 </div>
211 <div>
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas212 <p className="font-medium">No quotas</p>
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look213 <p className="mt-1 text-muted">
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas214 No count of projects, previews, builds, requests or git operations ever stops a workspace on the plan. Past
215 the $10, usage is charged at cost plus 20%, and only your spend limit stops it. Unused included usage does
216 not roll over.
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look217 </p>
218 </div>
219 </div>
220 <p className="mt-5 text-sm text-muted">An owner starts the plan from the workspace's Billing page.</p>
221 </section>
222
223 <h2 className="mt-14 text-xl font-semibold tracking-tight">Free and the plan, side by side</h2>
224 <p className="mt-1 text-sm text-muted">No security feature is held back for a plan.</p>
225 {/* On a phone, one row at a time with both answers under it; a table that wide would scroll. */}
226 <ul className="mt-4 divide-y divide-line rounded-xl border border-line text-sm sm:hidden">
227 {rows(tier).map((row) => (
228 <li key={row.what} className="px-4 py-3">
229 <p className="font-medium">{row.what}</p>
230 {row.note && <p className="text-xs text-faint">{row.note}</p>}
231 <dl className="mt-2 grid grid-cols-[4.5rem_1fr] gap-x-3 gap-y-1.5">
232 <dt className="text-xs leading-5 text-faint">Free</dt>
233 <dd className="text-muted">{row.free}</dd>
234 <dt className="text-xs leading-5 text-faint">{plan.title}</dt>
235 <dd className="text-muted">{row.plan}</dd>
236 </dl>
237 </li>
238 ))}
239 </ul>
240 <div className="mt-4 hidden overflow-x-auto rounded-xl border border-line sm:block">
241 <table className="w-full min-w-[36rem] text-left text-sm">
242 <thead className="border-b border-line text-xs text-muted">
243 <tr>
244 <th className="px-4 py-2.5 font-medium">
245 <span className="sr-only">What</span>
246 </th>
247 <th className="px-4 py-2.5 font-medium">Free</th>
248 <th className="px-4 py-2.5 font-medium">
249 {plan.title}, ${price} a month
250 </th>
251 </tr>
252 </thead>
253 <tbody className="divide-y divide-line">
254 {rows(tier).map((row) => (
255 <tr key={row.what} className="align-top">
256 <td className="px-4 py-3">
257 <p className="font-medium">{row.what}</p>
258 {row.note && <p className="text-xs text-faint">{row.note}</p>}
259 </td>
260 <td className="px-4 py-3 text-muted">{row.free}</td>
261 <td className="px-4 py-3 text-muted">{row.plan}</td>
262 </tr>
263 ))}
264 </tbody>
265 </table>
266 </div>
267 <p className="mt-3 text-sm text-muted">
268 Git operations cost g1t money too: Cloudflare charges g1t $0.15 per 1,000. {count(tier.gitOperationsIncluded)} a
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas269 month is far more than an active workspace uses; an agent run takes two to four.
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look270 </p>
271
272 <h2 className="mt-14 text-xl font-semibold tracking-tight">No card, no compute</h2>
273 <div className="mt-3 max-w-3xl space-y-3 text-sm text-muted">
274 <p>
275 Agents, checks, workflows, the merge queue, deployments and semantic search run on g1t's machines. They need
276 the plan, or a card check.
277 </p>
278 <p>
279 The reason: compute costs g1t real money from the first second, and free compute draws people who use it to
280 mine cryptocurrency. A card check is the smallest gate that stops that, with one trial per card.
281 </p>
282 <p>
283 A card check is never charged. Stripe saves and verifies the card, with 3-D Secure where your bank asks for it.
284 Nothing is charged until an owner starts the plan, and then the same card is used, without asking for it again.
285 The trial needs a credit or debit card; prepaid cards can still pay for the plan.
286 </p>
287 </div>
288
289 <div className="mt-5 grid gap-4 sm:grid-cols-2">
290 <section className="rounded-xl border border-line bg-surface p-5">
291 <h3 className="font-medium">The trial</h3>
292 <p className="mt-1.5 text-sm text-muted">
293 {dollars(tier.trialWorkspaceMicros)} of usage, once per workspace and once per card, after a card check with a credit or
294 debit card. It comes from a{" "}
295 {dollars(tier.trialMonthlyPoolMicros)} pool each month for everyone; when a month's pool is given out, new
296 trials wait until the 1st. The trial does not cover deployments and never turns into a charge. If the last
297 run on a trial goes past it, g1t covers the difference.
298 </p>
299 </section>
300 <section className="rounded-xl border border-line bg-surface p-5">
301 <h3 className="font-medium">The open-source pool</h3>
302 <p className="mt-1.5 text-sm text-muted">
303 Checks, workflows and the merge queue on public repositories, after a card check:{" "}
304 {dollars(tier.ossPoolMicros)} a month in all, up to {dollars(tier.ossRepoMicros)} a month per repository.
305 Agents do not run from the pool. When the pool or a repository's share is used up, the work waits for the
306 month to turn, or the workspace pays as usual.
307 </p>
308 </section>
309 </div>
310
311 <h2 className="mt-14 text-xl font-semibold tracking-tight">Limits, and how to raise them</h2>
312 <p className="mt-1 max-w-3xl text-sm text-muted">
313 g1t lets usage run ahead of payment only so far. Limits keep a mistake small, for you and for g1t.
314 </p>
315 <ul className="mt-4 grid gap-3 text-sm sm:grid-cols-2">
316 <li className="rounded-xl border border-line bg-surface p-4">
317 <p className="font-medium">{dollars(tier.paidStartCeilingMicros)} in the first month</p>
318 <p className="mt-1 text-muted">
319 A workspace on the plan can use up to {dollars(tier.paidStartCeilingMicros)} in its first month. After that,
320 the limit grows with payments that clear.
321 </p>
322 </li>
323 <li className="rounded-xl border border-line bg-surface p-4">
324 <p className="font-medium">Your own spend limit</p>
325 <p className="mt-1 text-muted">
326 Owners set a monthly spend limit anywhere up to the highest limit the workspace has had, with no approval.
327 Once, you can raise it yourself to twice that.
328 </p>
329 </li>
330 <li className="rounded-xl border border-line bg-surface p-4">
331 <p className="font-medium">Prepay to raise it now</p>
332 <p className="mt-1 text-muted">
333 Prepaying from $25 raises what you can use by the same amount, at once. From $1,000 you can also pay by bank
334 transfer.
335 </p>
336 </li>
337 <li className="rounded-xl border border-line bg-surface p-4">
338 <p className="font-medium">Raise my limit</p>
339 <p className="mt-1 text-muted">
340 Need more? Ask from Billing with the amount, why, and what you expect to spend. You get an answer within one
341 business day, in the app and by email.
342 </p>
343 </li>
344 </ul>
345
346 <h2 className="mt-14 text-xl font-semibold tracking-tight">When usage runs high</h2>
347 <ul className="mt-4 grid gap-3 text-sm sm:grid-cols-2">
348 <li className="rounded-xl border border-line bg-surface p-4">
349 <p className="font-medium">A spike pauses new work</p>
350 <p className="mt-1 text-muted">
351 When an hour's spend is five times your usual hour, and at least $5, new compute waits for an owner to choose
352 Keep going or Stop. Runs already going finish.
353 </p>
354 </li>
355 <li className="rounded-xl border border-line bg-surface p-4">
356 <p className="font-medium">Caps per run and per issue</p>
357 <p className="mt-1 text-muted">
358 One agent run stops at $2 and the agents on one issue at $10 in all, so a run stuck in a loop stops on its own.
359 Owners change both on Billing.
360 </p>
361 </li>
362 <li className="rounded-xl border border-line bg-surface p-4">
363 <p className="font-medium">Alerts at 50, 75, 90 and 100%</p>
364 <p className="mt-1 text-muted">
365 Of the plan's included usage, your spend limit and g1t's limit: in the app and by email.
366 </p>
367 </li>
368 <li className="rounded-xl border border-line bg-surface p-4">
369 <p className="font-medium">Spent more than you meant to? Tell us</p>
370 <p className="mt-1 text-muted">
371 Tell us from Billing what happened. Once in 12 months, g1t can credit back usage you did not mean, always
372 including its 20% on it. Larger credits, or a second one within 12 months, are reviewed by a person.
373 </p>
374 </li>
375 </ul>
376 <p className="mt-3 text-sm text-muted">
377 No card is charged less than {dollars(tier.minChargeMicros)} when a month closes, so a payment's fee is never most
378 of it. Smaller amounts carry over to the next invoice. Charges at a limit always go through.
379 </p>
380
381 <div className="mt-14 grid gap-4 sm:grid-cols-2">
Prices keep themselves current with what g1t pays382 {HOW.map((item) => (
383 <section key={item.title} className="rounded-xl border border-line bg-surface p-5">
384 <h2 className="font-medium">{item.title}</h2>
385 <p className="mt-1.5 text-sm text-muted">{item.body}</p>
386 </section>
387 ))}
388 </div>
389
390 <h2 className="mt-14 text-xl font-semibold tracking-tight">Usage</h2>
391 <p className="mt-1 text-sm text-muted">
392 {checked ? (
393 <>
394 Last checked against Cloudflare's bill <TimeAgo at={checked} />.
395 </>
396 ) : (
397 "Starting from Cloudflare's published prices; checked against its bill daily."
398 )}
399 </p>
400 <div className="mt-4 overflow-x-auto rounded-xl border border-line">
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look401 <table className="w-full text-left text-sm sm:min-w-[36rem]">
Prices keep themselves current with what g1t pays402 <thead className="border-b border-line text-xs text-muted">
403 <tr>
404 <th className="px-4 py-2.5 font-medium">What</th>
405 <th className="px-4 py-2.5 font-medium">Costs g1t</th>
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look406 {/* The markup is in what you pay; on a phone the column gives way. */}
407 <th className="hidden px-4 py-2.5 font-medium sm:table-cell">Markup</th>
Prices keep themselves current with what g1t pays408 <th className="px-4 py-2.5 font-medium">You pay</th>
409 </tr>
410 </thead>
411 <tbody className="divide-y divide-line">
412 <tr>
413 <td className="px-4 py-3">
414 <p className="font-medium">Models</p>
415 <p className="text-xs text-faint">g1t's hosted models, through AI Gateway</p>
416 </td>
417 <td className="px-4 py-3 text-muted">What the provider charges, per request</td>
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look418 <td className="hidden px-4 py-3 tabular-nums sm:table-cell">{book?.modelMarginPercent ?? 20}%</td>
Prices keep themselves current with what g1t pays419 <td className="px-4 py-3 text-muted">Cost + {book?.modelMarginPercent ?? 20}%</td>
420 </tr>
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas421 <tr>
422 <td className="px-4 py-3">
423 <p className="font-medium">Projects, previews and apps</p>
Git storage hardened, pages in tens of milliseconds, honest security alerts, and costs reconciled daily424 <p className="text-xs text-faint">Having them. An app's requests and CPU time are charged below.</p>
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas425 </td>
426 <td className="px-4 py-3 text-muted">Next to nothing</td>
427 <td className="hidden px-4 py-3 tabular-nums sm:table-cell">—</td>
428 <td className="px-4 py-3 text-muted">Not charged</td>
429 </tr>
430 {(book?.prices ?? []).filter((price) => price.meter !== "app_month").map((price) => (
Prices keep themselves current with what g1t pays431 <tr key={price.meter}>
432 <td className="px-4 py-3">
433 <p className="font-medium">{price.title}</p>
434 <p className="text-xs text-faint">
Git storage hardened, pages in tens of milliseconds, honest security alerts, and costs reconciled daily435 {price.meter === "actions_cache" ? "On the plan only. A free workspace is never charged for it. " : ""}
Prices keep themselves current with what g1t pays436 {price.source === "cloudflare" ? "Measured from Cloudflare's bill" : "Cloudflare's published price"}
437 </p>
438 </td>
439 <td className="px-4 py-3 font-mono text-xs tabular-nums text-muted">{perUnit(price, price.costMicros)}</td>
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look440 <td className="hidden px-4 py-3 tabular-nums sm:table-cell">{price.markupPercent}%</td>
Prices keep themselves current with what g1t pays441 <td className="px-4 py-3 font-mono text-xs tabular-nums">{perUnit(price, price.priceMicros)}</td>
442 </tr>
443 ))}
Team plan, an open-source pool, monthly trials and honest metering; the sidebar for everyone; a workspace that stays put444 </tbody>
445 </table>
446 </div>
447
448 <h2 className="mt-14 text-xl font-semibold tracking-tight">Enterprise</h2>
449 <p className="mt-1 text-sm text-muted">
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look450 For organizations with several workspaces: one invoice and one limit. The prices are the ones on this page.
Team plan, an open-source pool, monthly trials and honest metering; the sidebar for everyone; a workspace that stays put451 </p>
Prices keep themselves current with what g1t pays452 <section className="mt-4 rounded-xl border border-line bg-surface p-5">
Team plan, an open-source pool, monthly trials and honest metering; the sidebar for everyone; a workspace that stays put453 <ul className="grid gap-3 text-sm sm:grid-cols-2">
454 <li>
455 <p className="font-medium">Consolidated invoicing</p>
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look456 <p className="text-muted">One monthly invoice for every workspace, paid by card or bank transfer.</p>
Team plan, an open-source pool, monthly trials and honest metering; the sidebar for everyone; a workspace that stays put457 </li>
458 <li>
459 <p className="font-medium">Custom terms</p>
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look460 <p className="text-muted">One limit across every workspace, invoice terms and a billing contact, set with you.</p>
Team plan, an open-source pool, monthly trials and honest metering; the sidebar for everyone; a workspace that stays put461 </li>
462 <li>
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look463 <p className="font-medium">Security on every plan</p>
464 <p className="text-muted">
Audit logs are kept by plan: a week on free, 90 days on the plan, and what staff set for an account in sudo465 The audit log with export, {tier.planAuditRetentionDays} days or longer by arrangement, and secret push
466 protection, for every workspace.
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look467 </p>
Team plan, an open-source pool, monthly trials and honest metering; the sidebar for everyone; a workspace that stays put468 </li>
469 <li>
470 <p className="font-medium">
471 Single sign-on <span className="ml-1 rounded bg-raised px-1.5 py-0.5 text-xs text-muted">Coming</span>
472 </p>
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look473 <p className="text-muted">Through your identity provider, on every plan once it is built. Not available yet.</p>
Team plan, an open-source pool, monthly trials and honest metering; the sidebar for everyone; a workspace that stays put474 </li>
475 </ul>
476 <a
477 href={ENTERPRISE_MAIL}
478 className="mt-5 inline-flex items-center gap-1.5 rounded-md border border-line px-3 py-1.5 text-sm hover:border-line-strong"
479 >
480 Write to us about enterprise
481 <ArrowUpRight size={14} />
482 </a>
Prices keep themselves current with what g1t pays483 </section>
484
485 <h2 className="mt-14 text-xl font-semibold tracking-tight">Price changes</h2>
486 {book && book.changes.length > 0 ? (
487 <ul className="mt-4 divide-y divide-line rounded-xl border border-line">
488 {book.changes.map((change) => {
489 const title = book.prices.find((p) => p.meter === change.meter)?.title ?? change.meter;
Prices are what g1t pays plus 20%, from the first second490 // What you pay moved: the cost, the markup, or both.
491 const before = change.oldCostMicros * (100 + (change.oldMarkupPercent ?? change.markupPercent));
492 const after = change.newCostMicros * (100 + change.markupPercent);
493 const up = after > before;
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look494 const fresh = after === before || before === 0;
Prices keep themselves current with what g1t pays495 return (
496 <li key={`${change.meter}-${change.createdAt}`} className="px-4 py-3 text-sm">
497 <p>
498 <span className="font-medium">{title}</span>{" "}
Team plan, an open-source pool, monthly trials and honest metering; the sidebar for everyone; a workspace that stays put499 {fresh ? (
500 <span className="text-muted">new</span>
501 ) : (
502 <span className={up ? "text-warn" : "text-accent"}>
503 {up ? "up" : "down"} {Math.abs((after / before - 1) * 100).toFixed(1)}%
504 </span>
505 )}
Prices keep themselves current with what g1t pays506 </p>
507 <p className="mt-0.5 text-xs text-faint">
Git storage hardened, pages in tens of milliseconds, honest security alerts, and costs reconciled daily508 {change.effectiveAt ? (
509 <>
510 {change.reason} · <span className="text-fg-soft">takes effect {change.effectiveAt.slice(0, 10)}</span>
511 </>
512 ) : (
513 <>
514 {change.reason} · <TimeAgo at={change.createdAt} />
515 </>
516 )}
Prices keep themselves current with what g1t pays517 </p>
518 </li>
519 );
520 })}
521 </ul>
522 ) : (
Prices are what g1t pays plus 20%, from the first second523 <p className="mt-2 text-sm text-muted">None yet. When a price moves, it is listed here with why.</p>
Prices keep themselves current with what g1t pays524 )}
525
526 <a
527 href="https://docs.g1t.sh/guides/usage-and-billing/"
528 className="mt-12 inline-flex items-center gap-1.5 text-sm text-accent hover:underline"
529 >
530 How usage and billing work
531 <ArrowUpRight size={14} />
532 </a>
533 </main>
534 );
535}