# Luna — free GPT-6 Luna endpoint (no key) A small, fast, cheap OpenAI model (GPT-6 Luna), open for learning and small apps. Thai and English both work. ## Quick (GET, plain-text answer) https://luna.wker.dev/?q=YOUR+QUESTION Optional: system=… (instructions), max=… (output tokens, up to 8000), effort=none|low|medium|high (thinking; default none), format=json (full JSON response). URL-encode the values. Example: https://luna.wker.dev/?q=%E0%B8%AA%E0%B8%A7%E0%B8%B1%E0%B8%AA%E0%B8%94%E0%B8%B5 ## Full (POST JSON, OpenAI chat-completions style) POST https://luna.wker.dev/ {"messages":[{"role":"system","content":"Answer in Thai."}, {"role":"user","content":"Explain compound interest in 3 lines."}], "max_completion_tokens": 300, "reasoning_effort": "none", "temperature": 0.7} Shortcut: {"prompt":"…","system":"…"} works too. Response: {"model":"gpt-6-luna","choices":[{"message":{"role":"assistant","content":"…"}}],"usage":{…}} JSON output: add "response_format":{"type":"json_object"} and say "JSON" in the prompt. ## OpenAI SDK / tools (base URL) base_url = https://luna.wker.dev/v1 api_key = anything (ignored) model = anything (always gpt-6-luna) Python: OpenAI(base_url="https://luna.wker.dev/v1", api_key="x").chat.completions.create(model="gpt-6-luna", messages=[...]) Responses API: POST https://luna.wker.dev/v1/responses {"input":"…","instructions":"…","max_output_tokens":500} (also client.responses.create(...)). Stateless: previous_response_id is not supported — send the whole conversation in "input". reasoning.effort none|low|medium|high; tools, text.format, stream work. ## Limits Output up to 8000 tokens, input up to 200000 characters. No rate limits; please be fair, it runs on a small shared credit. Streaming: add "stream":true (server-sent events). Tools: pass "tools" (OpenAI function format); you run the calls and send results back as role "tool". Do not send private or customer data: text passes through Cloudflare and OpenAI. CORS is open, so browser apps and local HTML files can call it directly. Scripts: send any User-Agent header. Cloudflare blocks the default Python-urllib one (error 1010); requests, httpx and the OpenAI SDK are fine. ## Decisions (Jev-shaped, more accurate than Jev) POST https://luna.wker.dev/decide — same body and answers as https://jev.wker.dev, so a Jev client switches by URL. {"state": "text or JSON object", "questions": { "kind": {"type":"choice","instructions":"What kind of message?", "criteria":{"complaint":"unhappy, a problem","inquiry":"asks for info","praise":"thanks"}}, "urgent": {"type":"noul","instructions":"Must we reply within 1 hour?", "criteria":{"true":"customer is losing money now","false":"can wait"}}, "tone": {"type":"score","instructions":"How angry?","criteria":["calm","annoyed","furious"]}}, "effort": "medium"} Response: {"answers":{"kind":{"type":"choice","choice":"complaint","probabilities":{...},"confidence":0.97}, "urgent":{"type":"noul","noul":0.12},"tone":{"type":"score","score":1.1,"legend":{"0":"calm",...},"probabilities":{...},"confidence":0.8}}, "usage":{...}} GET https://luna.wker.dev/decide?state=TEXT&ask=QUESTION[&choice=a,b,c] for one question (yes=…&no=…, c.a=… optional). - noul = probability of yes. score = probability-weighted mean level index (0 = first level); score criteria are a list, low → high. - Up to 10 questions, 50000 characters of state. effort none|low|medium|high (default medium). - Each question is a separate GPT-6 Luna call using JevBench's own prompt for plain LLMs; probabilities are written by the model, and confidence = the top probability. About 1.8 s and ~3.5x Jev's cost per question. - Accuracy: on JevBench v1.6.1, GPT-6 Luna prompted this way scores Capability 98.4 (medium) vs Jev 77.1. Need it cheaper and faster instead? Use https://jev.wker.dev.