{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "api-rungate-ai-v1-chat-completions",
  "title": "RunGate \u00b7 Chat completions",
  "url": "https://api.rungate.ai/v1/chat/completions",
  "category": "ai",
  "summary": "Generate chat completions with streaming support in OpenAI-compatible format.",
  "seo": {
    "title": "Chat Completions API | RunGate x402",
    "description": "LLM chat completions with streaming support. OpenAI-compatible format with choices, deltas, and finish reasons. 0.000001 USDC per call on Base. Ultra-low-cost inference."
  },
  "use_cases": [
    "Generate conversational AI responses",
    "Stream LLM outputs for real-time applications",
    "Integrate low-cost inference into agent pipelines"
  ],
  "ideal_buyer": "AI agent developers, chatbot builders, and cost-optimized inference consumers.",
  "example_prompt": "Explain quantum computing in simple terms.",
  "example_request_body": {
    "stream": true,
    "messages": [
      {
        "role": "user",
        "content": "Explain quantum computing"
      }
    ]
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "cheap_outlier",
    "ratio": 0,
    "median_category_atomic": 10000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0x30de99fc313c68b735c8850795a5351d7a0d1afd",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "1",
      "max_timeout_seconds": 300,
      "verified": false,
      "hints": {
        "input": {
          "type": "http",
          "method": "POST",
          "bodyFields": {
            "stop": {},
            "model": {
              "type": "string",
              "required": true,
              "description": "Public model identifier from GET /v1/models."
            },
            "top_p": {
              "type": "number"
            },
            "stream": {
              "type": "boolean",
              "description": "Set true to receive server-sent events."
            },
            "messages": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "role"
                ],
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "role": {
                    "type": "string",
                    "description": "Message role such as system, user, assistant, or tool."
                  },
                  "content": {},
                  "tool_call_id": {
                    "type": "string"
                  }
                }
              },
              "required": true,
              "description": "OpenAI-style chat messages."
            },
            "metadata": {
              "type": "object",
              "description": "Opaque request metadata forwarded for internal testing and tracing."
            },
            "max_tokens": {
              "type": "integer",
              "description": "Optional completion token budget used for payment estimation."
            },
            "temperature": {
              "type": "number"
            }
          }
        },
        "output": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "model": {
              "type": "string"
            },
            "usage": {
              "type": "object",
              "properties": {
                "total_tokens": {
                  "type": "integer"
                },
                "prompt_tokens": {
                  "type": "integer"
                },
                "completion_tokens": {
                  "type": "integer"
                }
              },
              "additionalProperties": true
            },
            "object": {
              "type": "string"
            },
            "choices": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "delta": {
                    "type": "object",
                    "additionalProperties": true
                  },
                  "index": {
                    "type": "integer"
                  },
                  "message": {
                    "type": "object",
                    "properties": {
                      "role": {
                        "type": "string"
                      },
                      "content": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  },
                  "finish_reason": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "additionalProperties": true
              }
            },
            "created": {
              "type": "integer"
            }
          },
          "additionalProperties": true
        }
      }
    }
  ],
  "origin": {
    "slug": "api-rungate-ai",
    "host": "api.rungate.ai",
    "title": "Rungate AI API",
    "description": "API host for AI services. No public documentation available at root endpoint; specific API routes must be accessed directly.",
    "url": "https://api.rungate.ai",
    "favicon": "https://rungate.ai/icon.png?icon.ea799844.png"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/api-rungate-ai-v1-chat-completions",
    "url": "https://x402all.com/resource/api-rungate-ai-v1-chat-completions",
    "name": "RunGate \u00b7 Chat completions",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/api-rungate-ai-v1-chat-completions",
      "@type": "Offer",
      "price": "0.000001",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.000001",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://api.rungate.ai/v1/chat/completions",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/api-rungate-ai",
      "url": "https://api.rungate.ai",
      "name": "Rungate AI API",
      "@type": "Organization"
    },
    "identifier": "api-rungate-ai-v1-chat-completions",
    "description": "LLM chat completions with streaming support. OpenAI-compatible format with choices, deltas, and finish reasons. 0.000001 USDC per call on Base. Ultra-low-cost inference.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=api-rungate-ai-v1-chat-completions",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "ai"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=api-rungate-ai-v1-chat-completions"
}
