Skip to content
onelayer.
All tools

Tool detail

OpenRelay Premium Chat

OpenAI-compatible chat completion (premium tier) over DeepSeek V4 Flash, Kimi K2.6 or MiniMax M2.7.

Categories: LLM inference

Use when

  • run a chat/completion request against a hosted open-weight LLM
  • pick a specific model (DeepSeek, Kimi K2.6, MiniMax M2.7) for a completion
  • get an OpenAI-format chat response paid per token

Not for

  • not vision or tool-calling — text chat messages only
  • this is the branded premium tier, not the base chat endpoint

Inputs

POST JSON body: messages (array of {role, content}, required), model (enum, default DeepSeek V4 Flash), max_tokens (1-16384, default 512), temperature (0-2), stream (bool)

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/premium/chat/completions

Payment

Protocol
x402
Listed price
$0.10 per 1M tokens, min $0.001/request, 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/premium/chat/completions
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z