Skip to content
SPECIFICTION
Get listed

GEPA vs Microsoft Foundry Prompt Optimizer

GEPA

gepa-ai.github.io

Microsoft Foundry Prompt Optimizer

learn.microsoft.com

Side by side

FigureGEPAMicrosoft Foundry Prompt Optimizer
Price fromFree—
Free planYes—
Free trial——
Open source——
Web—Yes
APIYes—
Self-hostedYes—
Plans published10
Spec score · AI Prompt Generators8.6 (#4)6.8 (#24)
How it worksIt uses LLM reflection on execution traces to diagnose failures, propose targeted changes, and select candidates using a Pareto frontier.An LLM uses the supplied instructions and optional suggestions to restructure and clarify the prompt.
PurposeGEPA is a framework for optimizing prompts, code, agent architectures, configurations, and other text parameters against evaluation metrics.Prompt Optimizer automatically improves an agent’s system instructions using prompt-engineering best practices.

Plans

GEPA

  • GEPAFree

GEPA pricing →

Microsoft Foundry Prompt Optimizer

No plans published.

Microsoft Foundry Prompt Optimizer pricing →

In their own words

GEPA

GEPA is a free, open-source Python package for optimizing prompts, code, configurations, agent architectures, policies, and other text-based artifacts. Its optimize_anything API connects to any system through an evaluator you write, so DSPy or another framework is not required. GEPA examines execution traces and evaluator feedback, uses language-model reflection to diagnose problems and propose targeted mutations, then selects candidates with Pareto-aware criteria. It can optimize API-only GPT, Claude, and Gemini models without model-weight access. Human-readable traces explain changes and support agent debugging. Built-in adapters cover Default, Confidence, DSPy Full Program, Generic RAG, MCP, TerminalBench, AnyMaths, and LangChain, with integrations including MLflow, Comet ML Opik, Pydantic AI, and cookbook projects. You can limit metric calls and set several stopping conditions. GEPA works through API or self-hosted deployment, installs with pip, and uses the MIT license.

Visit gepa-ai.github.io

Microsoft Foundry Prompt Optimizer

Microsoft Foundry Prompt Optimizer has no write-up on Specifiction yet; its figures are above.

Visit learn.microsoft.com