AbliteratedLLM
Get $0.50 free

API referenceGET /v1/models

GET /v1/models

Lists the enabled models in the OpenAI list format, with types, modalities, reasoning efforts, capabilities, prices and limits added. To fetch a single model object, call GET /v1/models/:id. Unauthenticated requests return the public catalog pricing (also published at /models.json); sending an API key applies any custom pricing configured for your account.

Placeholders: $API_BASE is https://api.abliteratedllm.dev/v1, $API_ORIGIN is https://api.abliteratedllm.dev, and $ABLITERATEDLLM_API_KEY is your API key.

bash
curl https://api.abliteratedllm.dev/v1/models

Abridged response (the table below is live):

json
{
  "object": "list",
  "data": [
    {
      "id": "glm-5.3-flash-abliterated",
      "object": "model",
      "created": 1793664000,
      "owned_by": "…",
      "name": "GLM-5.3 Flash Abliterated",
      "context_length": 1048576,
      "max_output_tokens": 131072,
      "pricing": { "input": "0.0977", "output": "0.3421", "cached_input": "0.0098", "priority": null },
      "provider_label": null,
      "variant": "abliterated",
      "input_modalities": ["text", "image"],
      "output_modalities": ["text"],
      "reasoning_efforts": ["low", "medium", "high", "xhigh", "max"],
      "capabilities": {
        "reasoning": true,
        "vision": true,
        "priority_tier": false,
        "tools": true,
        "structured_outputs": true,
        "completions": true,
        "zero_data_retention": true
      },
      "precision": "FP8"
    },
    {
      "id": "glm-5.3-flash",
      "object": "model",
      "created": 1793664000,
      "owned_by": "…",
      "name": "GLM-5.3 Flash",
      "context_length": 1048576,
      "max_output_tokens": 131072,
      "pricing": {
        "input": "0.135",
        "output": "0.45",
        "cached_input": "0.027",
        "priority": { "input": "0.16875", "output": "0.5625", "cached_input": "0.03375" }
      },
      "provider_label": "Stock model",
      "variant": "stock",
      "input_modalities": ["text", "image", "video"],
      "output_modalities": ["text"],
      "reasoning_efforts": ["minimal", "low", "medium", "high", "xhigh", "max"],
      "capabilities": {
        "reasoning": true,
        "vision": true,
        "priority_tier": true,
        "tools": true,
        "structured_outputs": true,
        "completions": true,
        "zero_data_retention": true
      },
      "precision": null
    }
  ]
}

Single model

GET /v1/models/:id returns one enabled model object (the same shape as an entry in data), or 404 model_not_found when the model id is unknown or disabled.

bash
curl https://api.abliteratedllm.dev/v1/models/glm-5.3-flash-abliterated

Optional authentication

Authentication is optional on both GET /v1/models and GET /v1/models/:id (Authorization: Bearer, x-api-key, or api-key):

bash
curl https://api.abliteratedllm.dev/v1/models -H "Authorization: Bearer $ABLITERATEDLLM_API_KEY"
curl https://api.abliteratedllm.dev/v1/models/glm-5.3-flash-abliterated -H "Authorization: Bearer $ABLITERATEDLLM_API_KEY"
  • Unauthenticated requests return the public catalog pricing with Cache-Control: public, max-age=60.
  • Authenticated requests apply any account-specific custom prices configured for the calling account (recalculating pricing.priority from those custom prices where a priority tier exists) and return Cache-Control: private, no-store. Both endpoints always include Vary: Authorization, x-api-key, api-key.
  • Bad credentials never fall back to the anonymous catalog. If any authentication header (Authorization, x-api-key, or api-key) is present, the gateway validates it and returns the actual auth error: 401 invalid_api_key for a malformed, unknown, revoked, or expired key; 403 account_suspended or 403 account_banned for an inactive account (checked before key expiry); and 429 rate_limit_exceeded if an IP exceeds 60 failed auth attempts in a minute.
  • Successful authenticated catalog requests do not consume inference RPM or key-info RPM, and list every enabled model regardless of a key's allowed_models restriction.

Fields

