Login Register

Regex-Based Resume Parsing with AI Fallback

March 19, 2025 omkarnathvaranasi
Client: Bragstory
Tools Used: OpenAI API, JS Regex, Token Cost Estimation, Product Strategy
Description

Built a hybrid resume parser using regex and OpenAI fallback

The Challenge

OpenAI's GPT-based resume parsing was accurate but costly (~$0.10–0.20 per resume).

What I Did

Developed a custom regex engine to parse experience, education, and skills from most resumes. Used OpenAI only when the fallback failed or the resume was missing key sections.

The Impact

Cut parsing costs by ~85% i.e reduced token usage from 4523 to 678 tokens. Maintained accuracy, and provided users with a fast, automated jumpstart

What I Learned

Smart cost optimizations happen at the integration layer, not just the API layer.

Added on April 20, 2025 at 04:17