OpenAI Pass-through
pass-through

Openai Proxy Route

Pass-through endpoint for OpenAI API calls.

Available on both routes:

  • /openai/{endpoint:path} - Standard OpenAI passthrough route
  • /openai_passthrough/{endpoint:path} - Dedicated passthrough route (recommended for Responses API)

Use /openai_passthrough/* when you need guaranteed passthrough to OpenAI without conflicts with LiteLLM's native implementations (e.g., for the Responses API at /v1/responses).

Examples: Standard route: - /openai/v1/chat/completions - /openai/v1/assistants - /openai/v1/threads

Dedicated passthrough (for Responses API):
- /openai_passthrough/v1/responses
- /openai_passthrough/v1/responses/{response_id}
- /openai_passthrough/v1/responses/{response_id}/input_items

Docs

put/openai_passthrough/{endpoint}

Path parameters

endpointstring required

Response

Successful Response

{"stackTrail":"paths:/openai_passthrough/{endpoint}:put:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

Changed in 20 of the 25 revisions of this API.20

    • api operation id openai_proxy_route_openai_passthrough__endpoint__patch removed and replaced with openai_proxy_route_openai_passthrough__endpoint__put

      api-operation-id-removed

    • api operation id openai_proxy_route_openai_passthrough__endpoint__get removed and replaced with openai_proxy_route_openai_passthrough__endpoint__patch

      api-operation-id-removed

    • api operation id openai_proxy_route_openai_passthrough__endpoint__post removed and replaced with openai_proxy_route_openai_passthrough__endpoint__get

      api-operation-id-removed

    • api operation id openai_proxy_route_openai_passthrough__endpoint__delete removed and replaced with openai_proxy_route_openai_passthrough__endpoint__post

      api-operation-id-removed

    • api operation id openai_proxy_route_openai_passthrough__endpoint__put removed and replaced with openai_proxy_route_openai_passthrough__endpoint__delete

      api-operation-id-removed

    • api operation id openai_proxy_route_openai_passthrough__endpoint__delete removed and replaced with openai_proxy_route_openai_passthrough__endpoint__put

      api-operation-id-removed

    • api operation id openai_proxy_route_openai_passthrough__endpoint__put removed and replaced with openai_proxy_route_openai_passthrough__endpoint__delete

      api-operation-id-removed

    • api operation id openai_proxy_route_openai_passthrough__endpoint__get removed and replaced with openai_proxy_route_openai_passthrough__endpoint__put

      api-operation-id-removed

    • api operation id openai_proxy_route_openai_passthrough__endpoint__delete removed and replaced with openai_proxy_route_openai_passthrough__endpoint__get

      api-operation-id-removed

    • api operation id openai_proxy_route_openai_passthrough__endpoint__patch removed and replaced with openai_proxy_route_openai_passthrough__endpoint__delete

      api-operation-id-removed