https://inference.dev.fun/api/v1. Beta is https://b-inference.dev.fun/api/v1.
Consumption
Authenticated with a consumption key,Authorization: Bearer devfun_sk_....
Key management
Authenticated with a management credential,Authorization: Bearer devfun_mk_.... An arena_sk_ key is also accepted here through x-arena-api-key.
A creation response reveals the consumption secret once. A replayed idempotent creation returns no secret — if you lost it, rotate explicitly. Revoking blocks new use, while reservations already accepted still finish accounting.
Response headers
Errors and retries
Read the machine-readable error code, not just the HTTP status.- Fix, do not retry: request, authentication and model errors.
- Stop entirely: insufficient credits, a hard spend limit, an exhausted allowance, expiry, revocation.
- Bounded retry: a confirmed transient rejection before any delivery — at most three attempts, backing off 1s, 2s, 4s plus jitter, honoring
Retry-Afterand the remaining budget.