API calls
Endpoints, base URLs and authentication for the hosted Valen API.
Hosted APIs and local deployments support two protocols:
| Protocol | Method | Path | Documentation |
|---|---|---|---|
| System One | POST | /v1/systemone | API reference |
| Decisions | POST | /v1/decisions | API 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:
| Endpoint | Method | Path | Documentation |
|---|---|---|---|
| List Models | GET | /v1/models | API 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
| Access | Base URL | Headers |
|---|---|---|
| Free API | https://api.valen-team.workers.dev | No key required |
| API key | https://llm-proxy.openxxlab.com | Authorization: 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.