> ## 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.1-sol

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

<Info>
  Use the Responses API for tool calling with reasoning. AnyFast also accepted Chat Completions function calling at low effort; `none` and `minimal` reasoning effort are unsupported.
</Info>

<Note>
  The Responses API returned `model: "gpt-6.1-sol"`; Chat Completions returned `model: "azure/gpt-6.1-sol"`. A request with `prompt_cache_options.ttl: "30m"` returned `prompt_cache_retention: "24h"`; effective retention was not verified.
</Note>

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


## OpenAPI

````yaml api-reference/model-api/openai/openapi/gpt-6.1-sol/openapi.yaml POST /v1/responses
openapi: 3.1.0
info:
  title: GPT-6.1 Sol
  description: Create GPT-6.1 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.1 Sol response
      description: >-
        Creates a response from text or image input. Use this endpoint for
        function calling with reasoning, Structured Outputs, and prompt-cache
        request fields; these were live-tested on AnyFast.
      operationId: createResponseGPT61Sol
      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.1-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.1-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
        include:
          type: array
          items:
            type: string
          description: Do not request message.output_text.logprobs for this model.
      description: For this model, omit temperature, top_p, and top_logprobs.
    ResponseObject:
      type: object
      required:
        - id
        - object
        - model
        - status
        - output
      properties:
        id:
          type: string
        object:
          type: string
          enum:
            - response
        model:
          type: string
          example: gpt-6.1-sol
        status:
          type: string
          enum:
            - queued
            - in_progress
            - completed
            - incomplete
            - failed
            - cancelled
        created_at:
          type: integer
        completed_at:
          type: integer
          nullable: true
        background:
          type: boolean
        output:
          type: array
          description: >-
            Text is in message content blocks with type output_text; function
            calls use function_call items.
          items:
            type: object
            additionalProperties: true
            properties:
              id:
                type: string
              type:
                type: string
                description: >-
                  Message, reasoning, function_call, or another supported output
                  item.
              status:
                type: string
              role:
                type: string
              phase:
                type: string
              content:
                type: array
                items:
                  type: object
                  additionalProperties: true
                  properties:
                    type:
                      type: string
                      example: output_text
                    text:
                      type: string
                    annotations:
                      type: array
                      items:
                        type: object
                    logprobs:
                      type: array
                      items:
                        type: object
              name:
                type: string
              arguments:
                type: string
              call_id:
                type: string
        usage:
          type: object
          properties:
            input_tokens:
              type: integer
            output_tokens:
              type: integer
            total_tokens:
              type: integer
            input_tokens_details:
              type: object
              properties:
                cached_tokens:
                  type: integer
                cache_write_tokens:
                  type: integer
            output_tokens_details:
              type: object
              properties:
                reasoning_tokens:
                  type: integer
        reasoning:
          type: object
          properties:
            effort:
              type: string
              enum:
                - low
                - medium
                - high
                - xhigh
                - max
            summary:
              type: string
              nullable: true
            context:
              type: string
            mode:
              type: string
        error:
          type: object
          nullable: true
          additionalProperties: true
        incomplete_details:
          type: object
          nullable: true
          additionalProperties: true
        content_filters:
          type: array
          description: Content filter diagnostics observed in the AnyFast response.
          items:
            type: object
            additionalProperties: true
            properties:
              blocked:
                type: boolean
              source_type:
                type: string
              content_filter_raw:
                type: array
                items:
                  type: object
              content_filter_results:
                type: object
                additionalProperties: true
              content_filter_offsets:
                type: object
                additionalProperties: true
        tool_usage:
          type: object
          description: Tool accounting observed in the AnyFast response.
          additionalProperties: true
        max_output_tokens:
          type: integer
          nullable: true
        max_tool_calls:
          type: integer
          nullable: true
        instructions:
          type: string
          nullable: true
        metadata:
          type: object
          additionalProperties: true
        moderation:
          type: object
          nullable: true
          additionalProperties: true
        parallel_tool_calls:
          type: boolean
        previous_response_id:
          type: string
          nullable: true
        prompt_cache_key:
          type: string
          nullable: true
        prompt_cache_retention:
          type: string
        safety_identifier:
          type: string
          nullable: true
        service_tier:
          type: string
        store:
          type: boolean
        text:
          type: object
          additionalProperties: true
        tool_choice:
          oneOf:
            - type: string
            - type: object
              additionalProperties: true
        tools:
          type: array
          items:
            type: object
            additionalProperties: true
        truncation:
          type: string
        user:
          type: string
          nullable: true
        frequency_penalty:
          type: number
        presence_penalty:
          type: number
        temperature:
          type: number
          description: >-
            Returned gateway value; omit this sampling parameter from requests
            with reasoning.
        top_p:
          type: number
          description: >-
            Returned gateway value; omit this sampling parameter from requests
            with reasoning.
        top_logprobs:
          type: integer
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
            message:
              type: string
            param:
              type: string
              nullable: true
            code:
              type: string
              nullable: true
    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
          enum:
            - function
          description: Custom function tool type, live-tested on AnyFast.
        name:
          type: string
        description:
          type: string
        parameters:
          type: object
          additionalProperties: true
        strict:
          type: boolean
    ReasoningEffort:
      type: string
      enum:
        - low
        - medium
        - high
        - xhigh
        - max
      default: medium
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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