FieldMeaning
idThe model id to send in model.
object, createdAlways "model", and a fixed timestamp.
owned_byAlways AbliteratedLLM.
nameDisplay name.
context_lengthContext window in tokens, input plus output.
max_output_tokensThe largest output budget a request can get. Larger requested budgets are lowered to this.
pricing.inputUSD per 1M input tokens, as a decimal string. Image and video tokens are input tokens.
pricing.cached_inputUSD per 1M input tokens read from the prompt cache.
pricing.outputUSD per 1M output tokens, reasoning included.
pricing.priorityThe prices (input, output, cached_input) billed instead for requests that send "service_tier": "priority", or null when the model has no priority tier.
provider_label"Stock model" for stock models, null for our abliterated models.
variant"abliterated" or "stock". See Model types below.
input_modalitiesWhat a request may contain: always "text", plus "image" and "video" on the models that take them. See images and video on POST /v1/chat/completions.
output_modalitiesOutput types the model produces; currently always ["text"].
reasoning_effortsAccepted reasoning_effort levels (a subset of "none", "minimal", "low", "medium", "high", "xhigh", "max"), or null when the model does not enforce discrete effort tiers. When non-null, a level not in the list runs at the nearest listed level in that order (a tie goes to the higher level), thinking: {"type": "disabled"} on Messages runs at the lowest listed level when "none" is absent, and a value that isn't one of the seven levels fails with 400 invalid_request before any balance hold.
capabilities.reasoningtrue when the model reasons before it answers.
capabilities.visiontrue when input_modalities includes "image".
capabilities.priority_tiertrue when the model accepts "service_tier": "priority". pricing.priority then has its prices.
capabilities.toolstrue when client-side tool/function calling is supported.
capabilities.structured_outputstrue when strict JSON Schema structured outputs are supported across endpoints.
capabilities.completionstrue when POST /v1/completions is supported.
capabilities.zero_data_retentiontrue when prompts and outputs stay in memory only under our zero-data-retention configuration.
precisionThe weight format we serve, such as "FP8", or null when we make no claim. Stock models have null because we state a format only for our abliterated models.

Prices are strings so that no precision is lost: parse them as decimals, not floats.

Current models

Model idTypeInput typesPrecisionInputCached inputOutputPriority tierContextMax output
glm-5.3-flash-abliteratedGLM-5.3 Flash AbliteratedAbliteratedtext, imageFP8 · Zero additional quantization$0.0977$0.0098$0.3421—1,048,576131,072
glm-5.3-cyber-abliteratedGLM-5.3 Cyber AbliteratedAbliteratedtextFP8$0.90$0.135$1.80—1,048,576131,072
deepseek-v4.1-flash-1017DeepSeek V4.1 Flash 1017Stock modeltext, image—$0.27$0.0054$1.08$0.3375 / $0.00675 / $1.35 (125%)1,048,576131,072
deepseek-v4.1-flash-1017-ultrafastDeepSeek V4.1 Flash 1017 UltrafastStock modeltext, image—$1.08$0.0216$4.32—1,048,576131,072
deepseek-v4.1-flash-originalDeepSeek V4.1 Flash (original)Stock modeltext, image—$0.27$0.0054$1.08$0.3375 / $0.00675 / $1.35 (125%)1,048,576131,072
glm-5.3-flashGLM-5.3 FlashStock modeltext, image, video—$0.135$0.027$0.45$0.16875 / $0.03375 / $0.5625 (125%)1,048,576131,072
glm-5.3GLM-5.3Stock modeltext—$1.26$0.234$3.96$1.575 / $0.2925 / $4.95 (125%)1,048,576131,072
glm-5.3-fastGLM-5.3 FastStock modeltext—$1.89$0.351$5.94—1,048,576131,072
kimi-k3Kimi K3Stock modeltext, image—$2.70$0.27$13.50$3.375 / $0.3375 / $16.875 (125%)1,048,576131,072
kimi-k3.1-proKimi K3.1 ProStock modeltext, image—$1.80$0.18$9.00$2.70 / $0.27 / $13.50 (150%)1,048,576131,072
kimi-k3-fastKimi K3 FastStock modeltext, image—$4.05$0.405$20.25—1,048,576131,072
ember-1Ember-1Stock modeltext, image—$2.70$0.27$13.50—1,048,576131,072
muse-spark-openMuse Spark OpenStock modeltext, image—$1.125$0.135$3.825$1.6875 / $0.2025 / $5.7375 (150%)1,048,576131,072
qwen3.8-maxQwen3.8 MaxStock modeltext, image—$1.80$0.225$5.40$2.70 / $0.3375 / $8.10 (150%)262,144131,072
qwen3.8-2.4t-a95bQwen3.8-2.4T-A95BStock modeltext, image—$1.80$0.225$5.40—262,144131,072
minimax-m3MiniMax M3Stock modeltext, image—$0.27$0.054$1.08$0.405 / $0.081 / $1.62 (150%)512,000131,072

