head to head · open source

Dify vs contextgem

Dify has 160,186 GitHub stars, 25,328 forks, 1,067 open issues and last shipped yesterday. contextgem has 2,045 stars, 187 forks, 0 open issues and last shipped 6 days ago. Dify leads on adoption by 7,733% (160,186 vs 2,045 stars). Dify is written in Python under a custom or non-standard licence; contextgem is written in Python under Apache-2.0. Dify has attracted 16% as many forks as stars, contextgem 9%. Dify was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 2 topic tags (ai, llm), 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.

Dify ★ 160K contextgem ★ 2.0K category AI & Machine Learning

← all 20902 open source comparisons

Side by side

Dify contextgem
GitHub stars ★ 160K ★ 2.0K
License Custom / other Apache-2.0
Written in Python Python
Last push 2026-11-02 2026-10-28
Forks ⑂ 25K ⑂ 187
Self-hosting Yes Yes
Data ownership Your server Your server

pick Dify if

  • You weight community size — 160K stars and counting
  • You want the Custom / other license terms
  • Your stack matches Python
  • You value the larger contributor base for long-term maintenance

full Dify profile →

pick contextgem if

  • You want the contextgem feature set and don't need the biggest community
  • You prefer the Apache-2.0 license terms
  • Your stack matches Python
  • You evaluated both and contextgem fits your workflow better

full contextgem profile →

About Dify

Dify Cloud · Self hosting · Documentation · Dify edition overview Dify is an open source LLM app development platform. Its intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features (including Opik, Langfuse, and Arize Phoenix) and more, letting you quickly go from prototype to production. Here's a list of the core features: Quick start Before installing Dify, make sure your machine meets the following minimum system requirements: CPU = 2 Core RAM = 4 GiB The easiest way to start the Dify server is through Docker Compose. Before running Dify with the…

read the full Dify overview →

About contextgem

ContextGem: Effortless LLM extraction from documents ContextGem is a free, open source LLM framework that makes it radically easier to extract structured data and insights from documents — with minimal code. 💎 Why ContextGem? Reliable structured extraction from documents typically involves writing extraction prompts, designing validation models, mapping outputs back to source references, orchestrating multi step pipelines, and tracking usage across LLMs. ContextGem handles all of this through powerful abstractions — you describe what to extract in natural language, and the framework handles how . The result…

read the full contextgem 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 Dify or contextgem more popular?

Dify has 160,186 GitHub stars and contextgem has 2,045. Dify has the larger community by that measure.

Are Dify and contextgem free?

Both are open source. Dify has no licence declared in this registry, and contextgem is licensed under Apache-2.0. Both are free to self-host.

What is the difference between Dify and contextgem?

Dify is written in Python and contextgem in Python. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.

Which should I choose, Dify or contextgem?

Choose Dify if you want the larger community (160,186 stars) or its Custom / other licence terms. Choose contextgem if its feature set, stack or Apache-2.0 licence fits better. Both are self-hostable.