Overview
Most general AI chat apps connect to AI Sonar through the standard OpenAI-compatible chat path. In practice that means:- use
https://api.aisonar.dev/v1as the base URL unless the app explicitly asks for a full endpoint URL - use your AI Sonar API key as the OpenAI-style API key
- pick models that the app can use in a standard chat workflow
General chat apps are usually chat-completions oriented, not Codex Responses WebSocket clients. For Codex CLI/App, Cursor, or other coding tools that need Responses-specific behavior, use the dedicated integration guides instead.
Type: Chat AppPrimary Path: OpenAI-compatible chat-completionsSupport Confidence: Supported path
Supported Applications
Default Connection Values
If an app asks for a full endpoint URL instead of a base URL, use:
- Chat Completions:
https://api.aisonar.dev/v1/chat/completions
Example App Setups
- LobeChat
- Cherry Studio
- Chatbox
- TypingMind
- Open WebUI
- DeepChat
- Jan
- LibreChat
Self-hosted LobeChatLobeChat Cloud
- Open Settings → AI Service Provider
- Select OpenAI
- Enter your AI Sonar API key
- Set the custom endpoint to
https://api.aisonar.dev/v1
Safer Model Defaults
Tips
Prefer base URL when the app supports it
Prefer base URL when the app supports it
Most apps are easier to configure and less fragile when you provide
https://api.aisonar.dev/v1 as a base URL instead of a full endpoint URL.Use smaller models first
Use smaller models first
Start with
gpt-5.4-mini or deepseek-v4-flash for everyday chat, then move heavier reasoning tasks to gpt-5.4 or claude-opus-4-8.Keep coding tools separate
Keep coding tools separate
General chat apps and coding agents often need different endpoint behavior. Keep Codex/Cursor-style tools on their dedicated integration pages.
Troubleshooting
Connection Error
Connection Error
- Verify the base URL is exactly
https://api.aisonar.dev/v1 - Remove trailing slashes if the app auto-appends paths
- If the app wants a full endpoint URL, use
https://api.aisonar.dev/v1/chat/completions
Model Not Available
Model Not Available
- Verify the model name exactly
- Try a widely supported default like
gpt-5.4-mini,deepseek-v4-flash, orclaude-sonnet-5 - Check current availability in AI Sonar docs or dashboard