Skip to content

Glossary · Agents

OpenAI-compatible API

An OpenAI-compatible API accepts the same request and response format as OpenAI's Chat Completions endpoint, so existing SDKs and tools work with it by changing only the base URL and key.

Reviewed 15 November 2026

The de facto standard covers messages with roles, streaming over server-sent events, tool calls and response formats. Inference servers and many providers expose it so clients can switch models without code changes.

Kojen deploys trained agents behind OpenAI-compatible endpoints at /api/v1/endpoints/{deployment}/chat/completions, with real SSE streaming and tool calls forwarded.

Learn more on Kojen

Sources

  1. [1]OpenAI. Chat Completions API reference
  2. [2]Kojen. Kojen developer docs: REST API, MCP server and endpoints

All 31 terms

Put the definitions to work.

Kojen evaluates, tunes and red-teams your agents with these methods built in: Wilson intervals, pass^k, LLM judges with visible components. Free to start.

Start training free