https://ashllm.com/v1The environment
export OPENAI_BASE_URL=https://ashllm.com/v1
export OPENAI_API_KEY=sk-kn-...
codex --model glm-5.3-uncensoredThe base URL carries /v1 here, unlike the Anthropic one, because the Responses client adds only /responses.
What works
Input items, instructions, function tools, tool results, structured output and streaming all carry across, and a stream arrives as the real Responses event sequence, so the agent sees response.created, the output items, the text deltas and response.completed in order.
What does not
previous_response_id is refused with a clear error. Codex sends the full input every turn, so it loses nothing.
Hosted tools (web_search, file_search, computer_use) run inside OpenAI's own service rather than in a model, so no model here can run them. Function tools you define yourself work normally.