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

# GPT-5.2 - Schnellstart

> - Aufruf des GPT-5.2 Modells im OpenAI SDK-Format
- Synchroner Verarbeitungsmodus, Echtzeit-Antwort
- Minimale Parameter, schneller Einstieg
- Mehr Funktionen benötigt? Siehe [Vollständige API-Referenz](./gpt-5.2-reference)

<Note>
  **BaseURL**: Die Standard-BaseURL ist `https://direct.evolink.ai` und bietet bessere Unterstützung für Textmodelle sowie persistente Verbindungen. `https://api.evolink.ai` ist der primäre Endpunkt für multimodale Dienste und dient bei Textmodellen als Ausweichadresse.
</Note>


## OpenAPI

````yaml de/api-manual/language-series/gpt-5.2/gpt-5.2-quickstart.json POST /v1/chat/completions
openapi: 3.1.0
info:
  title: GPT-5.2 Schnellstart
  description: Starten Sie in 5 Minuten mit der GPT-5.2 Chat-Schnittstelle
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://direct.evolink.ai
    description: Produktion (empfohlen)
  - url: https://api.evolink.ai
    description: Alternative URL
security:
  - bearerAuth: []
tags:
  - name: Chat-Vervollständigung
    description: KI-Chat-Vervollständigung zugehörige Endpunkte
paths:
  /v1/chat/completions:
    post:
      tags:
        - Chat-Vervollständigung
      summary: GPT-5.2 Schnellchat
      description: >-
        - Aufruf des GPT-5.2 Modells im OpenAI SDK-Format

        - Synchroner Verarbeitungsmodus, Echtzeit-Antwort

        - Minimale Parameter, schneller Einstieg

        - Mehr Funktionen benötigt? Siehe [Vollständige
        API-Referenz](./gpt-5.2-reference)
      operationId: createChatCompletionQuickGPT52
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChatCompletionQuickRequest'
      responses:
        '200':
          description: Chat-Vervollständigung erfolgreich
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatCompletionResponse'
        '400':
          description: Ungültige Anfrageparameter
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 400
                  message: Ungültige Anfrageparameter
                  type: invalid_request_error
        '401':
          description: Nicht autorisiert, ungültiges oder abgelaufenes Token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 401
                  message: Invalid or expired token
                  type: authentication_error
        '402':
          description: Unzureichendes Kontingent, Aufladung erforderlich
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 402
                  message: Unzureichendes Kontingent
                  type: insufficient_quota_error
                  fallback_suggestion: https://evolink.ai/dashboard/billing
        '403':
          description: Zugriff verweigert
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 403
                  message: Access denied for this model
                  type: permission_error
                  param: model
        '404':
          description: Ressource nicht gefunden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 404
                  message: Specified model not found
                  type: not_found_error
                  param: model
                  fallback_suggestion: gpt-5.2
        '429':
          description: Ratenlimit überschritten
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 429
                  message: Ratenlimit überschritten
                  type: rate_limit_error
                  fallback_suggestion: retry after 60 seconds
        '500':
          description: Interner Serverfehler
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 500
                  message: Interner Serverfehler
                  type: internal_server_error
                  fallback_suggestion: try again later
        '502':
          description: Upstream-Dienstfehler
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 502
                  message: Upstream AI service unavailable
                  type: upstream_error
                  fallback_suggestion: try different model
        '503':
          description: Dienst vorübergehend nicht verfügbar
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 503
                  message: Dienst vorübergehend nicht verfügbar
                  type: service_unavailable_error
                  fallback_suggestion: retry after 30 seconds
