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 →Use NeatAPI in your tools
Step-by-step setup guides for popular AI tools.
Coding & Agents
Claude Code
Use NeatAPI as the model backend for Claude Code by switching the Anthropic base URL. Works with all Claude models supported by NeatAPI.
Read guide →OpenClaw
Power your personal AI assistant with 100+ models through a single NeatAPI key. Drop-in replacement for OpenAI-compatible providers.
Read guide →Hermes
Connect Hermes Agent to NeatAPI as its inference provider. Switch models on the fly through Hermes' built-in selector.
Read guide →Chat clients
Cherry Studio
Add NeatAPI as a custom OpenAI provider in Cherry Studio's settings panel, then chat across every NeatAPI-supported model from one desktop client.
Read guide →LobeChat
Plug NeatAPI into LobeChat's model provider list in two settings clicks. Works in both the desktop app and self-hosted web deployments.
Read guide →Chatbox
Configure NeatAPI as a custom provider in Chatbox so you can switch between models without juggling multiple keys.
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.