> ## Documentation Index
> Fetch the complete documentation index at: https://docs.verlon.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Suggest models for a new endpoint's type

> **Use when:** caller is creating an endpoint and wants the recommended, lower-cost and strongest model for its type

Up to three models from Verlon's curated list for the type: the first listed model the caller can call right now under each label (recommended, lower_cost, strongest), one entry per model with all its labels, its provider, price per 1M tokens when priced by the token, and a short note. Empty with a `reason` when no list is chosen yet (`not_chosen_yet`) or the caller can call none of the listed models (`no_provider_keys`). `description` is accepted and not yet read.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/gates/suggest-models
openapi: 3.1.0
info:
  title: Verlon AI API
  version: 1.0.0
  description: >-
    Verlon AI is the managed AI infrastructure platform for developers building
    LLM-powered apps and agents. Its API is the format you already use — OpenAI,
    Anthropic, Mistral, and Gemini wire formats served drop-in, callable with
    the official SDKs in any language. Beyond routing requests across providers,
    Verlon continuously evaluates response quality, runs experiments against
    live traffic, and automatically tunes endpoint configurations — so your
    platform doesn't just serve traffic, it learns from it.


    **Coding agents:** authentication, error semantics, endpoint concepts, and
    integration conventions are documented at https://verlon.ai/AGENTS.md — read
    that document first if you have not already. It is the canonical
    agent-facing contract; this specification is the canonical endpoint
    reference. Both are authoritative for their respective scopes.
  contact:
    name: Verlon AI
    url: https://verlon.ai
  license:
    name: Proprietary
servers:
  - url: https://api.verlon.ai
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/gates/suggest-models:
    post:
      tags:
        - Gates
      summary: Suggest models for a new endpoint's type
      description: >-
        **Use when:** caller is creating an endpoint and wants the recommended,
        lower-cost and strongest model for its type


        Up to three models from Verlon's curated list for the type: the first
        listed model the caller can call right now under each label
        (recommended, lower_cost, strongest), one entry per model with all its
        labels, its provider, price per 1M tokens when priced by the token, and
        a short note. Empty with a `reason` when no list is chosen yet
        (`not_chosen_yet`) or the caller can call none of the listed models
        (`no_provider_keys`). `description` is accepted and not yet read.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                type:
                  type: string
                  enum:
                    - chat
                    - embeddings
                    - image
                    - video
                    - stt
                    - tts
                    - realtime
                    - moderation
                    - ocr
                description:
                  type: string
                  maxLength: 2000
              required:
                - type
              additionalProperties: false
      responses:
        '200':
          description: '`{ suggestions, reason? }`.'
        '400':
          description: Unknown or missing type.
        '401':
          description: Missing or invalid Bearer credentials
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Stable error code (e.g. `invalid_request`)
        message:
          type: string
          description: Human-readable error message
        details: {}
      required:
        - error
        - message
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        Verlon API key (newly minted keys are prefixed `sk-vrln-`; legacy
        `verlon_*` and `layer_*` keys from prior prefix migrations continue to
        validate). Generated from the dashboard under Settings → API Keys, or
        via `verlon key create` in the CLI.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.