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

# gpt-6-sol

> Create GPT-6 Sol responses and chat completions through AnyFast.

<Info>
  Use the Responses API for tool calling with reasoning. Chat Completions function calling requires `reasoning_effort: "none"`.
</Info>

<Note>
  In raw Responses API JSON, read generated text from `output[].content[].text`. Some official SDKs expose `output_text` as a convenience property, but the raw HTTP response may omit it.
</Note>

<script src="/public/feedback.js" />


## OpenAPI

````yaml api-reference/model-api/openai/openapi/gpt-6-sol/openapi.yaml POST /v1/responses
openapi: 3.1.0
info:
  title: GPT-6 Sol
  description: Create GPT-6 Sol responses and chat completions through AnyFast.
  version: 1.0.0
servers:
  - url: https://www.anyfast.ai
security:
  - bearerAuth: []
paths:
  /v1/responses:
    post:
      summary: Create a GPT-6 Sol response
      description: >-
        Creates a response from text or image input. Use this endpoint for
        built-in tools, function calling with reasoning, Structured Outputs, and
        prompt caching.
      operationId: createResponseGPT6Sol
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateResponseRequest'
      responses:
        '200':
          description: Response created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseObject'
        '400':
          description: Invalid request or unsupported parameter combination.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate or quota limit reached.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-codeSamples:
        - lang: bash
          label: cURL
          source: |
            curl --request POST \
              --url https://www.anyfast.ai/v1/responses \
              --header 'Authorization: Bearer YOUR_API_KEY' \
              --header 'Content-Type: application/json' \
              --data '{
                "model": "gpt-6-sol",
                "input": "Review this retry design and propose a safe implementation plan.",
                "reasoning": {"effort":"high","summary":"auto"},
                "max_output_tokens": 4096
              }'
components:
  schemas:
    CreateResponseRequest:
      type: object
      required:
        - model
        - input
      properties:
        model:
          type: string
          enum:
            - gpt-6-sol
        input:
          oneOf:
            - type: string
            - type: array
              minItems: 1
              items:
                type: object
                additionalProperties: true
          description: Text or ordered input items, including text and image content.
        instructions:
          type: string
        reasoning:
          $ref: '#/components/schemas/ReasoningConfig'
        max_output_tokens:
          type: integer
          minimum: 1
          maximum: 128000
          description: Maximum visible-output and reasoning tokens.
        text:
          type: object
          additionalProperties: true
          description: Text verbosity or Structured Outputs configuration.
        tools:
          type: array
          items:
            $ref: '#/components/schemas/ResponsesTool'
        tool_choice:
          oneOf:
            - type: string
              enum:
                - none
                - auto
                - required
            - type: object
              additionalProperties: true
        stream:
          type: boolean
          default: false
        prompt_cache_key:
          type: string
        prompt_cache_options:
          type: object
          additionalProperties: false
          properties:
            mode:
              type: string
              enum:
                - implicit
                - explicit
            ttl:
              type: string
              enum:
                - 30m
              default: 30m
        include:
          type: array
          items:
            type: string
          description: >-
            Do not request message.output_text.logprobs when reasoning effort is
            not none.
      description: >-
        When reasoning effort is not none, omit temperature, top_p, and
        top_logprobs.
    ResponseObject:
      type: object
      properties:
        id:
          type: string
        object:
          type: string
          example: response
        model:
          type: string
          example: gpt-6-sol
        status:
          type: string
          enum:
            - queued
            - in_progress
            - completed
            - incomplete
            - failed
            - cancelled
        output:
          type: array
          items:
            type: object
            additionalProperties: true
        output_text:
          type: string
          description: >-
            Optional SDK convenience field that aggregates text output. In raw
            HTTP responses, read generated text from output message items at
            output[].content[].text and do not require this field to be present.
        usage:
          type: object
          additionalProperties: true
        error:
          oneOf:
            - type: object
              additionalProperties: true
            - type: 'null'
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
    ReasoningConfig:
      type: object
      properties:
        effort:
          $ref: '#/components/schemas/ReasoningEffort'
        summary:
          type: string
          enum:
            - auto
            - concise
            - detailed
    ResponsesTool:
      type: object
      additionalProperties: true
      properties:
        type:
          type: string
          description: >-
            Tool type, such as function or a supported Responses API built-in
            tool.
        name:
          type: string
        description:
          type: string
        parameters:
          type: object
          additionalProperties: true
        strict:
          type: boolean
    ReasoningEffort:
      type: string
      enum:
        - none
        - low
        - medium
        - high
        - xhigh
        - max
      default: medium
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````