pmPuspamitra Mishra.
← All AI projects
Case study 02 / Pharmaceuticals

AI Pricing Engine for Generic Pharmaceuticals

Segment-aware pricing that brings predictive models, mathematical optimization, and clear explanations into the quoting workflow.

My role
AI Solutions Architect & Technical Lead
Industry
Pharmaceuticals · Generics
Core capabilities
Predictive models · Gurobi · Salesforce CPQ
Pharmaceutical products and medication
+2.6 ptsGross margin improvement
42%Large-account bid win rate
6 hoursQuote turnaround
$15.0MAnnual benefit

The business challenge

Pricing approximately 1,200 generic pharmaceutical SKUs required balancing demand, customer differences, and competitive pressure. Quotes took five days, and large-account bids had a 31% win rate. Earlier visibility into potential competitor entry was another opportunity to improve pricing decisions.

The architecture behind the outcome

I architected a segment-aware pricing platform serving large, medium, and small customers. Demand and elasticity models work alongside bid win-probability models and Gurobi optimization. LLM-written explanations surface the rationale inside Salesforce CPQ, making recommendations usable within the existing sales workflow.

Solution at a glance · Conceptual workflow
01SKU + customer signals
02Demand & win models
03Gurobi optimization
04Explanations in CPQ
Business-facing explanations make pricing recommendations easier to evaluate.

Delivery & decision ownership

Bring the pricing recommendation—and its rationale—into the quoting workflow.
  • Model demand, elasticity, and bid win probability with customer segmentation.
  • Combine predictive outputs with Gurobi optimization to support pricing recommendations.
  • Use FDA generic drug approval data as an early warning of price erosion, one to two quarters before competitor entry.
  • Present LLM-written explanations directly inside Salesforce CPQ.

Results that matter

Reported program outcomes
MeasureBeforeAfter / outcome
Gross marginBaseline+2.6 percentage points
Large-account bid win rate31%42%
Quote turnaround5 days6 hours
Competitive early warning—1–2 quarters
Payback period—6 months

The pricing program delivered $15.0M in annual benefit with a six-month payback. Commercial teams gained faster quote turnaround, stronger bid performance, and earlier signals of competitive price erosion.

Explore the next case study →End-to-End Agentic Claims Processing Automation ↗