{"slug":"agent402-arb-rosariovitale0096-workers-dev-v1-chat-completio-c569e9","title":"LLM inference API","host":"agent402-arb.rosariovitale0096.workers.dev","method":"POST","resource":"https://agent402-arb.rosariovitale0096.workers.dev/v1/chat/completions","category":"market","description":"LLM inference API: OpenAI-compatible chat completions for 100+ AI models (DeepSeek, GPT, Claude, Gemini, Grok, GLM, Qwen, Kimi, Llama, Mistral). Suited for AI agents that need on-demand text generation, coding or tool calling paid per request in USDC on Base with x402: no account, no API key. Model ","price_listed":0.0014,"price_asked":0.0014,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":774,"reported_calls_30d":8,"reported_payers_30d":3,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"max_tokens":12,"messages":[{"content":"Reply with OK","role":"user"}],"model":"deepseek/deepseek-chat","stream":false},"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":"Optional, default 4096","maximum":16384,"minimum":1,"type":"integer"},"messages":{"items":{"properties":{"content":{"type":["string","array","null"]},"role":{"enum":["system","user","assistant","tool","developer"],"type":"string"}},"required":["role"],"type":"object"},"minItems":1,"type":"array"},"model":{"description":"Choose any current model; GET /v1/models for the live catalog.","examples":["anthropic/claude-fable-5","anthropic/claude-fable-5.1","anthropic/claude-haiku-4.5","anthropic/claude-haiku-5.5","anthropic/claude-opus-4.5","anthropic/claude-opus-4.6","anthropic/claude-opus-4.7","anthropic/claude-opus-4.8","anthropic/claude-opus-4.8-fast","anthropic/claude-opus-5","anthropic/claude-opus-5-fast","anthropic/claude-opus-5.5","anthropic/claude-opus-5.5-fast","anthropic/claude-sonnet-4.5","anthropic/claude-sonnet-4.6","anthropic/claude-sonnet-5","anthropic/claude-sonnet-5.5","deepseek/deepseek-chat","deepseek/deepseek-reasoner","deepseek/deepseek-v3.2","deepseek/deepseek-v4-flash-0731","deepseek/deepseek-v4-flash-0731-fast","deepseek/deepseek-v4-flash-vision-exp","deepseek/deepseek-v4-pro","deepseek/deepseek-v4-pro-0813","deepseek/deepseek-v4.1-flash","google/gemini-2.5-flash","google/gemini-2.5-flash-lite","google/gemini-2.5-pro","google/gemini-3-flash-preview","google/gemini-3.1-flash-lite","openai/gpt-4.1","openai/gpt-4.1-mini","openai/gpt-4.1-nano","openai/gpt-4o","openai/gpt-4o-mini","openai/gpt-5-mini","openai/gpt-5.1","openai/gpt-5.2","openai/gpt-5.2-pro","openai/gpt-5.3-codex","openai/gpt-5.4","openai/gpt-5.4-mini","openai/gpt-5.4-nano","openai/gpt-5.4-pro","openai/gpt-5.5","openai/gpt-5.5-pro","openai/gpt-5.6-luna","openai/gpt-5.6-luna-pro","openai/gpt-5.6-sol","openai/gpt-5.6-sol-pro","openai/gpt-5.6-terra","openai/gpt-5.6-terra-pro","openai/gpt-6-astra","openai/gpt-6-astra-pro","openai/gpt-6-luna","openai/gpt-6-sol","openai/gpt-6.1-sol","openai/gpt-6.1-sol-ultrafast","openai/gpt-oss-120b"],"type":"string"},"response_format":{"type":"object"},"stream":{"description":"true: server-sent events after payment","type":"boolean"},"temperature":{"maximum":2,"minimum":0,"type":"number"},"tools":{"type":"array"}},"required":["model","messages"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"headers":{"additionalProperties":{"type":"string"},"type":"object"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"queryParams":{"additionalProperties":{"type":"string"},"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"choices":{"items":{"required":["index","message","finish_reason"],"type":"object"},"type":"array"},"id":{"type":"string"},"model":{"type":"string"},"object":{"const":"chat.completion"},"usage":{"type":"object"}},"required":["id","object","model","choices"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0014,"price_match":true,"latency_ms":774,"error":null}],"description_full":"LLM inference API: OpenAI-compatible chat completions for 100+ AI models (DeepSeek, GPT, Claude, Gemini, Grok, GLM, Qwen, Kimi, Llama, Mistral). Suited for AI agents that need on-demand text generation, coding or tool calling paid per request in USDC on Base with x402: no account, no API key. Model in body.model (GET /v1/models); streaming supported. Exact price in the 402 quote; automatic refund if the model fails.","last_updated":"2026-10-15T17:11:27.407Z","schemes":["exact"]}