OpenAI-compatible chat completions over x402, answered by Claude Sonnet 4.6 — se
OpenAI-compatible chat completions over x402, answered by Claude Sonnet 4.6 — send a messages array and get an assistant reply for Q&A, reasoning, agent planning, coding help, summarization, extraction, and classification. Body is OpenAI chat.completions-shaped ({model?, messages:[{role,content}], max_tokens?, temperature?}); response is a chat.completion object. Flat $0.06; inputs capped ~6KB, max_tokens 1024; no streaming in v1.
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://netintel.dev/messages
| Category | Everything else |
|---|---|
| Provider host | netintel.dev |
| Networks | eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 3 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"body": {
"max_tokens": 256,
"messages": [
{
"content": "What is the capital of France?",
"role": "user"
}
],
"model": "claude-sonnet-4-6"
},
"bodyType": "json",
"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": {
"description": "Maximum output tokens. Optional \u2014 defaults to 1024, capped at 1024.",
"type": "number"
},
"messages": {
"description": "Chat messages in OpenAI format. Each item is {role: 'system'|'user'|'assistant', content: string}. System messages are applied as the system prompt.",
"items": {
"properties": {
"content": {
"description": "Message text",
"type": "string"
},
"role": {
"description": "system, user, or assistant",
"type": "string"
}
},
"required": [
"role",
"content"
],
"type": "object"
},
"type": "array"
},
"model": {
"description": "Model to use. Supported: claude-sonnet-4-6 (aliases: balanced, sonnet). Optional \u2014 defaults to claude-sonnet-4-6.",
"type": "string"
},
"temperature": {
"description": "Sampling temperature (0\u20131). Optional.",
"type": "number"
},
"top_p": {
"description": "Nucleus sampling (0\u20131). Optional; ignored if temperature is set.",
"type": "number"
}
},
"required": [
"messages"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"choices": {
"description": "One choice with the assistant message and a finish_reason (stop/length/content_filter/tool_calls).",
"type": "array"
},
"created": {
"description": "Unix timestamp (seconds)",
"type": "number"
},
"id": {
"type": "string"
},
"model": {
"type": "string"
},
"object": {
"description": "Always 'chat.completion'",
"type": "string"
},
"usage": {
"description": "prompt_tokens, completion_tokens, total_tokens",
"type": "object"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}