Convert Gemini Decisions requests to OpenAI Decisions
The Gemini request is preloaded below, converted to OpenAI. Paste your own to convert it, and read the warnings before you send it.
Runs in your browser. Nothing you paste is uploaded.
Converted request
curl
How the answers come back
| Question | OpenAI | Gemini | Jev / Clef |
|---|---|---|---|
| Yes/no | {type: "predicate", name, probability} | {type: "noul", noul (0.01–0.99), confidence} | {type: "noul", noul} |
| Pick one | {type: "choice", name, choice, probabilities: [{value, probability}], confidence} | {type: "choice", choice, probabilities: {option: p}, confidence} | {type: "choice", choice, confidence, probabilities: {…}} |
| Ordered rubric | {type: "score", name, score, probabilities: [{value, label, probability}], confidence} | {type: "score", score, legend: {"0": …}, probabilities: {"0": p}, confidence} | {type: "score", score, confidence, legend, probabilities} |
| Refusal | {type: "refusal", name} (name is null for an unnamed question) | not documented | not documented |
| Container | array, in question order | map keyed by question id | map keyed by question name (Clef wraps the response in result: unconfirmed) |
17 warning types. Most link to the provider's docs; format facts come from the sources listed on each format pair page (last checked 2026-11-19).
What's different
| Gemini Decisions | OpenAI Decisions | |
|---|---|---|
| Endpoint | https://generativelanguage.googleapis.com/v1beta/decisions (unconfirmed) | https://api.openai.com/v1/decisions |
| Model | gemini-decision-1 | gpt-6-luna |
| Questions | Map keyed by question id, 1–1000 | Array, in your order, 1–400 |
| Yes/no | noul | predicate |
| Pick one | choice | choice |
| Ordered rubric | score | score |
| Box (image) | Not supported | Not supported |
| Auth | x-goog-api-key: $GEMINI_API_KEY | Authorization: Bearer $OPENAI_API_KEY |
Sources
Read 2026-11-19; the OpenAI pages re-read 2026-11-20.
- Gemini: “Questions per request | 1 to 1,000 (bounded by the 262,144-token context window)”
- Gemini: “Before evaluation, the API sorts option keys alphabetically in UTF-8 byte order.”
- Gemini: “Conversation history, thought, and tool-call blocks aren’t supported”
- Gemini: “Serialize JSON objects and arrays to a string”
- Gemini: Question keys match
[A-Za-z0-9_-]+, up to 64 characters; choicecriteria2 to 255 options; scorecriteria2 to 255 non-empty strings. From the Decisions API docs (read 2026-11-19); no verbatim line stored. - OpenAI: “Ask 1–400 questions about the input.”
- OpenAI: “Provide between 2 and 255 choices”
- OpenAI: “Send requests to
POST /v1/decisionsusinggpt-6-luna, the only currently supported model.” - OpenAI: “Use an
input_jsoncontent part to pass structured evidence without first converting it to a string. Put the JSON object or array indata.” - OpenAI: Score
levels: 2 to 10, from the API reference (read 2026-11-19); no verbatim line stored.