diff --git a/Readme.md b/Readme.md index 3cda9667d..cf01aecdd 100644 --- a/Readme.md +++ b/Readme.md @@ -21,7 +21,7 @@ ## Akash Network Website -Explore the repository for the Akash Network website, skillfully developed by [Hooman Digital](https://twitter.com/hooman_digital). The website serves as a dynamic showcase, illustrating the prowess and capabilities of Akash Network—a decentralized cloud computing marketplace revolutionizing the digital landscape.. +Explore the repository for the Akash Network website, skillfully developed by [Hooman Digital](https://twitter.com/hooman_digital). The website serves as a dynamic showcase, illustrating the prowess and capabilities of Akash Network—a decentralized cloud computing marketplace revolutionizing the digital landscape... ## Getting Started Locally diff --git a/src/components/home/gpu-pricing.astro b/src/components/home/gpu-pricing.astro new file mode 100644 index 000000000..1195e8309 --- /dev/null +++ b/src/components/home/gpu-pricing.astro @@ -0,0 +1,691 @@ +--- +import { getEntry } from "astro:content"; +import axios from "axios"; +import { gpus } from "@/utils/api"; + +const content = await getEntry("Homepage", "index"); +const data = content.data.gpuPricing; + +const gpuModels = ["H200", "H100", "A100"]; + +const staticPrices = { + H200: { aws: 7.91, gcp: 10.44, coreweave: 6.31 }, + H100: { aws: 6.88, gcp: 14.19, coreweave: 6.16 }, + A100: { aws: 3.43, gcp: 4.03, coreweave: 2.70 } +}; + +let akashPrices = { + H200: 0, + H100: 0, + A100: 0 +}; + +try { + + const res = await axios.get(gpus); + const models = res?.data?.models || []; + + const findPrice = (name: string) => + models.find((m: any) => m?.model?.toLowerCase().includes(name)) + ?.price?.weightedAverage; + + const h200 = findPrice("h200"); + const h100 = findPrice("h100"); + const a100 = findPrice("a100"); + + if (h200) akashPrices.H200 = Number(h200.toFixed(2)); + if (h100) akashPrices.H100 = Number(h100.toFixed(2)); + if (a100) akashPrices.A100 = Number(a100.toFixed(2)); + +} catch {} +--- + +
+
+ + + +
+ +
+ +

+{data.title} +

+ +

+{data.subtitle} +

+ +
+ + + +{data.ctaText} + + + + + + + +
+ +
+ +

+Choose a GPU Model +

+ + + + + + + + + +
+ + + +
+ +
+ +{gpuModels.map((gpu)=>( + +))} + +
+ +
+ +
+ +1 + +
+ +
+ +1h + +
+ +
+ +
+ + + + + +
+ + + +
+ +
+ + + + + +Akash +
+ +
+ +
+ + + + +
+ +
+ +Save % + + + +{data.deployText} + + + + +
+ +
+ +
+ + + + +
+ +
+ + + + + + + + + + + + + +AWS +
+ +
+ +
+ + + + +
+ +
+ +
+ + + + +
+ +
+ + + + + + + + + + + + + + +Google Cloud +
+ +
+ +
+ + + + +
+ +
+ +
+ + + + +
+ +
+ + + + + + + + + + + + + + +Coreweave +
+ +
+ +
+ + + + +
+ +
+ +
+ +
+ +
+ + + + + + + +

+{data.description} +

+ +
+
+ + + + + \ No newline at end of file diff --git a/src/components/home/trustedby/trusted-by.astro b/src/components/home/trustedby/trusted-by.astro index be803b18e..938139528 100644 --- a/src/components/home/trustedby/trusted-by.astro +++ b/src/components/home/trustedby/trusted-by.astro @@ -1,10 +1,10 @@ --- -import ExpandedGpuPricing from "../ExpandedGpuPricing"; +import GpuPricing from "../gpu-pricing.astro"; import TrustedByMarquee from "../TrustedByMarquee"; import { trustedBySection } from "./trustedby"; --- -
+

@@ -17,8 +17,8 @@ import { trustedBySection } from "./trustedby";

-
- +
+
diff --git a/src/content/Homepage/index.md b/src/content/Homepage/index.md index d3090fbcf..c80cf39e4 100644 --- a/src/content/Homepage/index.md +++ b/src/content/Homepage/index.md @@ -32,6 +32,21 @@ heroSection: link: "/deploy" type: secondary +gpuPricing: + title: "The Efficiency Gap" + subtitle: "The price of centralization vs. the open market." + + ctaText: "View Pricing Page" + ctaLink: "/pricing/gpus" + + savePercent: 80 + deployText: "Deploy Now" + + description: > + Why the gap? Hyperscalers set prices in a boardroom to maximize margin. + Akash prices are set by a global reverse auction to maximize utilization. + You are paying for the silicon, not the overhead. + # infrastructure section content infrastructureSection: title: "Optimized for AI & Data Workloads" diff --git a/src/utils/schema/homepage.ts b/src/utils/schema/homepage.ts index bf4931632..f9329a678 100644 --- a/src/utils/schema/homepage.ts +++ b/src/utils/schema/homepage.ts @@ -24,6 +24,18 @@ export const homePageSchema = defineCollection({ }), ), }), + gpuPricing: z.object({ + title: z.string(), + subtitle: z.string(), + + ctaText: z.string(), + ctaLink: z.string(), + + savePercent: z.number(), + deployText: z.string(), + + description: z.string(), + }), infrastructureSection: z.object({ title: z.string(), description: z.string(),