Skip to main content

OpenAI Compatible Proxy: API Reference

LLMGrid provides an OpenAI‑compatible proxy, allowing you to use existing OpenAI SDKs and tooling without changing your application logic. To use LLMGrid, simply replace the base_url in your SDK configuration with your LLMGrid proxy endpoint.

Compatibility Overview

The LLMGrid proxy is fully compatible with the OpenAI API surface, including:
  • Chat completions
  • Embeddings
  • Streaming responses
  • Tool / function calling
  • SDK‑based clients
This enables seamless integration with:
  • OpenAI SDKs
  • Popular orchestration frameworks
  • Custom applications built on OpenAI‑style APIs

SDK Examples

OpenAI Python SDK