Skip to content

Use codex credential in claude code #16

Closed

Description

@ducan-ne

Is it possible to use codex model in claude code? The documentation is not clear about this

Activity

  1. CaddyGlow commented on Sep 3, 2025

    @CaddyGlow
    Owner

    @ducan-ne, it's possible. However, the current version doesn't fully support this. I plan to check it out tonight myself. Basically, right now, I only expose the Codex API's /response endpoint, similar to Claude.

    I have an adapter for /chat/completions, but I'm thinking I could also create a similar adapter for the /messages endpoint found in Anthropic's API.

    The big issue is that Codex's authentication prompt is pretty big and we can't truncate it like we can with Claude Code. This means it's going to pollute the context with bad instructions.

    I'll definitely give it a shot!

  2. CaddyGlow commented on Oct 2, 2025

    @CaddyGlow
    Owner

    Made some good progress on it in dev/v0.2, but it's currently not working. The OpenAI backend is returning an internal error, which makes it more difficult to pinpoint where in the request translation I made an error.

  3. alioshr commented on Jan 24, 2026

    @alioshr

    hey had any progress?

  4. CaddyGlow commented on Apr 13, 2026

    @CaddyGlow
    Owner

    Fixed in #59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions