LEAPNODE DOCS / DEVELOPER GUIDE
OpenAI Compatible API
Use the familiar OpenAI SDK to access multiple AI models through one LeapNode endpoint.
Quick Start
from openai import OpenAI
client = OpenAI(
api_key="YOUR_LEAPNODE_KEY",
base_url="https://leapnode.net/v1"
)
response = client.chat.completions.create(
model="your-model",
messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)Configuration
- Endpoint: https://leapnode.net/v1
- Authentication: Bearer API key
- Format: OpenAI compatible
Choose a model
Model names, availability, capabilities and pricing are shown on the live model catalog and pricing pages. Not all models support every endpoint or modality.