For the complete documentation index, see llms.txt. This page is also available as Markdown.

List All Models And Their Properties

List all models and their properties

get
Header parameters
AuthorizationstringRequiredExample: sk-Yf4DN
Responses
200Success
application/json
successbooleanRequired
get/v1/models
GET /v1/models HTTP/1.1
Host: llm.onerouter.pro
Authorization: text
Accept: */*
200Success
{
  "data": [
    {
      "id": "z-ai/glm-5-turbo",
      "object": "model",
      "created": 1626777600,
      "model_id": "z-ai/glm-5-turbo",
      "canonical_slug": "z-ai/glm-5-turbo",
      "display_name": "Z.AI: GLM 5 Turbo",
      "description": "GLM-5 Turbo is a new model from Z.ai designed for fast inference and strong performance in agent-driven environments such as OpenClaw scenarios. It is deeply optimized for real-world agent workflows involving long execution chains, with improved complex instruction decomposition, tool use, scheduled and persistent execution, and overall stability across extended tasks.",
      "model_family": "GLM",
      "model_family_id": 17,
      "category_type": "LLM",
      "context_length": 202752,
      "max_input_tokens": 202752,
      "max_output_tokens": 131100,
      "input_modalities": [
        "text"
      ],
      "output_modalities": [
        "text"
      ],
      "supports_streaming": true,
      "supports_function_calling": true,
      "supports_vision": false,
      "supports_json_mode": true,
      "deprecated": false,
      "is_display_only": false,
      "min_prompt_price": 1.2,
      "min_completion_price": 4,
      "provider_count": 1,
      "providers": [
        {
          "provider_slug": "z-ai",
          "service_tier": "standard",
          "endpoint_name": "glm-5-turbo",
          "prompt_price": 1.2,
          "completion_price": 4,
          "context_length": 202752
        }
      ]
    },
    {
      "id": "x-ai/grok-4.2-beta-reasoning",
      "object": "model",
      "created": 1626777600,
      "model_id": "x-ai/grok-4.2-beta-reasoning",
      "canonical_slug": "x-ai/grok-4.2-beta-reasoning",
      "display_name": "xAI: Grok 4.2 Beta Reasoning",
      "description": "Grok 4.20 Beta is our newest flagship model with industry-leading speed and agentic tool calling capabilities. It combines the lowest hallucination rate on the market with strict prompt adherance, delivering consistently precise and truthful responses.",
      "model_family": "Grok",
      "model_family_id": 20,
      "category_type": "LLM",
      "context_length": 2000000,
      "max_input_tokens": 2000000,
      "max_output_tokens": 30000,
      "input_modalities": [
        "text"
      ],
      "output_modalities": [
        "text"
      ],
      "supports_streaming": true,
      "supports_function_calling": true,
      "supports_vision": true,
      "supports_json_mode": true,
      "deprecated": false,
      "is_display_only": false,
      "min_prompt_price": 2,
      "min_completion_price": 6,
      "supported_endpoint_types": [
        "openai"
      ],
      "provider_count": 1,
      "providers": [
        {
          "provider_slug": "xai",
          "service_tier": "standard",
          "endpoint_name": "grok-4.20-beta-0309-reasoning",
          "prompt_price": 2,
          "completion_price": 6,
          "context_length": 2000000
        }
      ]
    }
  ],
  "success": true
}

Last updated