head to head · open source
generative-ai-for-beginners vs Portkey AI Gateway
generative-ai-for-beginners has 119,956 GitHub stars, 63,149 forks, 23 open issues and last shipped yesterday. Portkey AI Gateway has 13,022 stars, 1,305 forks, 262 open issues and last shipped 4 months ago. generative-ai-for-beginners leads on adoption by 821% (119,956 vs 13,022 stars). generative-ai-for-beginners is written in Jupyter Notebook under MIT; Portkey AI Gateway is written in TypeScript under MIT. generative-ai-for-beginners has attracted 53% as many forks as stars, Portkey AI Gateway 10%. generative-ai-for-beginners was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 2 topic tags (generative-ai, llms), so they are genuine substitutes rather than adjacent tools.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 8884 open source comparisons
Side by side
| generative-ai-for-beginners | Portkey AI Gateway | |
|---|---|---|
| GitHub stars | ★ 120K | ★ 13K |
| License | MIT | MIT |
| Written in | Jupyter Notebook | TypeScript |
| Last push | 2026-09-17 | 2026-05-25 |
| Forks | ⑂ 63K | ⑂ 1.3K |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick generative-ai-for-beginners if
- You weight community size — 120K stars and counting
- You want the MIT license terms
- Your stack matches Jupyter Notebook
- You value the larger contributor base for long-term maintenance
pick Portkey AI Gateway if
- You want the Portkey AI Gateway feature set and don't need the biggest community
- You prefer the MIT license terms
- Your stack matches TypeScript
- You evaluated both and Portkey AI Gateway fits your workflow better
About generative-ai-for-beginners
Generative AI for Beginners is Microsoft's free, MIT licensed curriculum of 21 Jupyter Notebook lessons that teaches developers how to start building generative AI applications, aimed at newcomers who want a structured, self paced path instead of scattered documentation.
read the full generative-ai-for-beginners overview →
About Portkey AI Gateway
Portkey AI Gateway is an open source TypeScript project that routes AI application requests through one API to many language, vision, audio, and image models. It belongs to the AI development platform ecosystem and is described as an AI gateway, LLM gateway, and generative AI gateway. The project is licensed under MIT, and its topics include llmops, langchain, mcp, mcp client, and mcp gateway.
read the full Portkey AI Gateway overview →
More in AI & Machine Learning
Related comparisons
More AI Development Platforms projects
Compare either of these against the rest of the AI Development Platforms field.
Frequently asked questions
Is generative-ai-for-beginners or Portkey AI Gateway more popular?
generative-ai-for-beginners has 119,956 GitHub stars and Portkey AI Gateway has 13,022. generative-ai-for-beginners has the larger community by that measure.
Are generative-ai-for-beginners and Portkey AI Gateway free?
Both are open source. generative-ai-for-beginners is licensed under MIT and Portkey AI Gateway under MIT. Neither carries a licence fee.
What is the difference between generative-ai-for-beginners and Portkey AI Gateway?
generative-ai-for-beginners is written in Jupyter Notebook and Portkey AI Gateway in TypeScript. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, generative-ai-for-beginners or Portkey AI Gateway?
Choose generative-ai-for-beginners if you want the larger community (119,956 stars) or its MIT licence terms. Choose Portkey AI Gateway if its feature set, stack or MIT licence fits better. Both are self-hostable.