{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cheapestinference-com/json-schema/cheapestinference-com-post-v1-chat-completions-request-schema.json",
  "title": "PostV1ChatCompletionsRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/cheapestinference-com-api-openapi-generated.yml#/components/schemas/PostV1ChatCompletionsRequest",
  "type": "object",
  "properties": {
    "model": {
      "type": "string",
      "description": "The model to use for reasoning"
    },
    "messages": {
      "type": "array",
      "description": "Messages in the conversation"
    },
    "thinking": {
      "type": "object",
      "description": "Control reasoning with type set to 'enabled' or 'disabled'"
    },
    "reasoning_effort": {
      "type": "string",
      "description": "Optional reasoning effort level: low, medium, high, or none"
    },
    "max_tokens": {
      "type": "integer",
      "description": "Maximum tokens for output, including reasoning tokens"
    }
  },
  "required": [
    "model",
    "messages"
  ]
}