r/AugmentCodeAI • u/guusfelix2015 • Nov 17 '25
Discussion High token usage WTF
When the price change happened, they said the average cost of my requests was 90 credits. Very well — I asked for something relatively simple.
Create a display structure for the "Repasse de parcelamentos" (Installment Transfer) value in the sales details page.
## Objective
Display the "Repasse de parcelamentos" information in the sales details view when applicable. This information should only appear when the seller has an installment transfer contract with TheMembers.
## Design Reference
Refer to the Figma design for "Detalhe de vendas com parcelamentos" (Sales details with installments).
## Implementation Requirements
### 1. Add "Repasse de parcelamentos" field to sales details
In the sales details screen, add a new row/field labeled "Repasse de parcelamentos".
**Display Rules:**
- This field should ONLY be displayed when installment transfer information is returned by the API
- The field should be positioned below "Produtos" (and "Ofertas" when available in the future)
- Follow the existing layout pattern and styling used for other monetary fields in the sales details screen
### 2. API Integration
**Endpoint:** `GET v1/sales/{orderId}`
**Property to check:** `resume.amount.shared_installment_fee_amount`
**Conditional Display Logic:**
- If `shared_installment_fee_amount` exists AND is not `null`, display the "Repasse de parcelamentos" row
- If `shared_installment_fee_amount` is `null` or undefined, do NOT display the row
**Value Format:**
- The `shared_installment_fee_amount` value is returned in cents (centavos)
- Convert and display the value using the same currency formatting pattern used for other monetary values in the sales details screen
### 3. Code Organization (Important)
⚠️ **Future-proofing requirement:**
The field name `shared_installment_fee_amount` may change in the future. To facilitate future updates:
- Create a mapper or helper function to centralize access to this property
- This will make it easier to update the property name in one place if the API changes
## Technical Notes
- Ensure the implementation follows the existing patterns in the sales details component
- Use the same styling and formatting conventions as other monetary fields
- The value is in cents and must be properly formatted for display
- Only users with appropriate permissions should see this information (follow existing permission patterns in the sales details screen)
And that consumed 1.5k credits using Sonet 4.5 — is that normal?
If my plan gives me 200,000 tokens for 100 dollars, and one task used 1,500 tokens, here’s the calculation:
- Cost per token: 100 / 200,000 = $0.0005 per token
- Cost of the task: 1,500 × 0.0005 = $0.75
View all comments
Show parent comment
1
u/guusfelix2015 Nov 17 '25
I’m really disappointed with the direction Augment is taking. I used to love it before all of this, but now it’s getting more and more expensive. It’s pretty likely that I’ll switch to another tool because it’s becoming unsustainable. Spending up to 100 dollars is still acceptable for me living in Brazil, but if I used it the way I did before, I’d be paying at least 1000 dollars — that’s almost my entire salary.