Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/docs/content/learn/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ These pages apply to your entire organization:
- [**Org Preferences**](/learn/org-preferences) — Organization name and billing details
- [**Team**](/learn/team) — Manage team members and roles
- [**Member Analytics**](/learn/member-analytics) — Per-member cost and usage breakdowns (Enterprise)
- [**Master Keys**](/learn/master-keys) — Provision projects and API keys programmatically (Enterprise)
- [**Audit Logs**](/learn/audit-logs) — Complete history of organization actions

## Playground
Expand Down
70 changes: 70 additions & 0 deletions apps/docs/content/learn/master-keys.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
---
title: Master Keys
description: Provision projects and API keys programmatically with org-scoped master keys
icon: KeyRound
---

import { Callout } from "fumadocs-ui/components/callout";
import { ThemedImage } from "@/components/themed-image";

The Master Keys page lets you create and manage org-scoped bearer tokens for the `/v1/master/*` API — so your own backend can provision projects, gateway API keys, and IAM rules programmatically, without going through the dashboard.

<ThemedImage alt="Master Keys" basePath="/learn/master-keys" />

<Callout type="info">
Master Keys are available on the [**Enterprise
plan**](https://llmgateway.io/enterprise). Contact us at contact@llmgateway.io
to enable them for your organization.
</Callout>

## Creating a Master Key

Click **Create Master Key**, give the key a descriptive name (for example, "Provisioning backend"), and click create.

<ThemedImage
alt="Create Master Key dialog"
basePath="/learn/master-keys-create"
/>

<Callout type="warning">
The plain token (prefixed `llmgmk_`) is shown **only once** at creation time.
Copy it immediately and store it securely — only an HMAC-SHA256 hash is kept
in the database.
</Callout>

## Key List

Each master key in the list shows:

| Field | Description |
| -------------- | ------------------------------------------------------ |
| **Name** | The description you gave the key |
| **Master Key** | Masked form of the token, for identification |
| **Status** | Active or inactive |
| **Created** | When the key was created |
| **Created By** | The team member who created it |
| **Last Used** | Timestamp of the key's most recent `/v1/master/*` call |

## Managing Keys

Use the actions menu on each row to:

- **Activate / Deactivate** — Temporarily suspend a key without deleting it. Inactive keys receive a 401 on every request.
- **Delete** — Permanently revoke the key. Any system using it immediately loses access to the `/v1/master/*` API.

Every create, delete, and status change is recorded in your organization's [audit log](/learn/audit-logs).

## Limits

Each organization can have up to **10 active master keys**. A usage bar above the list shows how many you've used; contact us if you need more.

## Using a Master Key

Master keys authenticate against the programmatic provisioning API:

```bash
curl https://internal.llmgateway.io/v1/master/projects \
-H "Authorization: Bearer llmgmk_..."
```

See the [Master Keys feature documentation](/features/master-keys) for the full endpoint reference, including project management, gateway API key provisioning, and IAM rules.
1 change: 1 addition & 0 deletions apps/docs/content/learn/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"team",
"org-analytics",
"member-analytics",
"master-keys",
"audit-logs",
"playground",
"playground-group",
Expand Down
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.
Binary file added apps/docs/public/learn/master-keys-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/docs/public/learn/master-keys-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
94 changes: 94 additions & 0 deletions apps/ui/src/app/compare/aws-bedrock/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
import { CompareFaq } from "@/components/compare/compare-faq";
import { HeroCompare } from "@/components/compare/hero-compare";
import { ComparisonBedrock } from "@/components/landing/comparison-bedrock";
import Footer from "@/components/landing/footer";

import type { CompareFaqItem } from "@/components/compare/compare-faq";

const bedrockFaqs: CompareFaqItem[] = [
{
question: "Is LLM Gateway a good AWS Bedrock alternative?",
answer:
"Yes — if you want frontier models without committing to one cloud. LLM Gateway puts 200+ models from 40+ providers behind a single OpenAI-compatible API, with automatic routing, failover, caching, and per-request cost analytics. It's fully open source (AGPLv3) and self-hostable, so nothing ties you to a hyperscaler.",
},
{
question: "Can I keep using AWS Bedrock with LLM Gateway?",
answer:
"Yes. AWS Bedrock is a built-in LLM Gateway provider. Bring your own AWS credentials and route Bedrock traffic through the gateway with 0% markup — you keep your AWS commitments and compliance posture while gaining cross-provider failover, caching, and unified analytics on top.",
},
{
question: "Doesn't Bedrock already have OpenAI and Anthropic models?",
answer:
"It does — Bedrock hosts OpenAI's frontier models and Anthropic's Claude family, among others. But the catalog is limited to what AWS hosts: there's no Google Gemini and no fast independent hosts like Groq or Cerebras. LLM Gateway routes across all of them, including Bedrock itself, from one API.",
},
{
question: "How does pricing compare to AWS Bedrock?",
answer:
"Bedrock bills model-provider rates through your AWS account. LLM Gateway charges the same provider rates with a flat 5% platform fee on credits — or 0% when you bring your own provider keys, including AWS credentials. Self-hosting the open-source gateway is free.",
},
{
question: "How hard is it to migrate from Bedrock to LLM Gateway?",
answer:
"Minimal effort. LLM Gateway exposes an OpenAI-compatible API, so most apps switch by changing the base URL and API key. There's no IAM policy work, model-access requests, or region planning — sign up, create a key, and every supported model is available immediately.",
},
];

export default function CompareBedrockPage() {
return (
<div className="min-h-screen bg-white text-black dark:bg-black dark:text-white">
<main>
<HeroCompare
content={{
heading: "Looking Beyond AWS Bedrock?",
description:
"Bedrock gives you the models AWS hosts. LLM Gateway gives you every major lab and cloud — including Bedrock itself — behind one open-source, OpenAI-compatible API with automatic routing and failover.",
badges: [
"Cloud-Neutral",
"Fully Open Source",
"Cross-Cloud Failover",
"Bedrock Built In",
],
cta: {
primary: {
text: "Start for Free",
href: "/signup",
},
secondary: {
text: "View Documentation",
href: "https://docs.llmgateway.io",
external: true,
},
},
}}
/>
<ComparisonBedrock />
<CompareFaq
heading="LLM Gateway vs AWS Bedrock"
description="Common questions about using LLM Gateway alongside or instead of Amazon Bedrock."
faqs={bedrockFaqs}
/>
</main>
<Footer />
</div>
);
}

export async function generateMetadata() {
return {
title: "LLM Gateway vs AWS Bedrock — The Cloud-Neutral Alternative",
description:
"Compare LLM Gateway and Amazon Bedrock: 40+ providers behind one OpenAI-compatible API vs an AWS-hosted catalog. Keep Bedrock as a provider with 0% markup and add cross-cloud failover, caching, and cost analytics.",
openGraph: {
title: "LLM Gateway vs AWS Bedrock - Feature Comparison",
description:
"Compare LLM Gateway's cloud-neutral, open-source platform against Amazon Bedrock's AWS-hosted model catalog. Route to Bedrock and 40+ other providers from one API.",
type: "website",
},
twitter: {
card: "summary_large_image",
title: "LLM Gateway vs AWS Bedrock - Feature Comparison",
description:
"Compare LLM Gateway's cloud-neutral, open-source platform against Amazon Bedrock's AWS-hosted model catalog. Route to Bedrock and 40+ other providers from one API.",
},
};
}
94 changes: 94 additions & 0 deletions apps/ui/src/app/compare/azure-ai-foundry/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
import { CompareFaq } from "@/components/compare/compare-faq";
import { HeroCompare } from "@/components/compare/hero-compare";
import { ComparisonAzureFoundry } from "@/components/landing/comparison-azure-foundry";
import Footer from "@/components/landing/footer";

import type { CompareFaqItem } from "@/components/compare/compare-faq";

const foundryFaqs: CompareFaqItem[] = [
{
question: "Is LLM Gateway a good Azure AI Foundry alternative?",
answer:
"Yes — if you want frontier models without committing to one cloud. LLM Gateway puts 200+ models from 40+ providers behind a single OpenAI-compatible API, with automatic routing, failover, caching, and per-request cost analytics. It's fully open source (AGPLv3) and self-hostable, and there are no deployments or TPM quotas to manage.",
},
{
question: "Can I keep using Azure with LLM Gateway?",
answer:
"Yes. Azure OpenAI and Azure AI Foundry are built-in LLM Gateway providers. Bring your Azure credentials and route your Azure traffic through the gateway with 0% markup — you keep your Microsoft agreements and compliance posture while gaining cross-provider failover, caching, and unified analytics on top.",
},
{
question: "Doesn't Foundry already have OpenAI and Claude models?",
answer:
"It does — Foundry hosts OpenAI's models and Anthropic's Claude family, among a large Azure-hosted catalog. But everything runs inside Azure: there's no Google Gemini and no fast independent hosts like Groq or Cerebras, and each model needs a deployment with quota. LLM Gateway routes across all of them, including Azure itself, from one API with no provisioning.",
},
{
question: "How does pricing compare to Azure AI Foundry?",
answer:
"Foundry bills model rates through your Azure subscription, with provisioned-throughput (PTU) reservations for guaranteed capacity. LLM Gateway charges the same provider rates with a flat 5% platform fee on credits — or 0% when you bring your own provider keys, including Azure credentials. Self-hosting the open-source gateway is free.",
},
{
question: "How hard is it to migrate from Azure AI Foundry to LLM Gateway?",
answer:
"Minimal effort. LLM Gateway exposes an OpenAI-compatible API, so most apps switch by changing the base URL and API key. There are no resources to create, models to deploy, or regional quotas to plan — sign up, create a key, and every supported model is available immediately.",
},
];

export default function CompareAzureFoundryPage() {
return (
<div className="min-h-screen bg-white text-black dark:bg-black dark:text-white">
<main>
<HeroCompare
content={{
heading: "Looking Beyond Azure AI Foundry?",
description:
"Foundry gives you the models Azure hosts — after you create resources, deployments, and quotas. LLM Gateway gives you every major lab and cloud — including Azure itself — behind one open-source, OpenAI-compatible API. No provisioning required.",
badges: [
"Cloud-Neutral",
"Fully Open Source",
"No Deployments or Quotas",
"Azure Built In",
],
cta: {
primary: {
text: "Start for Free",
href: "/signup",
},
secondary: {
text: "View Documentation",
href: "https://docs.llmgateway.io",
external: true,
},
},
}}
/>
<ComparisonAzureFoundry />
<CompareFaq
heading="LLM Gateway vs Azure AI Foundry"
description="Common questions about using LLM Gateway alongside or instead of Azure AI Foundry."
faqs={foundryFaqs}
/>
</main>
<Footer />
</div>
);
}

export async function generateMetadata() {
return {
title: "LLM Gateway vs Azure AI Foundry — The Cloud-Neutral Alternative",
description:
"Compare LLM Gateway and Azure AI Foundry: 40+ providers behind one OpenAI-compatible API vs an Azure-hosted catalog with deployments and quotas. Keep Azure as a provider with 0% markup and add cross-cloud failover, caching, and cost analytics.",
openGraph: {
title: "LLM Gateway vs Azure AI Foundry - Feature Comparison",
description:
"Compare LLM Gateway's cloud-neutral, open-source platform against Azure AI Foundry's Azure-hosted model catalog. Route to Azure and 40+ other providers from one API.",
type: "website",
},
twitter: {
card: "summary_large_image",
title: "LLM Gateway vs Azure AI Foundry - Feature Comparison",
description:
"Compare LLM Gateway's cloud-neutral, open-source platform against Azure AI Foundry's Azure-hosted model catalog. Route to Azure and 40+ other providers from one API.",
},
};
}
58 changes: 58 additions & 0 deletions apps/ui/src/app/guides/[slug]/opengraph-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -261,11 +261,66 @@ const MimoCodeIcon = () => (
</svg>
);

// Kilo Code Icon
const KiloCodeIcon = () => (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
width={100}
height={100}
>
<path
d="M6 3v18M6 12l6-6M6 12l6 6M12 6l6 6-6 6"
stroke="#ffffff"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
);

// DevPass Code Icon (LLM Gateway logo mark)
const DevPassCodeIcon = () => (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 218 232"
fill="none"
width={100}
height={100}
>
<path
d="M218 59.4686c0-4.1697-2.351-7.9813-6.071-9.8441L119.973 3.58361s2.926 3.32316 2.926 7.01529V218.833c0 4.081-2.926 7.016-2.926 7.016l15.24-7.468c2.964-2.232 7.187-7.443 7.438-16.006.293-9.976.61-84.847.732-121.0353.487-3.6678 4.096-11.0032 14.63-11.0032 10.535 0 29.262 5.1348 37.309 7.7022 2.439.7336 7.608 4.1812 8.779 12.1036 1.17 7.9223.975 59.0507.731 83.6247 0 2.445.137 7.069 6.653 7.069 6.515 0 6.515-7.069 6.515-7.069V59.4686Z"
fill="#ffffff"
/>
<path
d="M149.235 86.323c0-5.5921 5.132-9.7668 10.589-8.6132l31.457 6.6495c4.061.8585 6.967 4.4207 6.967 8.5824v81.9253c0 5.868 5.121 9.169 5.121 9.169l-51.9-12.658c-1.311-.32-2.234-1.498-2.234-2.852V86.323ZM99.7535 1.15076c7.2925-3.60996 15.8305 1.71119 15.8305 9.86634V220.983c0 8.155-8.538 13.476-15.8305 9.866L6.11596 184.496C2.37105 182.642 0 178.818 0 174.63v-17.868l49.7128 19.865c4.0474 1.617 8.4447-1.372 8.4449-5.741 0-2.66-1.6975-5.022-4.2142-5.863L0 146.992v-14.305l40.2756 7.708c3.9656.759 7.6405-2.289 7.6405-6.337 0-3.286-2.4628-6.048-5.7195-6.413L0 122.917V108.48l78.5181-3.014c4.1532-.16 7.4381-3.582 7.4383-7.7498 0-4.6256-4.0122-8.2229-8.5964-7.7073L0 98.7098V82.4399l53.447-17.8738c2.3764-.7948 3.9791-3.0254 3.9792-5.5374 0-4.0961-4.0978-6.9185-7.9106-5.4486L0 72.6695V57.3696c.0000304-4.1878 2.37107-8.0125 6.11596-9.8664L99.7535 1.15076Z"
fill="#ffffff"
/>
</svg>
);

// Model Context Protocol Icon
const McpIcon = () => (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="#ffffff"
fillRule="evenodd"
width={100}
height={100}
>
<path d="M15.688 2.343a2.588 2.588 0 00-3.61 0l-9.626 9.44a.863.863 0 01-1.203 0 .823.823 0 010-1.18l9.626-9.44a4.313 4.313 0 016.016 0 4.116 4.116 0 011.204 3.54 4.3 4.3 0 013.609 1.18l.05.05a4.115 4.115 0 010 5.9l-8.706 8.537a.274.274 0 000 .393l1.788 1.754a.823.823 0 010 1.18.863.863 0 01-1.203 0l-1.788-1.753a1.92 1.92 0 010-2.754l8.706-8.538a2.47 2.47 0 000-3.54l-.05-.049a2.588 2.588 0 00-3.607-.003l-7.172 7.034-.002.002-.098.097a.863.863 0 01-1.204 0 .823.823 0 010-1.18l7.273-7.133a2.47 2.47 0 00-.003-3.537z" />
<path d="M14.485 4.703a.823.823 0 000-1.18.863.863 0 00-1.204 0l-7.119 6.982a4.115 4.115 0 000 5.9 4.314 4.314 0 006.016 0l7.12-6.982a.823.823 0 000-1.18.863.863 0 00-1.204 0l-7.119 6.982a2.588 2.588 0 01-3.61 0 2.47 2.47 0 010-3.54l7.12-6.982z" />
</svg>
);

// Map slugs to their icons
function getIconForGuide(slug: string) {
const iconMap: Record<string, () => React.JSX.Element> = {
"claude-code": AnthropicIcon,
opencode: OpenCodeIcon,
"opencode-desktop": OpenCodeIcon,
cursor: CursorIcon,
cline: ClineIcon,
n8n: N8nIcon,
Expand All @@ -278,6 +333,9 @@ function getIconForGuide(slug: string) {
pi: PiIcon,
"kimi-code": KimiIcon,
mimocode: MimoCodeIcon,
"kilo-code": KiloCodeIcon,
"devpass-code": DevPassCodeIcon,
mcp: McpIcon,
};

return iconMap[slug] || OpenCodeIcon; // Default to OpenCode icon
Expand Down
12 changes: 12 additions & 0 deletions apps/ui/src/app/sitemap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,18 @@ export default async function sitemap(): Promise<MetadataRoute.Sitemap> {
changeFrequency: "weekly",
priority: 0.8,
},
{
url: `${baseUrl}/compare/aws-bedrock`,
lastModified: buildDate,
changeFrequency: "monthly",
priority: 0.7,
},
{
url: `${baseUrl}/compare/azure-ai-foundry`,
lastModified: buildDate,
changeFrequency: "monthly",
priority: 0.7,
},
{
url: `${baseUrl}/compare/litellm`,
lastModified: buildDate,
Expand Down
Loading
Loading