# Billing and credits

Nephis API keys are associated with an account and credit balance. API calls that execute code or mutate provider resources may be metered. The amount charged, limits, and available billing features depend on the current provider configuration and account.

## Check current account and rates

Use an authenticated request to view account details:

```bash
curl -fsS https://nephis.theeducode.com/v1/auth/me \
  -H "Authorization: Bearer $NEPHIS_API_KEY"
```

Read the current rate card before making billable calls:

```bash
curl -fsS https://nephis.theeducode.com/v1/billing/rate-card
```

Rates returned by the provider are the source of truth. Do not rely on old screenshots, static calculators, sample credit balances, or hard-coded per-operation prices in older guides.

## Important behavior

- The SDKs and MCP server do not promise free credits or automatically grant a starting balance.
- A timeout or lost client connection does not prove that the server never accepted a request. Use an idempotency key for supported mutation/execution requests and inspect account usage before retrying.
- A successful HTTP response is not a general guarantee of refund behavior. Refunds depend on the endpoint and gateway implementation.
- Checkout, invoices, top-ups, and billing history are account-portal features; do not assume an API route exists unless it is listed by the current deployment.
- Credit balances and usage are provider-controlled. Contact the provider for account-specific prices, quotas, invoices, or adjustments.

## Engineering note

This page intentionally does not publish a fixed plan matrix or margin estimates. Pricing and entitlements can change independently of this repository. The gateway's `/v1/billing/rate-card` and authenticated account response should be consulted at the time of use.
