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

532 lines25,930 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,
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look52 auditRetentionDays: 90,
Team plan, an open-source pool, monthly trials and honest metering; the sidebar for everyone; a workspace that stays put53 minChargeMicros: 5_000_000,
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas54 gitOperationsIncluded: 50_000,
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look55 paidStartCeilingMicros: 100_000_000,
56 overageForgiveCostMicros: 50_000_000,
Team plan, an open-source pool, monthly trials and honest metering; the sidebar for everyone; a workspace that stays put57};
58
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look59const DEFAULT_PLAN: FeaturePlan = {
60 feature: "plan",
61 title: "g1t",
62 monthlyCents: 2000,
63 includes: [
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas64 "$10 of usage each month at cost plus 20%, used first",
65 "Everyone in the workspace at one price, never per person",
66 "Unlimited projects, previews and repositories",
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look67 "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 quotas68 "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 look69 ],
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas70 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 look71};
72
Team plan, an open-source pool, monthly trials and honest metering; the sidebar for everyone; a workspace that stays put73/** The ways to reach g1t about an enterprise account. */
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look74const 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 put75
Prices keep themselves current with what g1t pays76const HOW = [
77 {
78 title: "Our cost, passed through",
Prices are what g1t pays plus 20%, from the first second79 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 pays80 },
81 {
82 title: "Prices follow costs, by themselves",
Git storage hardened, pages in tens of milliseconds, honest security alerts, and costs reconciled daily83 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 pays84 },
85 {
Prices are what g1t pays plus 20%, from the first second86 title: "The 20% is the overhead",
87 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.",
88 },
89 {
Prices keep themselves current with what g1t pays90 title: "No seats, ever",
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look91 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 pays92 },
93];
94
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look95/** One row of the free-and-plan table. */
96type Row = { what: string; free: string; plan: string; note?: string };
97
98function rows(tier: Required<FreeTier>): Row[] {
99 return [
100 {
101 what: "The forge",
102 free: "Free",
103 plan: "Included",
104 note: "Public and private repositories, issues, pull requests, reviews, protected branches, code owners, search and Explore.",
105 },
106 {
107 what: "Agents, checks, workflows, merge queue",
108 free: "After a card check: the trial, and the open-source pool for checks, workflows and the merge queue on public repositories",
109 plan: "From the plan's included usage, then at cost plus 20%",
110 },
111 {
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas112 what: "Projects and previews",
113 free: "Not available: deployments run on g1t's machines",
114 plan: "Unlimited, and never charged for. An app no one visits costs nothing.",
115 },
116 {
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look117 what: "Deployments",
118 free: "Not available",
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas119 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 look120 },
121 {
122 what: "Semantic search",
123 free: "After a card check, from the trial",
124 plan: "From the plan's included usage, then at cost plus 20%",
125 },
126 {
127 what: "Private storage",
128 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 quotas129 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 look130 note: "Public repositories are never charged for storage.",
131 },
132 {
133 what: "Git operations",
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas134 free: `${count(tier.gitOperationsIncluded)} a month, never charged. Past it, slowed to 60 an hour until the month turns.`,
135 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 look136 note: "Clones, fetches and pushes through g1t.",
137 },
138 {
Git storage hardened, pages in tens of milliseconds, honest security alerts, and costs reconciled daily139 what: "Actions cache",
140 free: "2 GiB an entry and 10 GiB a repository, never charged",
141 plan: "The same limits, with what it stores at cost plus 20%",
142 },
143 {
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look144 what: "Audit log",
145 free: `${tier.auditRetentionDays} days, with export`,
146 plan: `${tier.auditRetentionDays} days, with export`,
147 },
148 { what: "Secret push protection", free: "Included", plan: "Included" },
149 { what: "Single sign-on", free: "On every plan, once it is built", plan: "On every plan, once it is built" },
150 { what: "Members", free: "Unlimited", plan: "Unlimited" },
151 {
152 what: "Usage past what is included",
153 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 quotas154 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 look155 },
156 ];
157}
158
Prices keep themselves current with what g1t pays159export default function Pricing({ loaderData }: Route.ComponentProps) {
Billing accounts, terms and enterprises; g1t is no longer free160 const { book, free } = loaderData;
Prices keep themselves current with what g1t pays161 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 look162 const given = Object.fromEntries(Object.entries(book?.free ?? {}).filter(([, value]) => value != null));
163 const tier: Required<FreeTier> = { ...DEFAULT_FREE, ...given };
164 const plan = book?.plans?.find((p) => p.feature === "plan") ?? DEFAULT_PLAN;
165 const price = plan.monthlyCents / 100;
166 const dollars = wholeDollars;
Prices keep themselves current with what g1t pays167 return (
168 <main className="mx-auto max-w-4xl px-4 py-12">
169 <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 look170 <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 pays171 <p className="mt-3 max-w-2xl text-muted">
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look172 The forge is free for everyone. Work that runs on g1t's machines is metered at what it costs g1t, plus 20%. The
173 numbers on this page are the live price book g1t charges from.
Prices keep themselves current with what g1t pays174 </p>
Billing accounts, terms and enterprises; g1t is no longer free175 {free && (
176 <div className="mt-5 rounded-xl border border-accent/30 bg-accent/5 px-4 py-3 text-sm">
177 <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 look178 <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 free179 </div>
180 )}
Prices keep themselves current with what g1t pays181
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look182 <section className="mt-10 rounded-xl border border-accent/40 bg-surface p-6">
183 <div className="flex flex-wrap items-baseline justify-between gap-3">
184 <h2 className="text-xl font-semibold tracking-tight">{plan.title}</h2>
185 <p>
186 <span className="text-3xl font-semibold tabular-nums">${price}</span>{" "}
187 <span className="text-sm text-muted">a month per workspace</span>
188 </p>
189 </div>
190 <ul className="mt-4 space-y-1.5 text-sm text-muted">
191 {plan.includes.map((line) => (
192 <li key={line} className="flex gap-2">
193 <span aria-hidden className="text-accent">
194 ✓
195 </span>
196 {line}
197 </li>
198 ))}
199 </ul>
200 <p className="mt-3 text-xs text-faint">{plan.overage}</p>
201 <div className="mt-5 grid gap-5 border-t border-line pt-5 text-sm sm:grid-cols-2">
202 <div>
203 <p className="font-medium">Where the ${price} goes</p>
204 <p className="mt-1 text-muted">
205 $10 comes back to you as usage: agents, sandboxes, builds and deployments at cost plus 20%, used before
206 anything else. The other $10 pays for running g1t, the free forge for everyone, and the people building it.
207 </p>
208 </div>
209 <div>
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas210 <p className="font-medium">No quotas</p>
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look211 <p className="mt-1 text-muted">
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas212 No count of projects, previews, builds, requests or git operations ever stops a workspace on the plan. Past
213 the $10, usage is charged at cost plus 20%, and only your spend limit stops it. Unused included usage does
214 not roll over.
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look215 </p>
216 </div>
217 </div>
218 <p className="mt-5 text-sm text-muted">An owner starts the plan from the workspace's Billing page.</p>
219 </section>
220
221 <h2 className="mt-14 text-xl font-semibold tracking-tight">Free and the plan, side by side</h2>
222 <p className="mt-1 text-sm text-muted">No security feature is held back for a plan.</p>
223 {/* On a phone, one row at a time with both answers under it; a table that wide would scroll. */}
224 <ul className="mt-4 divide-y divide-line rounded-xl border border-line text-sm sm:hidden">
225 {rows(tier).map((row) => (
226 <li key={row.what} className="px-4 py-3">
227 <p className="font-medium">{row.what}</p>
228 {row.note && <p className="text-xs text-faint">{row.note}</p>}
229 <dl className="mt-2 grid grid-cols-[4.5rem_1fr] gap-x-3 gap-y-1.5">
230 <dt className="text-xs leading-5 text-faint">Free</dt>
231 <dd className="text-muted">{row.free}</dd>
232 <dt className="text-xs leading-5 text-faint">{plan.title}</dt>
233 <dd className="text-muted">{row.plan}</dd>
234 </dl>
235 </li>
236 ))}
237 </ul>
238 <div className="mt-4 hidden overflow-x-auto rounded-xl border border-line sm:block">
239 <table className="w-full min-w-[36rem] text-left text-sm">
240 <thead className="border-b border-line text-xs text-muted">
241 <tr>
242 <th className="px-4 py-2.5 font-medium">
243 <span className="sr-only">What</span>
244 </th>
245 <th className="px-4 py-2.5 font-medium">Free</th>
246 <th className="px-4 py-2.5 font-medium">
247 {plan.title}, ${price} a month
248 </th>
249 </tr>
250 </thead>
251 <tbody className="divide-y divide-line">
252 {rows(tier).map((row) => (
253 <tr key={row.what} className="align-top">
254 <td className="px-4 py-3">
255 <p className="font-medium">{row.what}</p>
256 {row.note && <p className="text-xs text-faint">{row.note}</p>}
257 </td>
258 <td className="px-4 py-3 text-muted">{row.free}</td>
259 <td className="px-4 py-3 text-muted">{row.plan}</td>
260 </tr>
261 ))}
262 </tbody>
263 </table>
264 </div>
265 <p className="mt-3 text-sm text-muted">
266 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 quotas267 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 look268 </p>
269
270 <h2 className="mt-14 text-xl font-semibold tracking-tight">No card, no compute</h2>
271 <div className="mt-3 max-w-3xl space-y-3 text-sm text-muted">
272 <p>
273 Agents, checks, workflows, the merge queue, deployments and semantic search run on g1t's machines. They need
274 the plan, or a card check.
275 </p>
276 <p>
277 The reason: compute costs g1t real money from the first second, and free compute draws people who use it to
278 mine cryptocurrency. A card check is the smallest gate that stops that, with one trial per card.
279 </p>
280 <p>
281 A card check is never charged. Stripe saves and verifies the card, with 3-D Secure where your bank asks for it.
282 Nothing is charged until an owner starts the plan, and then the same card is used, without asking for it again.
283 The trial needs a credit or debit card; prepaid cards can still pay for the plan.
284 </p>
285 </div>
286
287 <div className="mt-5 grid gap-4 sm:grid-cols-2">
288 <section className="rounded-xl border border-line bg-surface p-5">
289 <h3 className="font-medium">The trial</h3>
290 <p className="mt-1.5 text-sm text-muted">
291 {dollars(tier.trialWorkspaceMicros)} of usage, once per workspace and once per card, after a card check with a credit or
292 debit card. It comes from a{" "}
293 {dollars(tier.trialMonthlyPoolMicros)} pool each month for everyone; when a month's pool is given out, new
294 trials wait until the 1st. The trial does not cover deployments and never turns into a charge. If the last
295 run on a trial goes past it, g1t covers the difference.
296 </p>
297 </section>
298 <section className="rounded-xl border border-line bg-surface p-5">
299 <h3 className="font-medium">The open-source pool</h3>
300 <p className="mt-1.5 text-sm text-muted">
301 Checks, workflows and the merge queue on public repositories, after a card check:{" "}
302 {dollars(tier.ossPoolMicros)} a month in all, up to {dollars(tier.ossRepoMicros)} a month per repository.
303 Agents do not run from the pool. When the pool or a repository's share is used up, the work waits for the
304 month to turn, or the workspace pays as usual.
305 </p>
306 </section>
307 </div>
308
309 <h2 className="mt-14 text-xl font-semibold tracking-tight">Limits, and how to raise them</h2>
310 <p className="mt-1 max-w-3xl text-sm text-muted">
311 g1t lets usage run ahead of payment only so far. Limits keep a mistake small, for you and for g1t.
312 </p>
313 <ul className="mt-4 grid gap-3 text-sm sm:grid-cols-2">
314 <li className="rounded-xl border border-line bg-surface p-4">
315 <p className="font-medium">{dollars(tier.paidStartCeilingMicros)} in the first month</p>
316 <p className="mt-1 text-muted">
317 A workspace on the plan can use up to {dollars(tier.paidStartCeilingMicros)} in its first month. After that,
318 the limit grows with payments that clear.
319 </p>
320 </li>
321 <li className="rounded-xl border border-line bg-surface p-4">
322 <p className="font-medium">Your own spend limit</p>
323 <p className="mt-1 text-muted">
324 Owners set a monthly spend limit anywhere up to the highest limit the workspace has had, with no approval.
325 Once, you can raise it yourself to twice that.
326 </p>
327 </li>
328 <li className="rounded-xl border border-line bg-surface p-4">
329 <p className="font-medium">Prepay to raise it now</p>
330 <p className="mt-1 text-muted">
331 Prepaying from $25 raises what you can use by the same amount, at once. From $1,000 you can also pay by bank
332 transfer.
333 </p>
334 </li>
335 <li className="rounded-xl border border-line bg-surface p-4">
336 <p className="font-medium">Raise my limit</p>
337 <p className="mt-1 text-muted">
338 Need more? Ask from Billing with the amount, why, and what you expect to spend. You get an answer within one
339 business day, in the app and by email.
340 </p>
341 </li>
342 </ul>
343
344 <h2 className="mt-14 text-xl font-semibold tracking-tight">When usage runs high</h2>
345 <ul className="mt-4 grid gap-3 text-sm sm:grid-cols-2">
346 <li className="rounded-xl border border-line bg-surface p-4">
347 <p className="font-medium">A spike pauses new work</p>
348 <p className="mt-1 text-muted">
349 When an hour's spend is five times your usual hour, and at least $5, new compute waits for an owner to choose
350 Keep going or Stop. Runs already going finish.
351 </p>
352 </li>
353 <li className="rounded-xl border border-line bg-surface p-4">
354 <p className="font-medium">Caps per run and per issue</p>
355 <p className="mt-1 text-muted">
356 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.
357 Owners change both on Billing.
358 </p>
359 </li>
360 <li className="rounded-xl border border-line bg-surface p-4">
361 <p className="font-medium">Alerts at 50, 75, 90 and 100%</p>
362 <p className="mt-1 text-muted">
363 Of the plan's included usage, your spend limit and g1t's limit: in the app and by email.
364 </p>
365 </li>
366 <li className="rounded-xl border border-line bg-surface p-4">
367 <p className="font-medium">Spent more than you meant to? Tell us</p>
368 <p className="mt-1 text-muted">
369 Tell us from Billing what happened. Once in 12 months, g1t can credit back usage you did not mean, always
370 including its 20% on it. Larger credits, or a second one within 12 months, are reviewed by a person.
371 </p>
372 </li>
373 </ul>
374 <p className="mt-3 text-sm text-muted">
375 No card is charged less than {dollars(tier.minChargeMicros)} when a month closes, so a payment's fee is never most
376 of it. Smaller amounts carry over to the next invoice. Charges at a limit always go through.
377 </p>
378
379 <div className="mt-14 grid gap-4 sm:grid-cols-2">
Prices keep themselves current with what g1t pays380 {HOW.map((item) => (
381 <section key={item.title} className="rounded-xl border border-line bg-surface p-5">
382 <h2 className="font-medium">{item.title}</h2>
383 <p className="mt-1.5 text-sm text-muted">{item.body}</p>
384 </section>
385 ))}
386 </div>
387
388 <h2 className="mt-14 text-xl font-semibold tracking-tight">Usage</h2>
389 <p className="mt-1 text-sm text-muted">
390 {checked ? (
391 <>
392 Last checked against Cloudflare's bill <TimeAgo at={checked} />.
393 </>
394 ) : (
395 "Starting from Cloudflare's published prices; checked against its bill daily."
396 )}
397 </p>
398 <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 look399 <table className="w-full text-left text-sm sm:min-w-[36rem]">
Prices keep themselves current with what g1t pays400 <thead className="border-b border-line text-xs text-muted">
401 <tr>
402 <th className="px-4 py-2.5 font-medium">What</th>
403 <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 look404 {/* The markup is in what you pay; on a phone the column gives way. */}
405 <th className="hidden px-4 py-2.5 font-medium sm:table-cell">Markup</th>
Prices keep themselves current with what g1t pays406 <th className="px-4 py-2.5 font-medium">You pay</th>
407 </tr>
408 </thead>
409 <tbody className="divide-y divide-line">
410 <tr>
411 <td className="px-4 py-3">
412 <p className="font-medium">Models</p>
413 <p className="text-xs text-faint">g1t's hosted models, through AI Gateway</p>
414 </td>
415 <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 look416 <td className="hidden px-4 py-3 tabular-nums sm:table-cell">{book?.modelMarginPercent ?? 20}%</td>
Prices keep themselves current with what g1t pays417 <td className="px-4 py-3 text-muted">Cost + {book?.modelMarginPercent ?? 20}%</td>
418 </tr>
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas419 <tr>
420 <td className="px-4 py-3">
421 <p className="font-medium">Projects, previews and apps</p>
Git storage hardened, pages in tens of milliseconds, honest security alerts, and costs reconciled daily422 <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 quotas423 </td>
424 <td className="px-4 py-3 text-muted">Next to nothing</td>
425 <td className="hidden px-4 py-3 tabular-nums sm:table-cell">—</td>
426 <td className="px-4 py-3 text-muted">Not charged</td>
427 </tr>
428 {(book?.prices ?? []).filter((price) => price.meter !== "app_month").map((price) => (
Prices keep themselves current with what g1t pays429 <tr key={price.meter}>
430 <td className="px-4 py-3">
431 <p className="font-medium">{price.title}</p>
432 <p className="text-xs text-faint">
Git storage hardened, pages in tens of milliseconds, honest security alerts, and costs reconciled daily433 {price.meter === "actions_cache" ? "On the plan only. A free workspace is never charged for it. " : ""}
Prices keep themselves current with what g1t pays434 {price.source === "cloudflare" ? "Measured from Cloudflare's bill" : "Cloudflare's published price"}
435 </p>
436 </td>
437 <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 look438 <td className="hidden px-4 py-3 tabular-nums sm:table-cell">{price.markupPercent}%</td>
Prices keep themselves current with what g1t pays439 <td className="px-4 py-3 font-mono text-xs tabular-nums">{perUnit(price, price.priceMicros)}</td>
440 </tr>
441 ))}
Team plan, an open-source pool, monthly trials and honest metering; the sidebar for everyone; a workspace that stays put442 </tbody>
443 </table>
444 </div>
445
446 <h2 className="mt-14 text-xl font-semibold tracking-tight">Enterprise</h2>
447 <p className="mt-1 text-sm text-muted">
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look448 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 put449 </p>
Prices keep themselves current with what g1t pays450 <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 put451 <ul className="grid gap-3 text-sm sm:grid-cols-2">
452 <li>
453 <p className="font-medium">Consolidated invoicing</p>
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look454 <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 put455 </li>
456 <li>
457 <p className="font-medium">Custom terms</p>
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look458 <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 put459 </li>
460 <li>
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look461 <p className="font-medium">Security on every plan</p>
462 <p className="text-muted">
463 The audit log for {tier.auditRetentionDays} days with export, and secret push protection, for every workspace.
464 </p>
Team plan, an open-source pool, monthly trials and honest metering; the sidebar for everyone; a workspace that stays put465 </li>
466 <li>
467 <p className="font-medium">
468 Single sign-on <span className="ml-1 rounded bg-raised px-1.5 py-0.5 text-xs text-muted">Coming</span>
469 </p>
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look470 <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 put471 </li>
472 </ul>
473 <a
474 href={ENTERPRISE_MAIL}
475 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"
476 >
477 Write to us about enterprise
478 <ArrowUpRight size={14} />
479 </a>
Prices keep themselves current with what g1t pays480 </section>
481
482 <h2 className="mt-14 text-xl font-semibold tracking-tight">Price changes</h2>
483 {book && book.changes.length > 0 ? (
484 <ul className="mt-4 divide-y divide-line rounded-xl border border-line">
485 {book.changes.map((change) => {
486 const title = book.prices.find((p) => p.meter === change.meter)?.title ?? change.meter;
Prices are what g1t pays plus 20%, from the first second487 // What you pay moved: the cost, the markup, or both.
488 const before = change.oldCostMicros * (100 + (change.oldMarkupPercent ?? change.markupPercent));
489 const after = change.newCostMicros * (100 + change.markupPercent);
490 const up = after > before;
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look491 const fresh = after === before || before === 0;
Prices keep themselves current with what g1t pays492 return (
493 <li key={`${change.meter}-${change.createdAt}`} className="px-4 py-3 text-sm">
494 <p>
495 <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 put496 {fresh ? (
497 <span className="text-muted">new</span>
498 ) : (
499 <span className={up ? "text-warn" : "text-accent"}>
500 {up ? "up" : "down"} {Math.abs((after / before - 1) * 100).toFixed(1)}%
501 </span>
502 )}
Prices keep themselves current with what g1t pays503 </p>
504 <p className="mt-0.5 text-xs text-faint">
Git storage hardened, pages in tens of milliseconds, honest security alerts, and costs reconciled daily505 {change.effectiveAt ? (
506 <>
507 {change.reason} · <span className="text-fg-soft">takes effect {change.effectiveAt.slice(0, 10)}</span>
508 </>
509 ) : (
510 <>
511 {change.reason} · <TimeAgo at={change.createdAt} />
512 </>
513 )}
Prices keep themselves current with what g1t pays514 </p>
515 </li>
516 );
517 })}
518 </ul>
519 ) : (
Prices are what g1t pays plus 20%, from the first second520 <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 pays521 )}
522
523 <a
524 href="https://docs.g1t.sh/guides/usage-and-billing/"
525 className="mt-12 inline-flex items-center gap-1.5 text-sm text-accent hover:underline"
526 >
527 How usage and billing work
528 <ArrowUpRight size={14} />
529 </a>
530 </main>
531 );
532}