Getting Started
GoModelHub provides a single, OpenAI-compatible endpoint that routes your requests to the best available model based on cost, latency, and availability.
pip install openai
API Reference
All API requests should be made to your assigned endpoint. Authentication is via API key in the Authorization header.
| Endpoint | Method | Description |
|---|---|---|
/v1/chat/completions | POST | Create a chat completion |
/v1/models | GET | List available models |
/v1/usage | GET | View usage metrics |
