Dify vs Letta: which is better?

Dify and Letta compared on pricing, API, open source, language support and features. Facts last verified Nov 28, 2026.

Verdict

  • In mainland China, Dify is directly accessible.
  • Dify is best for: Teams building internal AI apps, including in China.
  • Letta is best for: Developers building agents that need persistent memory.
Dify logo DifyLetta logo Letta
OverviewOpen-source platform for building LLM apps, RAG and agents.Platform for stateful AI agents with long-term memory.
PricingFreemiumOpen source
Starting priceUnknown$0
Public APIYesYes
Open sourceYesYes
Chinese languageYesNo
Accessible from mainland ChinaYesUnknown
PlatformsWeb ยท LinuxUnknown
CountryUnited StatesUnited States
Last verifiedNov 28, 2026Nov 28, 2026
Key features
  • RAG knowledge bases
  • Visual agent workflows
  • Self-hosting and API
  • Self-editing memory blocks and archival memory
  • Agent Development Environment (ADE)
  • REST API and Python/TypeScript SDKs
  • Model-agnostic, self-hostable server
Visit websiteVisit website