chat-standard
Chat completion, standard tier (12k in, 2k out) — OpenAI-style chat completion served by the hub's provider router (mid-size general model, up to 12000 input tokens and 2048 output tokens per call), with a signed receipt that binds the provider, model, token usage and the hashes of your messages and the reply. Supports optional strict json_schema output returned both parsed and as a string. Does not stream, call tools or functions, accept images,
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"messages": "<messages>"
},
"name": "chat-standard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Accepted and ignored: the hub routes by tier (the resource you paid for). Echoed as requested_model. | |
| top_p | No | Accepted and ignored. | |
| messages | Yes | Conversation, oldest first; the last message must have role user. At most 200000 characters in total. System messages are joined into the instructions. | |
| max_tokens | No | Upper bound on the reply in tokens; defaults to 1024. A value above the tier cap is rejected with 400. | |
| temperature | No | Accepted and ignored. | |
| response_format | No | Either {"type":"text"} (default) or {"type":"json_schema","json_schema":{name,schema}}. The schema is always enforced strictly: root object, every property required, additionalProperties false, keywords limited to type, description, properties, required, additionalProperties, items, enum. |