Overview
Langflow’s OpenAI component includes an OpenAI API Base field. Point that field at AI Sonar’s OpenAI-compatible/v1 endpoint and use AI Sonar model IDs.
Type: Low-code AI Workflow BuilderPrimary Path: OpenAI-compatible chat completionsSupport Confidence: Supported with scope limits
OpenAI Component
- Add an OpenAI language model component.
- Set OpenAI API Key to your AI Sonar key.
- Expand advanced settings.
- Set OpenAI API Base to
https://api.aisonar.dev/v1. - Set Model Name to a AI Sonar model ID.
- Connect the model output to your agent, chain, or workflow.
Values
Recommended Models
gpt-5.4-minifor most workflow testsclaude-sonnet-5for stronger writing and reasoninggemini-3.5-flashfor fast multimodal-friendly workflowsdeepseek-v4-flashfor fast coding and reasoning iterations