VizPy
VizPy is a drop-in DSPy replacement that reduces prompt failure rates by turning errors into executable rules using PromptGrad and ContraPrompt optimizers.
At a Glance
Pricing
Get started with 10 optimization runs at no cost.
Engagement
Available On
Listed Mar 2026
About VizPy
VizPy is a prompt optimization library built as a drop-in replacement for DSPy, designed to reduce prompt failure rates by converting errors into precise, executable correction rules. It offers two core optimizers — PromptGrad and ContraPrompt — that analyze module failures, extract the underlying rules, and inject targeted improvements into instructions in a single API call. VizPy outperforms GEPA on every major benchmark including BBH, HotPotQA, GPQA Diamond, and GDPR-Bench. It is built by VizopsAI, Inc and targets developers building LLM-powered applications who need reliable, automated prompt optimization.
- PromptGrad Optimizer: Runs epoch-based failure analysis, computing textual gradients across batches and accumulating correction rules into a separate local rules section — ideal for generation tasks and continuous metrics.
- ContraPrompt Optimizer: Mines contrastive pairs (wrong vs. corrected attempts) and extracts the separating rule — best for classification tasks with clear right/wrong labels.
- Drop-in DSPy Replacement: Pass any
dspy.Modulealong with examples and a metric; get back an optimized module with unchanged signature and structure — only the instructions improve. - Plain-English Rule Explanations: Every rule added to your prompt is accompanied by a human-readable explanation, making optimization transparent and auditable.
- Benchmark-Proven Performance: Outperforms GEPA across BBH, HotPotQA, GPQA Diamond, and GDPR-Bench benchmarks.
- Simple API: Configure with any LLM provider supported by DSPy, instantiate an optimizer, and call
.optimize()— no credit card required to start. - Scalable Plans: Free tier with 10 optimization runs; Pro and Enterprise tiers for higher-volume production use cases.
Community Discussions
Be the first to start a conversation about VizPy
Share your experience with VizPy, ask questions, or help others learn from your insights.
Pricing
Free Plan Available
Get started with 10 optimization runs at no cost.
- 10 runs
- PromptGrad & ContraPrompt
- Community support
Pro
200 optimization runs per month with priority support.
- 200 runs / month
- PromptGrad & ContraPrompt
- Priority support
Enterprise
1,000 optimization runs per month with dedicated support.
- 1,000 runs / month
- PromptGrad & ContraPrompt
- Dedicated support
Capabilities
Key Features
- PromptGrad optimizer for generation tasks
- ContraPrompt optimizer for classification tasks
- Drop-in DSPy replacement
- Epoch-based failure analysis
- Contrastive pair mining
- Plain-English rule explanations
- Single API call optimization
- Benchmark-proven performance over GEPA
- Support for any DSPy-compatible LLM provider
