Skip to content
onelayer.
All tools

Tool detail

OpenRelay Chat Completions

OpenAI-compatible chat completion using DeepSeek V4 Flash, Kimi K2.6, or MiniMax M2.7, given a message list and optional sampling parameters.

Categories: LLM inference

Use when

  • run an OpenAI-style chat completion against DeepSeek, Kimi or MiniMax
  • get an LLM response to a message list without an API key or signup

Not for

  • not for models outside the 3 listed (DeepSeek V4 Flash, Kimi K2.6, MiniMax M2.7)

Inputs

POST JSON body: { messages: [{role,content}] (required) }; model (enum of 3), max_tokens, temperature, stream (all optional)

Admitted input schema

{
  "type": "object",
  "properties": {
    "max_tokens": {
      "type": "integer",
      "minimum": 1,
      "maximum": 16384,
      "default": 512
    },
    "messages": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "content": {
            "type": "string",
            "minLength": 0,
            "maxLength": 4096
          },
          "role": {
            "type": "string",
            "minLength": 0,
            "maxLength": 4096,
            "enum": [
              "system",
              "user",
              "assistant"
            ]
          }
        },
        "required": [
          "role",
          "content"
        ],
        "additionalProperties": false
      },
      "minItems": 0,
      "maxItems": 100
    },
    "model": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "deepseek-ai/DeepSeek-V4-Flash-0731",
        "moonshotai/Kimi-K2.6",
        "MiniMaxAI/MiniMax-M2.7"
      ],
      "description": "Model id. Available: DeepSeek V4 Flash (400k ctx), Kimi K2.6 (240k ctx), MiniMax M2.7 (180k ctx). See GET /v1/models. Default: DeepSeek V4 Flash.",
      "default": "deepseek-ai/DeepSeek-V4-Flash-0731"
    },
    "stream": {
      "type": "boolean",
      "default": false
    },
    "temperature": {
      "type": "number",
      "minimum": 0,
      "maximum": 2,
      "default": 1
    }
  },
  "required": [
    "messages"
  ],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://openrelay.hggfffdfy687.workers.dev/v1/chat/completions

Payment

Protocol
x402
Listed price
$0.10 per 1M tokens (input + max_tokens), not a flat fee; USDC on Solana or Base
Payment method
exact
Network
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Asset
EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
POST https://openrelay.hggfffdfy687.workers.dev/v1/chat/completions
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z