Tool detail
BlockRun.AI
Runs an OpenAI-compatible chat-completions request against a chosen AI model and returns the model's response, billed per request in USDC.
Categories: LLM inference
Use when
- run a chat completion against a chosen AI model, pay per call
- get a second opinion from a different model via one gateway
Not for
- flat per-request price shown here may not include model-specific token costs
- not every model is free - 6 free open-weight models are the exception
Inputs
POST JSON body: model, messages[] (required); max_tokens, temperature, stream (optional)
Admitted input schema
{
"type": "object",
"properties": {
"max_tokens": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Maximum tokens to generate"
},
"messages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"content": {
"type": "string",
"minLength": 0,
"maxLength": 4096
},
"role": {
"type": "string",
"minLength": 0,
"maxLength": 4096
}
},
"required": [],
"additionalProperties": false
},
"minItems": 0,
"maxItems": 100,
"description": "Array of chat messages with role and content"
},
"model": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "AI model ID (e.g., gpt-4o-mini, claude-haiku-4.5)"
},
"stream": {
"type": "boolean",
"description": "Enable streaming responses"
},
"temperature": {
"type": "number",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Sampling temperature (0-2)"
}
},
"required": [
"model",
"messages"
],
"additionalProperties": false
}Endpoint
- Method
POST- URL
https://blockrun.ai/api/v1/chat/completions
Payment
- Protocol
- x402
- Listed price
- 0.002 USDC per call on Base
- Payment method
- exact
- Network
- eip155:8453
- Asset
- 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
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
- Directory
- Coinbase x402 Bazaar
- Record
- POST https://blockrun.ai/api/v1/chat/completions
- Retrieved
- 2026-09-30T20:37:07.382Z
- Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524- Catalog built
- 2026-09-30T22:31:58.034Z