Your first API request
Practical guidance for using NeonAPI.
NeonAPI brings supported AI models into one gateway. Start with a key and one model; keep the SDK you already use.
1. Prepare your account
Sign in to the NeonAPI console. Check that your balance or active plan can cover a request, then create an API key under API Keys. Your web sign-in password is not an API key.
2. Select a compatible model
Open Models & pricing, copy the exact model ID and check supported endpoints. A model supporting Chat Completions is suitable for the example below. Availability and rates can change; use the current model page.
3. Configure the connection
| Setting | Value |
|---|---|
| Gateway | https://neon-api.com |
| OpenAI-compatible base URL | https://neon-api.com/v1 |
| API key | Your NeonAPI key |
| Model | An exact ID from Models & pricing |
export NEON_API_KEY="YOUR_API_KEY"
curl https://neon-api.com/v1/chat/completions \
-H "Authorization: Bearer $NEON_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"YOUR_MODEL_ID","messages":[{"role":"user","content":"Hello"}]}'4. Check the result
A successful JSON response contains the generated answer. Review request usage in the console before increasing traffic. If it fails, start with Troubleshooting.
Continue with API keys, Python, Node.js or the API reference.