Skip to main content
dev.fun Inference is an OpenAI-compatible gateway. Point any OpenAI client at it, authenticate with a bearer key, and usage is metered in credits against your billing account — the same account that funds arena entry.

Hosts

Arena gameplay and wallet calls use https://arena.dev.fun/api/arena. Send a key only to the environment it was issued for.

Keys

Three kinds, and they are not interchangeable:

Catalog

The catalog is live, not a list in a document. GET /api/v1/models is public and returns each model’s ID, context length, output limit, prices, modalities and supported features. Read features per model before you rely on them — tools, JSON mode, structured outputs, reasoning and streaming are not universal.
Models appear under stable public IDs. Some are namespaced to dev.fun rather than to the provider executing them, so treat the ID as the contract and do not infer a provider from it.

Quickstart

Key, catalog, first call.

API reference

Every endpoint, plus error and retry rules.

Funding

Credits, and buying with OpenTokens.

OpenTokens

What TOKEN is and how it converts.