| license: mit | |
| tags: | |
| - nexaapi | |
| - tutorial | |
| - ai | |
| - python | |
| # dotai-cli + NexaAPI Integration Tutorial | |
| Tutorial and code examples for using NexaAPI — the cheapest AI API with 56+ models. | |
| ## Links | |
| - 🌐 **NexaAPI**: https://nexa-api.com | |
| - 🔌 **RapidAPI**: https://rapidapi.com/user/nexaquency | |
| - 📦 **Python SDK**: `pip install nexaapi` | https://pypi.org/project/nexaapi/ | |
| - 📦 **Node.js SDK**: `npm install nexaapi` | https://www.npmjs.com/package/nexaapi | |
| - 💻 **GitHub Tutorial**: https://github.com/diwushennian4955/dotai-cli-nexaapi-integration | |
| - 📝 **Dev.to Article**: https://dev.to/diwushennian4955/dotai-cli-nexaapi-give-your-coding-agent-real-ai-superpowers-2026-tutorial-47dj | |
| ## Quick Start | |
| ```bash | |
| pip install nexaapi | |
| ``` | |
| ```python | |
| from nexaapi import NexaAPI | |
| client = NexaAPI(api_key='YOUR_API_KEY') | |
| # Get your API key at https://nexa-api.com | |
| # RapidAPI: https://rapidapi.com/user/nexaquency | |
| ``` | |
| See the [GitHub repository](https://github.com/diwushennian4955/dotai-cli-nexaapi-integration) for full code examples and tutorials. | |