{"slug":"netintel-dev-messages-df128e","title":"OpenAI-compatible chat completions over x402, answered by Claude Sonnet 4.6 — se","host":"netintel.dev","method":"POST","resource":"https://netintel.dev/messages","category":"other","description":"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}], m","price_listed":0.06,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":3,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"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"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"max_tokens":{"description":"Maximum output tokens. Optional — 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 — defaults to claude-sonnet-4-6.","type":"string"},"temperature":{"description":"Sampling temperature (0–1). Optional.","type":"number"},"top_p":{"description":"Nucleus sampling (0–1). 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"},"history":[],"description_full":"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.","last_updated":"2026-09-09T14:49:19.73Z","schemes":["exact"]}