Update
Google's Gemini Decisions API Adds New Functionality
Google's Gemini Decisions API now allows software to receive fixed choices and probabilities from an AI model without generating a written answer. The API can handle yes/no questions, choices from a supplied list, and scores against predefined rating scales. It is available through Google AI Studio and costs $0.10 per million input tokens.