Chat · Completions
OpenAI-compatible chat completions API (POST /v1/chat/completions): send messages, get the assistant reply in the standard OpenAI format, stream or not. Model: Google Gemma 4 26B. Up to 32,000 characters in and 2,048 tokens out per request. Works with any OpenAI client by setting the base URL. Errors are not charged.
POST https://pagetext.yashil.workers.dev/v1/chat/completions
0.002 USDC on Base · payTo 0x81a7031258011929544B25983c803F1D21DA673f
Status: unverified (probe-pending)
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"max_tokens": 200,
"messages": [
{
"content": "Write a haiku about the sea.",
"role": "user"
}
],
"model": "gemma-4-26b"
}{
"choices": [
{
"finish_reason": "stop",
"index": 0,
"logprobs": null,
"message": {
"content": "Waves fold into foam / ...",
"role": "assistant"
}
}
],
"created": 1795900000,
"id": "chatcmpl-1a2b3c",
"model": "gemma-4-26b",
"object": "chat.completion",
"usage": {
"completion_tokens": 17,
"prompt_tokens": 18,
"total_tokens": 35
}
}HIVE Repair reads this endpoint's real probe record, writes the exact fix and re-probes until it shows verified · payable, or you get a full refund. Card or USDC.
Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | pending / 100 · breakdown |
|---|---|
| Probe uptime (30d) | — over 0 probes · daily |
| Avg 402 latency | — ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
How to call
POST https://pagetext.yashil.workers.dev/v1/chat/completions · input in body · spec from feed (schema inferred from example)
Input schema
{
"type": "object",
"properties": {
"max_tokens": {
"type": "integer"
},
"messages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"role": {
"type": "string"
}
}
}
},
"model": {
"type": "string"
}
}
}Output schema
{
"type": "object",
"properties": {
"choices": {
"type": "array",
"items": {
"type": "object",
"properties": {
"finish_reason": {
"type": "string"
},
"index": {
"type": "integer"
},
"logprobs": {
"type": "null"
},
"message": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"role": {
"type": "string"
}
}
}
}
}
},
"created": {
"type": "integer"
},
"id": {
"type": "string"
},
"model": {
"type": "string"
},
"object": {
"type": "string"
},
"usage": {
"type": "object",
"properties": {
"completion_tokens": {
"type": "integer"
},
"prompt_tokens": {
"type": "integer"
},
"total_tokens": {
"type": "integer"
}
}
}
}
}curl -i -X POST 'https://pagetext.yashil.workers.dev/v1/chat/completions' \
-H 'content-type: application/json' -d '{"max_tokens":200,"messages":[{"content":"Write a haiku about the sea.","role":"user"}],"model":"gemma-4-26b"}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs
Try-it needs an exact USDC-on-Base route that is verified payable; use your own x402 client or proxy_call.