aimlapi-decisions
Installation
SKILL.md
Ask decision models, and route with them
A decision model writes no text: POST /v1/decisions returns one typed answer per question, with probabilities. A router is a model id on the usual endpoints whose decision model picks the bucket of models that answers.
When to use
- "Is this spam / urgent / safe", "which team gets this ticket", "rate this answer 1 to 5"
- Replacing an LLM judge or JSON classifier
- Reading a date, number or personal data out of text, or finding an object in an image
- Easy prompts to a cheap model, hard ones to a strong one; spam stopped before any model runs
Free-text answers and tool calls: aimlapi-chat.
Steps
1. Pick a model and read its shape
Ids and prices come from the catalogue, never memory: