For AI agents: the complete documentation index is available at https://aioproxy.dev/llms.txt, the full documentation bundle is available at https://aioproxy.dev/llms-full.txt, and this page is available as Markdown at https://aioproxy.dev/guide/providers/api/openai-compatible.md.
  • English
  • OpenAI-Compatible Protocol (openai-compatible)

    The openai-compatible protocol connects to any service adhering to the OpenAI /v1/chat/completions specification.

    config.jsonc
    {
      "providers": {
        "deepseek": {
          "kind": "api",
          "protocol": "openai-compatible",
          "baseURL": "https://api.deepseek.com/v1",
          "apiKey": "{{env.DEEPSEEK_API_KEY}}",
          "models": ["deepseek-chat", "deepseek-reasoner"],
          "priority": 100,
        },
      },
    }

    Features

    • Full streaming SSE support.
    • Translates reasoning tokens (reasoning_content) for models like DeepSeek R1 into standard thought blocks.