Chat with an LLM
vivid_chatRun one non-streaming chat completion through VIVID's LLM routing, billed in credits per token, and return the reply text, token usage, and credits charged.
Instructions
Run one chat completion on VIVID's LLM routing (Grok, Claude, OpenAI GPT via Kie.ai; Kimi via Wavespeed) paid in credits: provider price + 50%, billed per token (list with vivid_list_models type="llm", prices in credits per 1M tokens). Non-streaming. Pass the full conversation each call (system/user/assistant); image parts as {type:"image_url", image_url:{url}} on vision models. Returns the reply text, token usage and the credits charged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model slug from vivid_list_models type="llm" (grok-4.6, claude-sonnet-5, gpt-5.6-terra, kimi-k2-5…). Default: the account default (Grok 4.6). | |
| messages | Yes | ||
| maxTokens | No | ||
| reasoningEffort | No | Grok / GPT only. |