Approximation (about, approximately)
Degree/Extent (to the extent that)
Minimization (at least ~ / only ~)
Comparative (as ~ as / to the degree of)
The particles くらい and ぐらい are interchangeable and have several important uses in Japanese. They can express approximation, degree/extent, and minimization. The choice between くらい and ぐらい is mostly a matter of personal preference, though ぐらい tends to appear more often after words ending in ん or vowels.
When attached to quantities, times, or durations, くらい / ぐらい indicates an approximate amount. This is one of the most common uses.
This usage works with counters, time expressions, and other numeric quantities.
くらい / ぐらい can express the degree or extent of something, often conveying that the degree is surprisingly high. It attaches to verbs and adjectives in their plain form.
In this usage, the clause before くらい describes an extreme state to illustrate just how intense something is.
くらい / ぐらい can also express that something is the minimum or that it is trivial. It implies "at least this much" or "something as simple as this."
This nuance often carries a tone of slight dismissal – suggesting the thing in question is easy or minimal.
くらい / ぐらい can be used to compare two things, expressing that they are roughly equal in some quality.
Both くらい and ほど can express degree, but ほど tends to sound more formal and is preferred in negative comparisons (e.g. ~ほど…ない "not as … as"). くらい is more conversational and flexible.