low through max.
In ComfyUI, GPT-6 Astra runs through the OpenAI Chat node: select gpt-6-astra in the node’s model dropdown. This page focuses on how to use the model inside ComfyUI workflows. For node basics shared by all models, see the OpenAI Chat tutorial.
When to pick GPT-6 Astra
TheOpenAI Chat node offers many models, from gpt-5-nano to gpt-6-astra. GPT-6 Astra is the strongest but also the most expensive option, so it fits tasks where cheaper models struggle:
- Long-context image analysis: feeding many images (via
Batch Images) or large prompt files and asking for a structured analysis in one pass - Prompt engineering: turning a reference image or a rough idea into a detailed, comma-separated positive prompt for image or video models
- Agentic workflows: multi-step tasks like analyzing a dataset description, then writing a generation plan, then drafting the prompts themselves
- Complex instruction following: precise output formats (JSON, YAML, fixed section order) that smaller models tend to break
gpt-5 or gpt-5-mini produce good results at a fraction of the cost. See the pricing table for the per-model rates.
Using the model in the OpenAI Chat node
TheOpenAI Chat node takes:
prompt: the instruction. For prompt-generation tasks, describe exactly what to extract from the image and the output format you wantimages: optional image context. Connect aLoadImage, orBatch Imagesfor multiple images; every connected image is sent to the modelfiles: optional documents from theOpenAI Chat Input Filesnodeadvanced_options: optional configuration from theOpenAI Chat Advanced Optionsnode
String. Typical ways to use it downstream:
- Into a
Preview Anynode to read the response - Into
Save Textto write the generated prompt to a.txtfile - Into the positive prompt input of a
CLIP Text Encodenode, creating fully automatic image or video generation pipelines where the LLM writes the prompt - Into text inputs of partner nodes, for example to draft a scene description before video generation
Reasoning effort
GPT-6 Astra is a reasoning model. Connect anOpenAI Chat Advanced Options node and set reasoning_effort to control the trade-off between response quality and cost:
The same node also exposes
max_output_tokens (16 to 16384, including reasoning tokens) and an instructions field that acts as a persistent system prompt, useful for fixing an output format across many runs.
GPT-6 Astra template
A separate template shows GPT-6 Astra analyzing an image and generating a structured AI art prompt from it. The workflow loads an image, sends an analysis prompt to theOpenAI Chat node with model set to gpt-6-astra, and writes the result to a text file through Save Text.
Run on Comfy Cloud
Open in Comfy Cloud
Download Workflow
Download JSON or search “GPT-6 Astra” in Template Library
LoadImage node:
blue_poppies_field.png
LoadImage node · blue_poppies_field.png- Load your image in the
LoadImagenode - In the
OpenAI Chatnode, adjust the analysis prompt or switchmodelas needed. The template’s prompt asks the model to extract subject, composition, camera, lighting, color palette, texture, and style, then output a comma-separated positive prompt only - Click
Run. The generated prompt appears in the preview and is saved to a.txtfile by theSave Textnode
CLIP Text Encode node or an image / video model node and generate directly from the model’s output.
GPT-6 Astra bills from API token usage, at a higher rate than other OpenAI Chat models. See the pricing table for details.