AI EngineerGuide

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
Paste a request body, a structured-output schema, or a tool definition. Remove secrets first. Nothing leaves your browser.
curl
How the answers come back
QuestionOpenAIGeminiJev / 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 documentednot documented
Containerarray, in question ordermap keyed by question idmap 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 DecisionsOpenAI Decisions
Endpointhttps://generativelanguage.googleapis.com/v1beta/decisions (unconfirmed)https://api.openai.com/v1/decisions
Modelgemini-decision-1gpt-6-luna
QuestionsMap keyed by question id, 1–1000Array, in your order, 1–400
Yes/nonoulpredicate
Pick onechoicechoice
Ordered rubricscorescore
Box (image)Not supportedNot supported
Authx-goog-api-key: $GEMINI_API_KEYAuthorization: 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; choice criteria 2 to 255 options; score criteria 2 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/decisions using gpt-6-luna, the only currently supported model.”
  • OpenAI: “Use an input_json content part to pass structured evidence without first converting it to a string. Put the JSON object or array in data.”
  • OpenAI: Score levels: 2 to 10, from the API reference (read 2026-11-19); no verbatim line stored.

All formats · Classifier schema to decisions