このページ

モデル情報

ベースパス:/v1

GET /v1/models

利用可能なテキスト生成モデルを取得します。パラメータはありません。

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

GET /embedding-models

アカウントで利用可能な埋め込みモデルを、コンテキスト上限、使用量、パフォーマンス情報とともに取得します。パラメータはありません。

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

レスポンス例

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

並列リクエストの制限を取得します。パラメータはありません。

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

モデルステータス & パフォーマンス

注:これらのエンドポイントは公開されており、APIキーは必要ありません。ライブステータス/監視用であり、任意のクライアントがポーリングできます。高頻度での呼び出しは避け、適切に使用してください。

GET /model/all

利用可能なテキスト生成モデルの完全なリストを返します。各モデルにはライブの status(可用性)ブール値と、キャッシュされたパフォーマンスおよび使用統計が付与されています。リクエストを送信する前にモデルがオンラインかどうかを確認するには status フィールドを使用します。

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

レスポンス例

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]
パラメータータイプ必須説明
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

ベースモデルグループごとの現在のライブサーバー繁忙度(パーセンテージ)を、ベースモデル名をキーとして返します。繁忙度は、設定された容量に対するリクエストベースおよびトークンベースの負荷のうち大きい方です。0 は現在そのモデルに処理中のトラフィックがないことを意味します。最も空いているモデルを選ぶ、またはリアルタイムの負荷を表示するためにポーリングしてください。

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

レスポンス例

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}