---
title: "Discussion on \"How to set up OpenAI Codex with LiteLLM\" | Hashnode"
description: "Discussion on \"How to set up OpenAI Codex with LiteLLM\". This guide connects OpenAI Codex to a LiteLLM proxy, one you run yourself or one your team already hosts. Codex reads one base URL out of a config file, so pointing it at LiteLLM gives you:\n\nAny model"
url: "https://hashnode.com/posts/how-to-set-up-openai-codex-with-litellm/6aa19573d0f0fc3cf4107791"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to set up OpenAI Codex with LiteLLM](https://misbahsy.hashnode.dev/how-to-set-up-openai-codex-with-litellm?utm_source=hashnode&utm_medium=feed)

This guide connects OpenAI Codex to a LiteLLM proxy, one you run yourself or one your team already hosts. Codex reads one base URL out of a config file, so pointing it at LiteLLM gives you: Any model

Sep 9 · 7 min read · misbahsy.hashnode.dev  
Updated Sep 11  
Read the article

-   [#litellm](https://hashnode.com/tag/litellm)
-   [#codex](https://hashnode.com/tag/codex)
-   [#openai](https://hashnode.com/tag/openai)

## Written by

[Misbah Syed](https://hashnode.com/@misbahsy)

@misbahsy · Vancouver, Canada

  
[View profile](https://hashnode.com/@misbahsy)

AI and Developer Relations

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
