Integrations
Practical guides for developers and creators: connect your tools, pick the right model, write better prompts and keep your AI bill down.
How to use Claude Code with a custom API (ANTHROPIC_BASE_URL)
Point Claude Code at DEVSAIO with three environment variables, choose which Claude models it uses, and pay per request instead of a subscription.
Configure Continue (VS Code / JetBrains) with a custom model provider
Add Claude, GPT and Gemini to the Continue extension using one config file and one API key.
Set up Cline in VS Code with an OpenAI-compatible API
Configure the Cline extension to use any model through DEVSAIO, and keep agent costs predictable.
Use your own API key in Cursor (custom OpenAI base URL)
How to add a custom OpenAI-compatible endpoint in Cursor, which features use it, and how to add models like Claude and Gemini.
LangChain (Python) with Claude, GPT and Gemini through one endpoint
Use ChatOpenAI with a custom base_url to run any model in LangChain, including streaming and structured output.
LangChain.js with a custom OpenAI-compatible endpoint
Configure ChatOpenAI in LangChain.js to use DEVSAIO, with streaming and a simple prompt template.
LlamaIndex with any OpenAI-compatible model (OpenAILike)
Use the OpenAILike class to run LlamaIndex RAG pipelines on Claude, GPT, Gemini or DeepSeek through DEVSAIO.
Vercel AI SDK with a custom OpenAI-compatible provider
Use @ai-sdk/openai-compatible to stream responses from any DEVSAIO model in Next.js.
OpenAI Python SDK with a custom base URL: complete guide
Everything you need for production use: clients, streaming, async, timeouts, retries and error handling, with any model.
OpenAI Node.js SDK with a custom base URL: complete guide
Set up the openai npm package for any model: streaming, timeouts, retries, and a minimal Express endpoint.
Anthropic Python SDK: streaming and tool use with a custom base URL
Use the anthropic package with DEVSAIO for streaming responses and tool calling with Claude models.
Anthropic TypeScript SDK with a custom base URL
Call Claude from Node.js or edge runtimes with @anthropic-ai/sdk pointed at DEVSAIO, including streaming.
Call AI models from PHP (cURL, no libraries)
A dependency-free PHP function for chat completions, plus streaming output and error handling.
Call AI models from Go with net/http
A small, dependency-free Go client for chat completions with typed requests and responses.
Call AI models from Java with HttpClient
Use Java 11+'s built-in HttpClient to send chat requests to any model through DEVSAIO.
Call AI models from C# / .NET
Use HttpClient and System.Net.Http.Json to talk to any DEVSAIO model from .NET.
Call AI models from Rust with reqwest and serde
An async Rust example for chat completions against DEVSAIO, with proper error handling.
Call AI models from Ruby (net/http)
A small Ruby helper for chat completions with any DEVSAIO model, plus a Rails usage tip.