OpenAI-compatible POST /v1/chat/completions & /api/v1/chat/completions inference
OpenAI-compatible POST /v1/chat/completions & /api/v1/chat/completions inference powered by local GPU qwen3.5:4b with JSON mode ($0.0018/call — 10% cheaper than $0.002).
Answeringour last check, 2026-11-26
3 of 3checks answered this week
281 msmedian answer time
$0.0018listed price per call
$0.0018price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://apix402data.com/api/v1/chat/completions
| Category | Everything else |
|---|---|
| Provider host | apix402data.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.0018 | 281 ms |
| 2026-11-25 | valid payment request | 402 | $0.0018 | 278 ms |
| 2026-11-24 | valid payment request | 402 | $0.0018 | 300 ms |
Example input (from the provider)
{
"body": {
"max_tokens": 256,
"messages": [
{
"content": "Summarize Base x402 micropayments in one sentence.",
"role": "user"
}
],
"model": "qwen3.5:4b",
"temperature": 0.2
},
"bodyType": "json",
"inputSchema": {
"properties": {
"max_tokens": {
"default": 512,
"description": "Maximum completion tokens (1-2048)",
"maximum": 2048,
"minimum": 1,
"type": "integer"
},
"messages": {
"description": "List of {role: system|user|assistant, content: string} messages",
"items": {
"additionalProperties": true,
"type": "object"
},
"maxItems": 32,
"type": "array"
},
"model": {
"default": "qwen3.5:4b",
"description": "Model name (routed to local GPU qwen3.5:4b)",
"maxLength": 80,
"type": "string"
},
"response_format": {
"description": "Optional OpenAI response_format (json_object or json_schema)",
"type": "string"
},
"stop": {
"description": "Optional stop sequence(s)",
"type": "string"
},
"stream": {
"default": false,
"description": "Streaming is unsupported over x402; must be false",
"type": "boolean"
},
"temperature": {
"default": 0.2,
"description": "Sampling temperature (0.0-2.0)",
"maximum": 2,
"minimum": 0,
"type": "number"
},
"timeout_ms": {
"description": "Optional LLM deadline in ms (504, no charge, if exceeded)",
"type": "string"
}
},
"required": [
"messages"
],
"type": "object"
},
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"max_tokens": {
"default": 512,
"description": "Maximum completion tokens (1-2048)",
"maximum": 2048,
"minimum": 1,
"type": "integer"
},
"messages": {
"description": "List of {role: system|user|assistant, content: string} messages",
"items": {
"additionalProperties": true,
"type": "object"
},
"maxItems": 32,
"type": "array"
},
"model": {
"default": "qwen3.5:4b",
"description": "Model name (routed to local GPU qwen3.5:4b)",
"maxLength": 80,
"type": "string"
},
"response_format": {
"description": "Optional OpenAI response_format (json_object or json_schema)",
"type": "string"
},
"stop": {
"description": "Optional stop sequence(s)",
"type": "string"
},
"stream": {
"default": false,
"description": "Streaming is unsupported over x402; must be false",
"type": "boolean"
},
"temperature": {
"default": 0.2,
"description": "Sampling temperature (0.0-2.0)",
"maximum": 2,
"minimum": 0,
"type": "number"
},
"timeout_ms": {
"description": "Optional LLM deadline in ms (504, no charge, if exceeded)",
"type": "string"
}
},
"required": [
"messages"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"inputSchema": {
"type": "object"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"outputSchema": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}