Skip to main content

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

  1. Add an OpenAI language model component.
  2. Set OpenAI API Key to your AI Sonar key.
  3. Expand advanced settings.
  4. Set OpenAI API Base to https://api.aisonar.dev/v1.
  5. Set Model Name to a AI Sonar model ID.
  6. Connect the model output to your agent, chain, or workflow.

Values

  • gpt-5.4-mini for most workflow tests
  • claude-sonnet-5 for stronger writing and reasoning
  • gemini-3.5-flash for fast multimodal-friendly workflows
  • deepseek-v4-flash for fast coding and reasoning iterations
Use Langflow’s LiteLLM Proxy component if your deployment already centralizes provider routing through a LiteLLM proxy.