{
  "x402Version": 2,
  "id": 245,
  "slug": "245",
  "resource": "https://glim.sh/api/v1/inference/v1/chat/completions",
  "description": "LLM chat completion (OpenAI-compatible, streaming supported)",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "9MkM5Ra48KFcSv9HDQ8sb3C3r5HjouEwGQ6sp1cx1vde",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "5400",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xC751344Ee09B5159160173F77D4a1169bCd386A1",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5400",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:143",
      "payTo": "0xC751344Ee09B5159160173F77D4a1169bCd386A1",
      "asset": "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
      "amount": "5400",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "messages": [
              {
                "content": "Hello",
                "role": "user"
              }
            ],
            "model": "moonshotai/kimi-k2.5"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "choices": [
              {
                "finish_reason": "stop",
                "index": 0,
                "message": {
                  "content": "Hello! How can I help?",
                  "role": "assistant"
                }
              }
            ],
            "id": "chatcmpl-abc123",
            "usage": {
              "completion_tokens": 20,
              "prompt_tokens": 10,
              "total_tokens": 30
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": {},
                "description": "ChatCompletionBody",
                "properties": {
                  "max_completion_tokens": {
                    "anyOf": [
                      {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Max completion tokens (preferred over max_tokens)"
                  },
                  "max_tokens": {
                    "anyOf": [
                      {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Max tokens to generate"
                  },
                  "messages": {
                    "description": "Chat messages",
                    "items": {
                      "additionalProperties": {},
                      "properties": {
                        "content": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            },
                            {
                              "items": {
                                "additionalProperties": {},
                                "properties": {
                                  "type": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "type"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            }
                          ]
                        },
                        "role": {
                          "description": "Message role",
                          "type": "string"
                        }
                      },
                      "required": [
                        "role"
                      ],
                      "type": "object"
                    },
                    "minItems": 1,
                    "type": "array"
                  },
                  "model": {
                    "description": "Model identifier. Available: moonshotai/kimi-k2.5, minimax/minimax-m2.5, qwen/qwen-2.5-7b-instruct, anthropic/claude-sonnet-4.5, anthropic/claude-sonnet-4.6, anthropic/claude-opus-4.5, anthropic/claude-opus-4.6, minimax/minimax-m2.7, z-ai/glm-5, z-ai/glm-5-turbo, z-ai/glm-5.1, x-ai/grok-4.1-fast, x-ai/grok-4.20-beta, x-ai/grok-4.20-multi-agent-beta, x-ai/grok-4.1-fast:online, x-ai/grok-4.20-beta:online, x-ai/grok-4.20-multi-agent-beta:online, stepfun/step-3.5-flash, xiaomi/mimo-v2-pro, google/gemini-3.1-flash-lite-preview, google/gemini-3.1-pro-preview",
                    "minLength": 1,
                    "type": "string"
                  },
                  "stream": {
                    "description": "Enable SSE streaming",
                    "type": "boolean"
                  },
                  "temperature": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Sampling temperature (0-2)"
                  },
                  "tools": {
                    "description": "Tool definitions",
                    "items": {},
                    "type": "array"
                  },
                  "top_p": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Nucleus sampling"
                  }
                },
                "required": [
                  "model",
                  "messages"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "glim.sh",
  "lastUpdated": "2026-09-05T10:09:36.163Z",
  "quality": {
    "calls30d": 79,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-09-05T10:09:35.427Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "glim.sh",
    "manifest_name": "glim.sh",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}