components:
  schemas:
    ChatCompletionQuickRequest:
      type: object
      required:
        - model
        - messages
      properties:
        model:
          type: string
          description: Modellname für Chat-Vervollständigung
          enum:
            - gpt-5.2
          default: gpt-5.2
          example: gpt-5.2
        messages:
          type: array
          description: Liste der Nachrichten für das Gespräch
          items:
            $ref: '#/components/schemas/MessageSimple'
          minItems: 1
          example:
            - role: user
              content: Hello, introduce the new features of GPT-5.2
    ChatCompletionResponse:
      type: object
      properties:
        id:
          type: string
          description: Eindeutiger Bezeichner für die Chat-Vervollständigung
          example: chatcmpl-20251010015944503180122WJNB8Eid
        model:
          type: string
          description: Das für die Vervollständigung verwendete Modell
          example: gpt-5.2
        object:
          type: string
          enum:
            - chat.completion
          description: Antworttyp
          example: chat.completion
        created:
          type: integer
          description: Unix-Zeitstempel der Erstellung der Vervollständigung
          example: 1760032810
        choices:
          type: array
          description: Liste der Vervollständigungsoptionen
          items:
            $ref: '#/components/schemas/Choice'
        usage:
          $ref: '#/components/schemas/Usage'
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
              description: HTTP-Status-Fehlercode
            message:
              type: string
              description: Fehlermeldung
            type:
              type: string
              description: Fehlertyp
            param:
              type: string
              description: Zugehöriger Parametername
            fallback_suggestion:
              type: string
              description: Vorschlag zur Fehlerbehebung
    MessageSimple:
      type: object
      required:
        - role
        - content
      properties:
        role:
          type: string
          description: Nachrichtenrolle
          enum:
            - user
        content:
          type: string
          description: Nachrichteninhalt (Klartext)
    Choice:
      type: object
      properties:
        index:
          type: integer
          description: Index dieser Option
          example: 0
        message:
          $ref: '#/components/schemas/AssistantMessage'
        finish_reason:
          type: string
          description: Grund für den Abschluss der Vervollständigung
          enum:
            - stop
            - length
            - content_filter
          example: stop
    Usage:
      type: object
      description: Token-Nutzungsstatistiken
      properties:
        prompt_tokens:
          type: integer
          description: Anzahl der Tokens in der Eingabe
          example: 13
        completion_tokens:
          type: integer
          description: Anzahl der Tokens in der Ausgabe
          example: 1891
        total_tokens:
          type: integer
          description: Gesamtanzahl der verwendeten Tokens
          example: 1904
        prompt_tokens_details:
          type: object
          description: Eingabe-Token-Details
          properties:
            cached_tokens:
              type: integer
              description: Anzahl der zwischengespeicherten Tokens
              example: 0
            text_tokens:
              type: integer
              description: Anzahl der Text-Tokens
              example: 13
            audio_tokens:
              type: integer
              description: Anzahl der Audio-Tokens
              example: 0
            image_tokens:
              type: integer
              description: Anzahl der Bild-Tokens
              example: 0
        completion_tokens_details:
          type: object
          description: Ausgabe-Token-Details
          properties:
            text_tokens:
              type: integer
              description: Anzahl der Text-Tokens
              example: 0
            audio_tokens:
              type: integer
              description: Anzahl der Audio-Tokens
              example: 0
            reasoning_tokens:
              type: integer
              description: Anzahl der Reasoning-Tokens
              example: 1480
        input_tokens:
          type: integer
          description: Anzahl der Eingabe-Tokens (Kompatibilitätsfeld)
          example: 0
        output_tokens:
          type: integer
          description: Anzahl der Ausgabe-Tokens (Kompatibilitätsfeld)
          example: 0
        input_tokens_details:
          type: object
          nullable: true
          description: Eingabe-Token-Details (Kompatibilitätsfeld)
          example: null
    AssistantMessage:
      type: object
      properties:
        role:
          type: string
          description: Rolle des Nachrichtenabsenders
          enum:
            - assistant
          example: assistant
        content:
          type: string
          description: Antwortinhalt der KI
          example: >-
            Hello! I'm happy to introduce GPT-5.2 to you.


            GPT-5.2 is the next-generation large language model with enhanced
            reasoning and understanding capabilities...
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        ## Alle APIs erfordern Bearer-Token-Authentifizierung ##


        **API-Schlüssel erhalten:**


        Besuchen Sie die
        [API-Schlüssel-Verwaltungsseite](https://evolink.ai/dashboard/keys), um
        Ihren API-Schlüssel zu erhalten


        **Zum Anfrage-Header hinzufügen:**

        ```

        Authorization: Bearer YOUR_API_KEY

        ```

````