{"slug":"flat-rate-llm-kikoribera03-workers-dev-v1-chat-completions-6658d0","title":"Chat completions with the exact request and response shape of the OpenAI API","host":"flat-rate-llm.kikoribera03.workers.dev","method":"GET","resource":"https://flat-rate-llm.kikoribera03.workers.dev/v1/chat/completions","category":"code","description":"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 acro","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":27,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:137","eip155:42161","eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"messages":"[{\"role\":\"user\",\"content\":\"Summarise in one line what the x402 protocol is.\"}]"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"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":[],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"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.005,"price_match":true,"latency_ms":27,"error":null}],"description_full":"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, so a model being down is not your problem. You are only charged if the completion is delivered.","last_updated":"2026-10-17T23:16:30.418Z","schemes":["exact"]}