File size: 949 Bytes
3329d3c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | ---
license: mit
tags:
- nexaapi
- tutorial
- ai
- python
---
# SlopCodeBench + NexaAPI: AI Code Generation Benchmark 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/slopcodebench-nexaapi-tutorial
## 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/slopcodebench-nexaapi-tutorial) for full code examples and tutorials.
|