Support for Azure chat completions non-openai models

Resolved 💬 2 comments Opened May 7, 2026 by bhavyajoshi-mahindra Closed May 7, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What variant of Codex are you using?

CLI

What feature would you like to see?

Request support to use Azure Kimi-K2.6 chat completions model in OpenAI Codex CLI.

Codex version used : codex-cli 0.128.0

config.toml used:

model = "Kimi-K2.6" # Replace with your actual deployment name from Azure
model_provider = "azure"
model_reasoning_effort = "high"

[model_providers.azure]
name = "Azure AI Foundry Inference"
# For .services.ai.azure.com, the base_url must stop before '/models'
base_url = "https://xx-dev-resource.services.ai.azure.com"
env_key = "AZURE_OPENAI_API_KEY"
wire_api = "responses"

Response:

Model metadata for `Kimi-K2.5` not found. Defaulting to fallback metadata; this can degrade performance and
  cause issues.

Additional information

_No response_

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 3 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #21070

Powered by Codex Action

etraut-openai contributor · 3 months ago

Codex no longer supports the chat/completions endpoint. We deprecated that several months ago.