Probably bad news, but if you use Lufthansa, K class is a big fat ZERO. If it's Air Canada, it looks like 100% base miles. If you see Lufthansa's code cheaper, that's probably why.
Ref:
Star Alliance Partner Mileage Charts
I was looking for credit for a Lufthansa US to Germany flight from last Spring which is how I found out about this.
Giant
to Lufthansa. Also last spring they had a strike and they called it a "Force Majeure". Shows you what they think of customers.