chat
Send text prompts or message arrays to LLMs like Claude or GPT, receiving responses with token usage and credit cost.
Instructions
Chat with a text LLM (Claude / GPT / Gemini / DeepSeek class) and get the reply text plus token usage and credit cost. Pass either a single prompt or a full messages array. Charged in credits from the connected account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | LLM model slug. Omit to use the default model. Pass a flagship reasoning model for hard tasks or a fast cheap model for simple ones. | |
| prompt | No | Single user message. Use this OR messages (messages wins if both are set). | |
| messages | No | Full conversation as [{role, content}] with role one of system/user/assistant. Content is plain text. | |
| max_tokens | No | Cap the reply length in tokens. | |
| temperature | No | Sampling temperature (0 = deterministic). |