Endpoint reference

The main inference and account endpoints, with their authentication requirements.

API guide · Reviewed 11 October 2026

Base URLs

ClientBase URL
OpenAI SDK / generic HTTPhttps://formalengines.com/inference/v1
Anthropic SDKhttps://formalengines.com/inference

Raw HTTP calls need the full endpoint path. Do not send inference requests to the website root or /api/.

Endpoints

MethodFull pathAuthentication
POST/inference/v1/chat/completionsBearer key
POST/inference/v1/messagesBearer key
GET/inference/v1/modelsPublic
GET/inference/v1/models/{model_id}Public
GET/inference/v1/healthPublic
GET/inference/v1/billing/balanceAccount key
GET/inference/v1/billing/usageAccount key
GET/inference/v1/billing/usage/summaryAccount key
GET / POST/inference/v1/keysAccount key
PATCH / DELETE/inference/v1/keys/{fingerprint}Account key

Use Content-Type: application/json for JSON request bodies. This reference documents the supported onboarding and inference workflows; it does not imply support for every endpoint in an upstream SDK.

Test your integration

Start with an authenticated balance request, then one non-streaming completion, then a streaming completion. Test your error handling with a deliberately invalid model ID. Add tools only after basic requests succeed.

Useful links: quickstart, troubleshooting, API keys, and post-training documentation.

Need a hand? Contact support with your request ID. Keep your API key private.