tokonomix_single_ask
Make a single-model AI call for routine reasoning, tool orchestration, or classification. Get a plain answer at lower cost than consensus-based queries.
Instructions
Single-model passthrough call. Cheaper than consensus — use for routine reasoning, tool-orchestration, classification. Returns the model's plain answer with markup billing on top. Tip: use tokonomix_consensus_ask instead when correctness matters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Bare model slug (e.g. "claude-haiku-4-5-20251001", "gpt-5"), or "default" to use the key/account default. Provider-prefixed slugs ("anthropic/claude-...") also accepted. If omitted, uses "default". Must be a vision-capable model when images are provided. | |
| images | No | Optional images to include in the user message (vision input). Non-streaming only. Requires a vision-capable model (use tokonomix_list_models({"supports":["vision"]}) to find one). Constraints: ≤8 images, ≤5 MB decoded per image, ≤20 MB total across all images. | |
| prompt | Yes | The user prompt to send. | |
| system | No | Optional system prompt prepended to the messages array. | |
| max_tokens | No | Max output tokens. Default: 1024; clamped to a 16384 ceiling. |