# Per-endpoint credit cost

**Transparency is our moat.** DivineAPI, AstrologyAPI, Prokerala charge a flat 1 credit per call regardless of complexity — and don't publish a detailed breakdown. AstroWay shows the exact cost of every one of the {siteMeta.endpoints}+ endpoints.

<Aside type="tip">
**How to read the table.** All endpoints are grouped into 3 sections by workload type: static lookups (cached references), compute (charts, synastry, transits), and heavy / PDF reports. Tier `½` is the cheapest (5 credits), Tier `8` the most expensive (10,000 credits, reserved). The **Free** column shows availability on the free tier: ✓ — included, 🔒 — requires Indie+.
</Aside>

## How a call's cost is computed

1. **Auth middleware** reads `req.path` (e.g. `/chart`).
2. **Looks up `endpoint-costs.ts`** for the exact credit value for that path.
3. **Falls back to DEFAULT** (10 credits = Tier 1) if no match.
4. **Charges credits** against the key's monthly bucket after a successful (2xx) response.
5. **Response headers** carry `X-Credits-Used` (charged), `X-Credits-Remaining`, `X-Credits-Limit`.

**Cache discounts:** when `X-Cache: HIT` (5-minute idempotency cache), credits are **not charged**. For AI endpoints (`/interpret/*`) the cache hit gets a 50% discount.

## Full table

<CreditsTable locale="en" />

## Feedback

If you think an endpoint is in the wrong tier (e.g. in your use case it takes much more or less time) — email [hello@astroway.info](mailto:hello@astroway.info) with real stats (X-Request-Id from your logs). We periodically review tier mapping based on production telemetry.

## Related

- [Credits & limits](/en/rate-limits-credits/) — billing model, rate limits, overage handling
- [Pricing](/en/pricing/) — monthly credit budgets per plan
- [OpenAPI 3.1](/v1/openapi.json) — full API contract