Prices in USD per 1M tokens. Context and max output in tokens. Input types are what a request may contain; our automated safety check reads text only, so images and video are not screened. Priority tier prices (input / cached input / output, with their share of the standard prices) apply to requests that send service_tier "priority"; "—" means the model has no priority tier. Precision is the weight format we serve, where we state one.GLM-5.3 Flash Abliterated: Native FP8 (block-FP8, e4m3): the precision Z.ai releases GLM-5.3 Flash in. Zero additional quantization: never compressed to INT8, INT4 or FP4.

Model types

variant says what a model is. Every type works with the same key, balance, limits, billing and endpoints, with the exceptions listed below.

  • Abliterated ("abliterated", no label): our abliterated models, open weights with their refusals removed, on dedicated GPUs operated by our infrastructure provider under a zero-data-retention configuration. Read what abliterated models are and how abliteration works.
  • Stock model ("stock"): the vendor's original weights, not abliterated, on shared GPUs operated by our infrastructure provider under the same zero-data-retention configuration.

Precision

glm-5.3-flash-abliterated is served in native FP8 (block-FP8, e4m3): the precision Z.ai releases GLM-5.3 Flash in. Zero additional quantization: it is never compressed to INT8, INT4 or FP4.

glm-5.3-cyber-abliterated is served in FP8 (e4m3) and takes text only; its publisher's build edits a small set of BF16 tensors and is not compressed further to INT8, INT4 or FP4.

Stock models

Models whose variant is "stock" are labelled Stock model. They differ from our abliterated models:

  • Not abliterated. They keep their vendor's own refusals. We add no system prompt and don't rewrite your messages. Our own safety check is the same as on every other model, except for designated reseller accounts with delegated screening (see Privacy).
  • Same data handling. They run under the same zero-data-retention configuration as our abliterated models, so prompts, images and outputs are never stored. Details are in the privacy summary.
  • Images and video. Many stock models take images, and some take video: check input_modalities. Our automated safety check reads only the text of a request, so images and video are not screened. The acceptable use policy still covers them.
  • Priority tier. Stock models with capabilities.priority_tier accept "service_tier": "priority" at their priority prices. See POST /v1/chat/completions.
  • Fast variants. An id ending in -fast or -ultrafast serves the same model as the id without the suffix, with the same output quality, at a much higher generation speed and higher prices. An ultrafast variant generates several times faster than the standard one. Fast variants have less capacity than the standard ones, so they are busy more often, and their features can differ: check their input_modalities and capabilities.

How a request is billed

Balances and costs are kept in millionths of a dollar ($0.000001). For each request:

  1. Hold. Before forwarding, we reserve the most the request could cost: the estimated input at the input price, plus the full output budget (once per prompt for a /v1/completions prompt array) at the output price. The input estimate is the size of the request's text in bytes divided by 3, in tokens, with each image and video counted at an estimate instead of its data:

    • a base64 image counts one token per 28 × 28-pixel tile of its size (rounded up), up to 16,384 tokens;
    • an image URL, or a base64 image whose size can't be read from its header, counts 16,384 tokens;
    • each video counts 65,536 tokens.

    The hold uses the priority prices for "service_tier": "priority". It is subtracted from your available balance while the request runs. Rate limits and trial gives the exact rules and explains what happens when the hold doesn't fit.

  2. Settle. When the response finishes, the hold is released and you pay the usage the model reported: input (images and video included), cached input and output tokens, each at its price per 1M (the priority prices for a priority request). The combined final per-request usage cost is rounded up once to $0.000001. The formulas per endpoint are on the chat completions, messages, responses and completions pages.

  3. Exceptions.

    • If you disconnect before the response ends, streaming or not, generation stops and you are charged even when the model hasn't generated any output yet. Input is the prompt token count the model backend reported when it started answering, with its cached tokens billed at the cached-input price. If the backend reported none, input is the hold's input estimate, capped at the model's context length, with nothing cached. Output is the output already produced: its size in UTF-8 bytes divided by 3, at least one token per streamed piece, capped at the output budget.
    • If a response ends without a usage report, the same rule applies.
    • If the model has generated output and the request is then stopped by a time limit or a restart, or its backend fails, the same rule applies, with status upstream_error.
    • A request that ends before the model generates any output costs nothing, whatever stopped it on our side or the model's: validation errors, rate limits, capacity_exhausted, model_unavailable, a backend failure or error (upstream_error), the 14-minute time limit (the wait for the first token included), 2 minutes with no output, or a restart. The one exception is a disconnect by your client, charged as above.

Your per-request history (time, key, model, token counts, cost, status and latency) is in the dashboard for 30 days, then rolled up into daily totals.