Overview
LemonData is easiest to integrate through:- official OpenAI SDKs for OpenAI-compatible and Responses-style usage
- official Anthropic SDKs for Claude-native
/v1/messages - official Gemini / Google AI tooling when you specifically need Gemini-native request shapes
Recommended SDKs
OpenAI Python
pip install openaiOpenAI Node
npm install openaiOpenAI Go
go get github.com/openai/openai-go/v3Anthropic SDK
Native Claude Messages API support
OpenAI SDK Example
Use this as the default starting point for new projects:OpenAI Go Example
Anthropic SDK Example
Which SDK Should You Use?
| Goal | Recommended SDK |
|---|---|
| New app, general default | OpenAI SDK |
| Claude-native features | Anthropic SDK |
| Gemini-native request shapes | Gemini-native API / SDK |
| LangChain / LlamaIndex / Vercel AI SDK | Use the dedicated integration pages |
Best Practices
Prefer Responses for new projects
Prefer Responses for new projects
If your SDK supports both
responses and chat.completions, start with responses.Keep base URLs explicit
Keep base URLs explicit
Pass LemonData base URLs directly in your client configuration instead of relying on older environment-variable aliases.
Use native SDKs only when native features matter
Use native SDKs only when native features matter
Use the Anthropic SDK for Claude-native features such as extended thinking, and otherwise prefer the OpenAI SDK for broad compatibility.