Sumopod
AI

Using the OpenAI-Compatible API

Sumopod AI can be used with any SDK that supports the OpenAI format simply change the base URL to https://ai.sumopod.com/v1.

Steps

  1. Prepare an API Key from the AI menu.
  2. Change the base URL to https://ai.sumopod.com/v1. The AI Quick Start page showing the base URL
  3. Use the API Key in the Authorization header.
  4. Call the chat completions endpoint as usual, setting model to one of the available models. The list of available AI models

Example usage:

TerminalCode
curl https://ai.sumopod.com/v1/chat/completions \ -H "Authorization: ******" \ -H "Content-Type: application/json" \ -d '{ "model": "gpt-4o-mini", "messages": [{ "role": "user", "content": "Hello!" }] }'

Notes

  • Sumopod models can generate text only.
  • For more code examples (Python, Node.js, etc.), check the AI Quick Start.
Last modified on