Api Endpoint

quickbuild.quynguyenbac.workers.dev

One-shot LLM completion on Cloudflare Workers AI with a minimal interface: give `prompt` (and optionally `system`, or OpenAI-style `messages`), get {text, model, finish_reason, usage}. Models: llama-3.1-8b (default), llama-3.2-3b, llama-3.2-1b, mistral-7b, granite-4.0-micro. max_tokens capped at 512, input up to 24000 chars, Llama Guard 3 safety check, 503 "capacity" when the daily budget is used up. Errors are never charged. All params optional: with none it answers a short sample question....

Open interactive test console

Offering

Provider
quickbuild.quynguyenbac.workers.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://quickbuild.quynguyenbac.workers.dev/api/chat
MIME type
application/json
First seen
2026-10-23T22:46:33.373Z
Last seen
Tags
LLM, chat, AI, Inference, text-generation

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.003 USDC
Atomic price: 3000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000",
    "payTo": "0x751a4c3841bE287544C371B4EE09Bd3366AeA7cf"
  }
]

Observed health

Status
Healthy
Latest latency
382 ms
Average latency
424 ms
HTTP status
402
Last checked
Reachability
100% over 16 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "prompt": {
          "type": "string",
          "description": "User message. Optional: defaults to a short sample question."
        },
        "system": {
          "type": "string",
          "description": "Optional system instruction."
        },
        "messages": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "role": {
                "type": "string"
              },
              "content": {
                "type": "string"
              }
            }
          },
          "description": "Optional OpenAI-style history (POST JSON)."
        },
        "model": {
          "type": "string",
          "enum": [
            "llama-3.1-8b",
            "llama-3.2-3b",
            "llama-3.2-1b",
            "mistral-7b",
            "granite-4.0-micro"
          ],
          "description": "Model alias (default llama-3.1-8b)."
        },
        "max_tokens": {
          "type": "integer",
          "minimum": 1,
          "maximum": 512,
          "description": "Max output tokens (default/cap 512)."
        },
        "temperature": {
          "type": "number",
          "minimum": 0,
          "maximum": 2,
          "description": "Sampling temperature."
        }
      },
      "required": []
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "text": {
          "type": "string"
        },
        "model": {
          "type": "string"
        },
        "modelId": {
          "type": "string"
        },
        "finish_reason": {
          "type": "string"
        },
        "usage": {
          "type": "object",
          "properties": {
            "prompt_tokens": {
              "type": "integer"
            },
            "completion_tokens": {
              "type": "integer"
            },
            "total_tokens": {
              "type": "integer"
            }
          }
        }
      }
    }
  },
  "required": [
    "type"
  ]
}