On this page

Model Information

Base path: /v1

GET /v1/models

Retrieves available text generation models. No parameters.

1curl -X GET https://api.arliai.com/v1/models \
2-H "Authorization: Bearer your_api_key"

GET /embedding-models

Retrieves the embedding models available to your account, including context limits, usage counts, and performance metadata. No parameters.

1curl -X GET https://api.arliai.com/v1/embedding-models \
2-H "Authorization: Bearer your_api_key"

Response Example

1{
2  "object": "list",
3  "data": [
4    {
5      "id": "EMBEDDING_MODEL_NAME",
6      "root": "EMBEDDING_MODEL_NAME",
7      "object": "model",
8      "owned_by": "arliai",
9      "type": "embedding",
10      "embedding": true,
11      "max_context": 32768,
12      "context_length": 32768,
13      "context_window": 32768,
14      "max_input_tokens": 32768,
15      "engine": "vllm",
16      "model_type": "embedding",
17      "parameters": "8B",
18      "requests_per_day": 0,
19      "requests_per_week": 0,
20      "request_tokens_per_day": 0,
21      "request_tokens_per_week": 0,
22      "avg_response_time": null,
23      "avg_preprocessing_tokens_per_second": null
24    }
25  ]
26}

GET /parallel-requests

Retrieves parallel request limits. No parameters.

1curl -X GET https://api.arliai.com/v1/parallel-requests \
2-H "Authorization: Bearer your_api_key"

Model Status & Performance

Note: These endpoints are public and do not require an API key. They are intended for live status / monitoring and may be polled by any client. Use judiciously — avoid hammering them at high frequency.

GET /model/all

Returns the full list of available text-generation models, each annotated with a live status (availability) boolean plus cached performance and usage statistics. Use the status field to check whether a model is currently online before sending requests.

1curl -X GET https://api.arliai.com/model/all

Response Example

1[
2  {
3    "name": "Gemma-4-31B-Lilith-v1.0",
4    "reasoning": true,
5    "vlm": true,
6    "systemPrompt": "You are an intelligent assistant.",
7    "promptFormat": "Gemma4",
8    "quant": "r64",
9    "engine": "vllm",
10    "parameters": "31B",
11    "creationMethod": "LoRA Finetune",
12    "contextSize": "262144",
13    "modelLink": "https://huggingface.co/darthcrawl/Lilith-31B-v1.0",
14    "modelRecommendation": "Creative model",
15    "modelClass": "Gemma-4-31B - LoRA",
16    "modelGroup": "Gemma-4-31B",
17    "baseModel": false,
18    "modelType": "Gemma31B",
19    "requestsPerDay": "220",
20    "requestsPerWeek": "859",
21    "requestTokensPerDay": "724792",
22    "responseTokensPerDay": "6482",
23    "requestTokensPerWeek": "4929074",
24    "responseTokensPerWeek": "113803",
25    "hourlyTokenUsage": { "2026-07-31T16": 209353, "2026-07-31T17": 32663 },
26    "addedAt": "2026-07-25T22:31:08.838Z",
27    "avgResponseTime": 8218,
28    "avgTimeToFirstToken": 4743,
29    "avgPreprocessingTokensPerSecond": 1193.64,
30    "avgGenerationTokensPerSecond": 20.9,
31    "status": true
32  }
33  // ... one object per model
34]
ParameterTypeRequiredDescription
Identity
namestringalwaysThe model identifier to pass as the "model" field in generation requests.
statusbooleanalwaysLive availability. true if at least one healthy server currently serves this model type; false otherwise. Check this before sending requests to avoid errors.
reasoningbooleanalwaysWhether the model supports reasoning/thinking tokens.
vlmbooleanalwaysWhether the model accepts image inputs (Vision Language Model).
contextSizestringalwaysMaximum context window in tokens.
parametersstringalwaysParameter count (e.g. "31B").
quantstringalwaysQuantization format (e.g. "r64", "INT8", "FP8").
enginestringalwaysInference engine (e.g. "vllm").
promptFormatstringalwaysChat template / prompt format name used by the model.
creationMethodstringalwaysHow the model was created (e.g. "FFT", "LoRA Finetune").
modelTypestringalwaysInternal routing type shared by server pools (e.g. "Gemma31B"). Multiple models sharing a type share one server pool and health status.
modelGroupstringalwaysGroup identifier shared by a base model and its variants (e.g. "Gemma-4-31B"). Used as the busyness/performance key.
baseModelbooleanalwaysTrue when this row is the base model of its group; false for LoRA/fine-tune variants.
modelClassstringalwaysPer-model display class (e.g. "Gemma-4-31B - LoRA").
modelRecommendationstringalwaysShort human-readable description / category.
systemPromptstringalwaysDefault system prompt applied when none is provided.
modelLinkstringalwaysSource HuggingFace link.
addedAtstring (ISO date)alwaysWhen the model was added to the platform.
Performance (24h Typical, per model group)
avgResponseTimenumber | nulloptionalTypical total response time in ms over the last 24h (base-model aggregate). null if insufficient recent data.
avgTimeToFirstTokennumber | nulloptionalTypical time-to-first-token in ms — measured until the first generated token of any kind (content or reasoning) is received.
avgPreprocessingTokensPerSecondnumber | nulloptionalTypical prefill/prompt-processing speed = requestLength / TTFT (tokens/s).
avgGenerationTokensPerSecondnumber | nulloptionalTypical generation speed = responseLength / generationTime (tokens/s).
Usage (cached)
requestsPerDaystringalwaysRequest count in the last 24h.
requestsPerWeekstringalwaysRequest count in the last 7 days.
requestTokensPerDaystringalwaysPrompt tokens processed in the last 24h.
responseTokensPerDaystringalwaysGenerated tokens in the last 24h.
requestTokensPerWeekstringalwaysPrompt tokens processed in the last 7 days.
responseTokensPerWeekstringalwaysGenerated tokens in the last 7 days.
hourlyTokenUsageobjectalwaysMap of ISO hour key (e.g. "2026-07-31T16") to total tokens processed that hour. Covers a rolling 48h window, zero-filled for hours with no usage.

GET /model/busyness/live

Returns the current live server busyness percentage for every base model group, keyed by base model name. Busyness is the higher of request- and token-based load against configured capacity. A value of 0 means the model currently has no in-flight traffic. Poll this to pick the least busy model or to display real-time load.

1curl -X GET https://api.arliai.com/model/busyness/live

Response Example

1{
2  "GLM-4.6-Derestricted": 12.5,
3  "Gemma-4-31B": 37.5,
4  "DeepSeek-V4.1-Flash-1017": 25,
5  "GLM-4.7": 6.25,
6  "Qwen3.5-27B-Derestricted": 6.25
7}