// guides
OpenAI compatibility
Litepod implements the OpenAI Chat Completions API, so existing OpenAI code works after changing two settings.
Switching from OpenAI
| Setting | OpenAI | Litepod |
|---|---|---|
| Base URL | https://api.openai.com/v1 | https://api.litepod.io/v1 |
| API key | sk-... | sk_litepod_... |
| Model | gpt-4o | nvidia/nemotron-lightning-3.5-30b-a3b |
Frameworks built on the OpenAI SDK, such as LangChain, LlamaIndex and the Vercel AI SDK, work the same way: set their OpenAI base URL and key.
What's supported
POST /v1/chat/completions, including streaming, vision, function calling and JSON mode.GET /v1/modelsandGET /v1/models/{model}.- OpenAI's error format, so SDK error handling and retries work as usual.
Differences from OpenAI
- Model ids are Litepod's (see Models), not OpenAI's.
- Only chat completions for now: no embeddings, images, audio, Assistants or Responses API endpoints.
- Parameters Litepod doesn't check are passed through to the model. A parameter a model doesn't support may be ignored or rejected with a
400. - Every response has an
x-request-idheader. Include it when you contact us about a request.