Lyber
Request access
DocsList models

API reference

Markdown

List models

GET /v1/models returns the models your key can use, with their limits, controls and prices.

main.py
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://lyber-paid-acceptance-gateway-production.up.railway.app/v1",
    api_key=os.environ["LYBER_API_KEY"],
)

for entry in client.models.list():
    print(entry.id, entry.model_extra["lyber"]["ready"])

Response

response.json
{
  "object": "list",
  "data": [{
    "id": "minimax-m3.1-flash-abliterated",
    "object": "model",
    "owned_by": "lyber",
    "context_length": 1048576,
    "supported_parameters": ["temperature", "top_p", "max_tokens", "stop", "stream_options",
                             "tools", "tool_choice", "reasoning_effort", "max_completion_tokens"],
    "billing": {
      "price_version": "…",
      "currency": "USDC",
      "input_micro_usdc_per_million_tokens": 200000,
      "output_micro_usdc_per_million_tokens": 800000,
      "reservation_preview_url": "/v1/credits/reservation-preview"
    },
    "lyber": {
      "ready": true,
      "precision": "NVFP4",
      "max_output_tokens": 32768,
      "max_input_bytes": 8388608,
      "max_concurrent": 1,
      "reasoning_effort_options": ["none", "low", "high", "max"]
    }
  }]
}

The example is shortened. lyber also carries the checkpoint's Hugging Face repository and revision.

Fields

FieldDescription
context_lengthMost tokens the model accepts in one request, input and output together.
supported_parametersRequest fields the model accepts. Anything else returns 400.
billingThe price version billing uses, in micro-USDC per million tokens (1,000,000 = $1).
lyber.readyWhether the model is serving right now. A listed model can still be busy; see Limits.
lyber.max_output_tokensThe largest max_tokens the model accepts.
lyber.max_input_bytesSize limit for messages and tools as JSON.
lyber.reasoning_effort_optionsAccepted reasoning_effort values.
lyber.thinking_token_budget_maxDeepSeek only. The largest thinking_token_budget.