Skip to main content
The reason capability provides access to large language models for text generation, analysis, and reasoning tasks.

Providers

Basic Usage

Parameters

string
required
The text prompt to send to the LLM.
string
Specific provider to use. If omitted, Saturn chooses the best available.
string
Specific model to use. Requires provider to be set.
string
Optional system prompt for context.
number
Maximum tokens in the response. Default varies by model.
number
Sampling temperature (0-2). Lower is more deterministic.

Response

Examples

Choose a Provider

With System Prompt

Control Output Length

Pricing

Pricing is per-token and varies by model:
Saturn quotes the cost before execution. The quote is based on estimated tokens. Actual cost may be slightly different based on actual usage.

Error Handling