Repository navigation
feat(ui): add Copilot SEO pages and calculator #3021
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
df7c193
feat(ui): add Copilot SEO pages and calculator
smakosh 8a99355
Optimised images with calibre/image-actions
steebchen 71bf1ea
Optimised images with calibre/image-actions
steebchen 840ca44
Optimised images with calibre/image-actions
steebchen 35cc352
Optimised images with calibre/image-actions
steebchen b01fab9
Optimised images with calibre/image-actions
steebchen 5909986
Optimised images with calibre/image-actions
steebchen ecf0424
Optimised images with calibre/image-actions
steebchen 07baa98
fix(ui): address review feedback on Copilot pages
smakosh e92280b
fix(ui): clarify session estimate and Claude pricing
smakosh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,103 @@ | ||
| import { CompareFaq } from "@/components/compare/compare-faq"; | ||
| import { HeroCompare } from "@/components/compare/hero-compare"; | ||
| import { ComparisonGitHubCopilot } from "@/components/landing/comparison-github-copilot"; | ||
| import Footer from "@/components/landing/footer"; | ||
|
|
||
| import type { CompareFaqItem } from "@/components/compare/compare-faq"; | ||
|
|
||
| const copilotFaqs: CompareFaqItem[] = [ | ||
| { | ||
| question: "Is LLM Gateway a GitHub Copilot alternative?", | ||
| answer: | ||
| "Yes, for chat and agentic coding. LLM Gateway routes any coding agent — Claude Code, Cline, Continue, Aider, or DevPass Code — to 200+ models with zero token markup, hard budget caps, and prompt caching. Copilot remains a fine choice for inline completions, which stay flat-fee.", | ||
| }, | ||
| { | ||
| question: "What changed with GitHub Copilot pricing in June 2026?", | ||
| answer: | ||
| "On June 1, 2026, GitHub replaced Premium Request Units with usage-based AI Credits (1 credit = $0.01). Base seats stayed at $10–$39 per user per month, but Copilot Chat, agent mode, code review, and CLI now bill by tokens consumed — with no spending ceiling unless you manually configure a budget.", | ||
| }, | ||
| { | ||
| question: "How much does GitHub Copilot cost after the change?", | ||
| answer: | ||
| "The seat price is unchanged — Pro $10, Pro+ $39, Business $19, and Enterprise $39 per user per month — but included credits run out fast under real usage. Heavy chat users on premium models report $150–$250 per month in overages, and agentic teams have projected 10–50x cost increases.", | ||
| }, | ||
| { | ||
| question: "How does LLM Gateway keep AI coding costs predictable?", | ||
| answer: | ||
| "Provider token rates pass through with no markup (a flat 5% fee on credits, or 0% with your own provider keys), prompt caching cuts repeat-token spend automatically, and budgets with hard limits can be set per organization, project, and API key — so a runaway agent can never blow the budget.", | ||
| }, | ||
| { | ||
| question: | ||
| "Can I keep Copilot for completions and use LLM Gateway for everything else?", | ||
| answer: | ||
| "Yes, that hybrid setup is common: keep a $10 Copilot Pro seat for inline completions, and route chat and agent workloads through LLM Gateway with a flat DevPass plan (from $29/month) or pay-as-you-go usage. You get frontier models at pass-through prices with a hard cap on spend.", | ||
| }, | ||
| { | ||
| question: "What are the best GitHub Copilot alternatives in 2026?", | ||
| answer: | ||
| "Teams leaving Copilot's usage billing typically evaluate LLM Gateway with the coding agent of their choice (DevPass Code, Claude Code, Cline, Continue, or Aider), plus flat-fee IDE products like Cursor and Windsurf. The right pick depends on whether you want an editor, an agent, or infrastructure you control.", | ||
| }, | ||
| ]; | ||
|
|
||
| export default function CompareGitHubCopilotPage() { | ||
| return ( | ||
| <div className="min-h-screen bg-white text-black dark:bg-black dark:text-white"> | ||
| <main> | ||
| <HeroCompare | ||
| content={{ | ||
| heading: "The Cost-Controlled GitHub Copilot Alternative", | ||
| description: | ||
| "Copilot's June 2026 switch to usage-based AI Credits removed the ceiling on your AI bill. LLM Gateway routes any coding agent to 200+ models with zero token markup, prompt caching, and hard budget caps per team, project, and key.", | ||
| badges: [ | ||
| "No Token Markup", | ||
| "Hard Budget Caps", | ||
| "200+ Models", | ||
| "Any Coding Agent", | ||
| ], | ||
| cta: { | ||
| primary: { | ||
| text: "Start for Free", | ||
| href: "/signup", | ||
| }, | ||
| secondary: { | ||
| text: "Estimate Your Copilot Costs", | ||
| href: "/copilot-cost-calculator", | ||
| }, | ||
| }, | ||
| }} | ||
| /> | ||
| <ComparisonGitHubCopilot /> | ||
| <CompareFaq | ||
| heading="LLM Gateway vs GitHub Copilot" | ||
| description="Common questions about moving off GitHub Copilot's usage-based billing." | ||
| faqs={copilotFaqs} | ||
| /> | ||
| </main> | ||
| <Footer /> | ||
| </div> | ||
| ); | ||
| } | ||
|
|
||
| export async function generateMetadata() { | ||
| return { | ||
| title: "LLM Gateway vs GitHub Copilot — Costs Compared (2026)", | ||
| description: | ||
| "Copilot now bills chat and agents by usage-based AI Credits. Compare it with LLM Gateway: zero token markup, hard budget caps, prompt caching, and 200+ models for any coding agent.", | ||
| alternates: { canonical: "/compare/github-copilot" }, | ||
| openGraph: { | ||
| title: "LLM Gateway vs GitHub Copilot — Costs Compared (2026)", | ||
| description: | ||
| "Copilot bills chat and agents by usage-based AI Credits. LLM Gateway: zero token markup, hard budget caps, and 200+ models for any coding agent.", | ||
| type: "website", | ||
| url: "https://llmgateway.io/compare/github-copilot", | ||
| images: ["/opengraph.png?v=2"], | ||
| }, | ||
| twitter: { | ||
| card: "summary_large_image", | ||
| title: "LLM Gateway vs GitHub Copilot — Costs Compared (2026)", | ||
| description: | ||
| "Copilot bills chat and agents by usage-based AI Credits. LLM Gateway: zero token markup, hard budget caps, and 200+ models for any coding agent.", | ||
| images: ["/opengraph.png?v=2"], | ||
| }, | ||
| }; | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,123 @@ | ||
| import { CopilotCostCalculatorClient } from "@/components/copilot-cost-calculator/copilot-cost-calculator-client"; | ||
| import { CopilotCostCalculatorContent } from "@/components/copilot-cost-calculator/copilot-cost-calculator-content"; | ||
| import { COPILOT_CALCULATOR_FAQ } from "@/components/copilot-cost-calculator/faq-data"; | ||
| import Footer from "@/components/landing/footer"; | ||
| import { HeroRSC } from "@/components/landing/hero-rsc"; | ||
|
|
||
| import type { Metadata } from "next"; | ||
|
|
||
| const PAGE_URL = "https://llmgateway.io/copilot-cost-calculator"; | ||
|
|
||
| export const metadata: Metadata = { | ||
| title: "GitHub Copilot Cost Calculator (2026 AI Credits)", | ||
| description: | ||
| "Free calculator for GitHub Copilot's usage-based AI Credits billing. Estimate your team's monthly Copilot bill and compare the same workload at pass-through token prices with caching and hard budget caps.", | ||
| keywords: [ | ||
| "GitHub Copilot cost calculator", | ||
| "Copilot pricing calculator", | ||
| "Copilot AI Credits", | ||
| "GitHub Copilot token billing", | ||
| "Copilot enterprise cost", | ||
| "GitHub Copilot pricing 2026", | ||
| "AI coding cost calculator", | ||
| "Copilot alternative pricing", | ||
| "cap AI coding spend", | ||
| ], | ||
| alternates: { | ||
| canonical: "/copilot-cost-calculator", | ||
| }, | ||
| openGraph: { | ||
| type: "website", | ||
| url: PAGE_URL, | ||
| title: "GitHub Copilot Cost Calculator (2026 AI Credits) | LLM Gateway", | ||
| description: | ||
| "Model your team's Copilot AI Credits bill after the June 2026 change and compare the same workload routed through LLM Gateway.", | ||
| images: [{ url: "/opengraph.png?v=1" }], | ||
| }, | ||
| twitter: { | ||
| card: "summary_large_image", | ||
| title: "GitHub Copilot Cost Calculator (2026 AI Credits) | LLM Gateway", | ||
| description: | ||
| "Estimate your team's Copilot AI Credits bill and see what the same usage costs at pass-through token prices with caching.", | ||
| images: ["/opengraph.png?v=1"], | ||
| }, | ||
| }; | ||
|
|
||
| const breadcrumbSchema = { | ||
| "@context": "https://schema.org", | ||
| "@type": "BreadcrumbList", | ||
| itemListElement: [ | ||
| { | ||
| "@type": "ListItem", | ||
| position: 1, | ||
| name: "Home", | ||
| item: "https://llmgateway.io", | ||
| }, | ||
| { | ||
| "@type": "ListItem", | ||
| position: 2, | ||
| name: "Copilot Cost Calculator", | ||
| item: PAGE_URL, | ||
| }, | ||
| ], | ||
| }; | ||
|
|
||
| const appSchema = { | ||
| "@context": "https://schema.org", | ||
| "@type": "SoftwareApplication", | ||
| name: "GitHub Copilot Cost Calculator", | ||
| applicationCategory: "FinanceApplication", | ||
| operatingSystem: "Web", | ||
| url: PAGE_URL, | ||
| description: | ||
| "Free tool to estimate a team's monthly GitHub Copilot bill under the June 2026 AI Credits billing model — seats, included credits, chat, and agent usage — and compare the same workload routed through LLM Gateway at pass-through token prices with prompt caching and hard budget caps.", | ||
| offers: { | ||
| "@type": "Offer", | ||
| price: "0", | ||
| priceCurrency: "USD", | ||
| }, | ||
| publisher: { | ||
| "@type": "Organization", | ||
| name: "LLM Gateway", | ||
| url: "https://llmgateway.io", | ||
| }, | ||
| }; | ||
|
|
||
| const faqSchema = { | ||
| "@context": "https://schema.org", | ||
| "@type": "FAQPage", | ||
| mainEntity: COPILOT_CALCULATOR_FAQ.map((item) => ({ | ||
| "@type": "Question", | ||
| name: item.question, | ||
| acceptedAnswer: { | ||
| "@type": "Answer", | ||
| text: item.answer, | ||
| }, | ||
| })), | ||
| }; | ||
|
|
||
| export default function CopilotCostCalculatorPage() { | ||
| return ( | ||
| <div> | ||
| <script | ||
| type="application/ld+json" | ||
| // eslint-disable-next-line @eslint-react/dom/no-dangerously-set-innerhtml | ||
| dangerouslySetInnerHTML={{ __html: JSON.stringify(breadcrumbSchema) }} | ||
| /> | ||
| <script | ||
| type="application/ld+json" | ||
| // eslint-disable-next-line @eslint-react/dom/no-dangerously-set-innerhtml | ||
| dangerouslySetInnerHTML={{ __html: JSON.stringify(appSchema) }} | ||
| /> | ||
| <script | ||
| type="application/ld+json" | ||
| // eslint-disable-next-line @eslint-react/dom/no-dangerously-set-innerhtml | ||
| dangerouslySetInnerHTML={{ __html: JSON.stringify(faqSchema) }} | ||
| /> | ||
| <HeroRSC navbarOnly /> | ||
| <CopilotCostCalculatorClient /> | ||
| <CopilotCostCalculatorContent /> | ||
| <Footer /> | ||
| </div> | ||
| ); | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.