OpenAI-compatible API. Chat completions, image generation, speech, RAG, memory, agents — all in one endpoint.
Try Developers with sample data
Developers is most useful with your own data — but you can preview it now with our sample workspace.
curl -X POST https://api.neww.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4o",
"messages": [
{"role": "user", "content": "Hello, neww.ai!"}
],
"stream": false
}'Test the chat completions endpoint live
/v1/chat/completionsChat/v1/modelsModels/v1/images/generationsImages/v1/audio/speechAudio/v1/audio/transcriptionsAudio/v1/knowledgeKnowledge/v1/knowledge/createKnowledge/v1/memoriesMemory/v1/memories/addMemory/v1/toolsTools/v1/tools/createTools/v1/promptsPrompts/v1/chatsChats/v1/filesFiles/v1/filesFilespip install newwainpm install @newwai/sdkgo get github.com/newwai/go-sdkneww.ai API is OpenAI-compatible. Existing OpenAI SDK code works with zero changes.