Documentation
Build with NeatAPI
Everything you need to integrate 100+ AI models into your application.
Getting Started
New to NeatAPI? Start here.
Quickstart Guide
Get your first API call working in under 5 minutes.
Authentication
How API keys work, scopes, and security best practices.
Coming soonRate Limits
Understand rate limits, quotas, and how to handle 429 errors.
Coming soonSDKs & Libraries
NeatAPI is OpenAI-compatible โ use any OpenAI SDK with our base URL.
Python
pip install openai โ works out of the box
pip install openai Node.js / TypeScript
npm install openai โ full TypeScript support
npm install openai cURL / HTTP
Direct REST API calls โ no SDK needed
Any HTTP client Integration Guides
Step-by-step guides for common use cases.
Migrate from OpenAI
Switch from OpenAI direct to NeatAPI in 2 lines of code. Same SDK, lower prices.
Read guide โMigrate from OpenRouter
Already using OpenRouter? Switch to NeatAPI for better pricing and reliability.
Read guide โStreaming Responses
Enable server-sent events for real-time token streaming in your chat applications.
Read guide โError Handling
Best practices for handling rate limits, timeouts, and API errors gracefully.
Read guide โAPI Reference
Base URL for all API requests:
https://api.neatapi.ai/v1 /chat/completions Chat completions (GPT, Claude, Gemini, etc.) /completions Text completions (legacy) /embeddings Text embeddings /images/generations Image generation /models List available models Ready to Build?
Get your API key and make your first call in under 5 minutes.