---
title: "ai-gateway vs m-courtyard"
type: "comparison"
canonical_url: "https://www.graphcanon.com/compare/ferro-labs-ai-gateway-vs-mcourtyard-m-courtyard"
tools: ["ferro-labs-ai-gateway", "mcourtyard-m-courtyard"]
---

# ai-gateway vs m-courtyard

*GraphCanon updated Sep 20, 2026*

## Verdict

Pick ai-gateway if ai-gateway from Ferro Labs supports over 30 LLMs with integrated caching, guardrails, A/B testing, and cost controls, making it ideal for managing multiple language models in a production environment; pick m-courtyard if m-Courtyard is a specialized tool for local AI model fine-tuning on Apple Silicon devices that emphasizes privacy and offers a zero-code interface.

[ai-gateway](https://docs.ferrolabs.ai) reports 256 GitHub stars, 35 forks, and 68 open issues, last pushed Sep 10, 2026. [m-courtyard](https://github.com/Mcourtyard/m-courtyard) has 172 stars, 14 forks, and 1 open issues, last pushed Jul 11, 2026. Figures are from public GitHub metadata via [ai-gateway's repository](https://github.com/ferro-labs/ai-gateway) and [m-courtyard's repository](https://github.com/Mcourtyard/m-courtyard).

| | [ai-gateway](/tools/ferro-labs-ai-gateway.md) | [m-courtyard](/tools/mcourtyard-m-courtyard.md) |
| --- | --- | --- |
| Tagline | Unified AI Gateway for multiple LLMs with caching, guardrails, A/B testing, and cost controls | Local AI Model Fine-tuning Assistant for Apple Silicon |
| Stars | 256 | 172 |
| Forks | 35 | 14 |
| Open issues | 68 | 1 |
| Language | Go | TypeScript |
| Adopt for | ai-gateway from Ferro Labs supports over 30 LLMs with integrated caching, guardrails, A/B testing, and cost controls, making it ideal for managing multiple language models in a production environment. | M-Courtyard is a specialized tool for local AI model fine-tuning on Apple Silicon devices that emphasizes privacy and offers a zero-code interface. |
| Persona | - | - |
| Runtime | - | - |
| License | Apache-2.0 - a permissive free software license | Other |
| Categories | Inference & Serving, Model Training | Developer Tools, Model Training |

## Trust and health

_Sourced signals - not a safety guarantee. No winner column._

| | [ai-gateway](/tools/ferro-labs-ai-gateway.md) | [m-courtyard](/tools/mcourtyard-m-courtyard.md) |
| --- | --- | --- |
| Maintenance | Very active (96%) | Steady (60%) |
| Days since push | 2d | 71d |
| Open issues (now) | 68 | 1 |
| Stars delta | +37 (30d) | +11 (30d) |
| Open issues delta | +5 (30d) | 0 (30d) |
| Full report | [trust report](/tools/ferro-labs-ai-gateway/trust.md) | [trust report](/tools/mcourtyard-m-courtyard/trust.md) |

## Shared compatibility

- **Python**: [ai-gateway](/tools/ferro-labs-ai-gateway.md) - Python runtime; [m-courtyard](/tools/mcourtyard-m-courtyard.md) - Python runtime

## Decision facts: ai-gateway

- **Adopt for:** ai-gateway from Ferro Labs supports over 30 LLMs with integrated caching, guardrails, A/B testing, and cost controls, making it ideal for managing multiple language models in a production environment.
- **License detail:** Apache-2.0 - a permissive free software license

## Decision facts: m-courtyard

- **Requirements:** Specific system requirements for the hardware and OS are not provided but considering its tagline, it is intended for Apple Silicon devices such as newer Macs.
- **Adopt for:** M-Courtyard is a specialized tool for local AI model fine-tuning on Apple Silicon devices that emphasizes privacy and offers a zero-code interface.

## Choose when

### Choose ai-gateway if…

- ai-gateway is primarily Go; m-courtyard is TypeScript.
- License: ai-gateway is Apache-2.0, m-courtyard is Other.
- Tags unique to ai-gateway: ai-gateway, litellm, llm-cost, llm-proxy.
- Also covers Inference & Serving.
- When you need to integrate more than 30 different LLM services including OpenAI and Anthropic

### Choose m-courtyard if…

- m-courtyard is primarily TypeScript; ai-gateway is Go.
- License: m-courtyard is Other, ai-gateway is Apache-2.0.
- Requirements: Specific system requirements for the hardware and OS are not provided but considering its tagline, it is intended for Apple Silicon devices such as newer Macs..
- Tags unique to m-courtyard: ai-assistant, apple-silicon, desktop-app, fine-tuning.
- Also covers Developer Tools.
- Use M-Courtyard when you need to fine-tune AI models locally without cloud dependencies, especially if your workflow is entirely on Apple Silicon hardware like Macs.

## When NOT to use ai-gateway

- If your project only involves one or two LLMs which does not necessitate the gateway's broad compatibility features
- For small-scale projects that do not require comprehensive cost analysis tools
- When custom integration for specific guardrails is required, as ai-gateway offers generalized settings

## When NOT to use m-courtyard

- Avoid using M-Courtyard if you are working with devices that do not run on Apple Silicon as it is designed specifically for these hardware configurations.
- Do not use this tool if your project requires cloud integration or relies heavily on collaborative features since M-Courtyard operates strictly in a zero-cloud environment.

## Common questions

### What is the difference between ai-gateway and m-courtyard?

ai-gateway: Unified AI Gateway for multiple LLMs with caching, guardrails, A/B testing, and cost controls. m-courtyard: Local AI Model Fine-tuning Assistant for Apple Silicon. See the comparison table for live GitHub stats and shared categories.

### When should I choose ai-gateway over m-courtyard?

Choose ai-gateway over m-courtyard when ai-gateway is primarily Go; m-courtyard is TypeScript; License: ai-gateway is Apache-2.0, m-courtyard is Other; Tags unique to ai-gateway: ai-gateway, litellm, llm-cost, llm-proxy; Also covers Inference & Serving; When you need to integrate more than 30 different LLM services including OpenAI and Anthropic.

### When should I choose m-courtyard over ai-gateway?

Choose m-courtyard over ai-gateway when m-courtyard is primarily TypeScript; ai-gateway is Go; License: m-courtyard is Other, ai-gateway is Apache-2.0; Requirements: Specific system requirements for the hardware and OS are not provided but considering its tagline, it is intended for Apple Silicon devices such as newer Macs.; Tags unique to m-courtyard: ai-assistant, apple-silicon, desktop-app, fine-tuning; Also covers Developer Tools; Use M-Courtyard when you need to fine-tune AI models locally without cloud dependencies, especially if your workflow is entirely on Apple Silicon hardware like Macs.

### When should I avoid ai-gateway?

If your project only involves one or two LLMs which does not necessitate the gateway's broad compatibility features For small-scale projects that do not require comprehensive cost analysis tools When custom integration for specific guardrails is required, as ai-gateway offers generalized settings

### When should I avoid m-courtyard?

Avoid using M-Courtyard if you are working with devices that do not run on Apple Silicon as it is designed specifically for these hardware configurations. Do not use this tool if your project requires cloud integration or relies heavily on collaborative features since M-Courtyard operates strictly in a zero-cloud environment.

### Is ai-gateway or m-courtyard more popular on GitHub?

ai-gateway has more GitHub stars (256 vs 172). Stars measure visibility, not whether either tool fits your constraints.

### Are ai-gateway and m-courtyard open source?

Yes - both are open-source projects on GitHub (ai-gateway: Apache-2.0, m-courtyard: Other).

### Where can I find alternatives to ai-gateway or m-courtyard?

GraphCanon lists graph-backed alternatives at [ai-gateway alternatives](/tools/ferro-labs-ai-gateway/alternatives) and [m-courtyard alternatives](/tools/mcourtyard-m-courtyard/alternatives) ([ai-gateway markdown twin](/tools/ferro-labs-ai-gateway/alternatives.md), [m-courtyard markdown twin](/tools/mcourtyard-m-courtyard/alternatives.md)), ranked by typed relationship edges rather than popularity votes.

### Is there a machine-readable version of this comparison?

Yes. The markdown twin at [this comparison](/compare/ferro-labs-ai-gateway-vs-mcourtyard-m-courtyard.md) mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.

### Which is better maintained, ai-gateway or m-courtyard?

ai-gateway: Very active. m-courtyard: Steady. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.

### Where are the full trust reports for ai-gateway and m-courtyard?

GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: [ai-gateway trust report](/tools/ferro-labs-ai-gateway/trust); [m-courtyard trust report](/tools/mcourtyard-m-courtyard/trust).

---

**Machine-readable endpoints**

- JSON: [`/api/graphcanon/graph?tool=ferro-labs-ai-gateway`](/api/graphcanon/graph?tool=ferro-labs-ai-gateway)
- LLM index: [/llms.txt](/llms.txt)
- Full corpus: [/llms-full.txt](/llms-full.txt)

_GraphCanon - The knowledge graph for AI development. https://www.graphcanon.com/_
