Gemini Decision 1
gemini-decision-1Extract text and data from files with Gemini Decision 1 through one Spiral API key. Answers typed questions about one input with calibrated probabilities: yes/no, one choice, or a rubric score, over text and media. It runs in the background and returns structured JSON. Pay as you go, with no subscription.
Pricing
Input $0.13 per 1M tokens; no output tokens.
Limits
- Runs
- In the background
- Returns
- json
- Longest queue wait
- 1 hour
- Run deadline
- 30 minutes
- Longest run, end to end
- 225 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
input required | JSON | — | The shared input every question is asked about, evaluated once: text, or a list of text, image, audio, document and video parts. |
questions required | JSON | — | Your question ids → typed questions; each is answered on its own against the shared input. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "gemini",
"model": "gemini-decision-1",
"input": {
"input": "<input>",
"questions": {}
}
}'Frequently asked questions
How much does Gemini Decision 1 cost?
Input $0.13 per 1M tokens; no output tokens. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Gemini Decision 1 through an API?
Send `POST /v1/runs` with `"provider": "gemini"`, `"model": "gemini-decision-1"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with Gemini to use Gemini Decision 1?
No. Spiral runs it on its own Gemini account and charges your Spiral balance.
Can my AI agent use Gemini Decision 1?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.