{"slug":"flat-rate-llm-kikoribera03-workers-dev-v1-chat-completions-95a560","title":"Use when an agent must call an LLM with no account and no token metering","host":"flat-rate-llm.kikoribera03.workers.dev","method":"POST","resource":"https://flat-rate-llm.kikoribera03.workers.dev/v1/chat/completions","category":"code","description":"Use when an agent must call an LLM with no account and no token metering: chat completions with the exact request and response shape of the OpenAI API - point your existing client at this URL and it works, no code change. One flat price per call whatever the size of the prompt or the answer — no tok","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":3,"answered_7d":3,"latency_ms_median":26,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:137","eip155:42161","eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"messages":"[{\"role\":\"user\",\"content\":\"Summarise in one line what the x402 protocol is.\"}]"},"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":"Output token cap, up to 4000. Does not change the price.","type":"number"},"messages":{"description":"The conversation, as in the OpenAI API: [{\"role\":\"system|user|assistant\",\"content\":\"...\"}]. In a POST, send it as a real JSON array, exactly as an OpenAI client does; in a GET, pass that same JSON as text in the query string. Both are accepted.","type":"string"},"model":{"description":"Ignored on purpose: the service picks the model and fails over between several. Accepted so an OpenAI client can send it unchanged.","type":"string"},"prompt":{"description":"Shortcut for a single user message, if you do not want to build the array.","type":"string"},"temperature":{"description":"Passed through to the model when given.","type":"number"}},"required":[]},"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":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":26,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":29,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":20,"error":null}],"description_full":"Use when an agent must call an LLM with no account and no token metering: chat completions with the exact request and response shape of the OpenAI API - point your existing client at this URL and it works, no code change. One flat price per call whatever the size of the prompt or the answer — no token metering, no API key, no account, no rate limit. Automatic failover across several large models. You are only charged if the completion is delivered.","last_updated":"2026-11-23T16:34:24.243Z","schemes":["exact"]}