Skip to main content

API calls

Endpoints, base URLs and authentication for the hosted Valen API.

Hosted APIs and local deployments support two protocols:

ProtocolMethodPathDocumentation
System OnePOST/v1/systemoneAPI reference
DecisionsPOST/v1/decisionsAPI reference

The hosted service serves Valen-Decision-1.5 0.8B, 2B and 4B under the model IDs valen-0.8b, valen-2b and valen-4b, and exposes a model list endpoint:

EndpointMethodPathDocumentation
List ModelsGET/v1/modelsAPI reference

The machine-readable OpenAPI spec describes all three endpoints.

For details on training, data uses, and retention, see API data handling and retention.

Base URLs​

AccessBase URLHeaders
Free APIhttps://api.valen-team.workers.devNo key required
API keyhttps://llm-proxy.openxxlab.comAuthorization: Bearer $VALEN_API_KEY

For an API key or higher quotas, contact liuziyu77@sjtu.edu.cn.

For local model names and image input formats, see: SGLang · vLLM · GGUF · Transformers.

To have a coding agent build the integration, install the Valen agent skill.

For in-app integration, see ONNX & SDKs, including the Python local ONNX service and Python / JavaScript HTTP clients.