CONNECTIONS
Your tools.
Connected.
Bring ModelMesh to the tools you already use. Choose your tool and model, then follow a setup made for your workflow.
Create an API keyResponses API
Connect Codex CLI
- 01
Install Codex CLI
Install the CLI, or skip this step if Codex is already installed. Follow the official documentation for platform requirements.
Terminalnpm install -g @openai/codex - 02
Set your key for this terminal
The CLI reads MODELMESH_API_KEY from its environment. Keep your key out of your repository.
PowerShell$env:MODELMESH_API_KEY = 'YOUR_MODELMESH_KEY' - 03
Add your ModelMesh provider
Merge these settings into your user-level file. Keep the model and model_provider settings above all TOML tables. Preserve any other settings you already use.
~/.codex/config.tomlmodel = "YOUR_MODEL_ID" model_provider = "modelmesh" [model_providers.modelmesh] name = "ModelMesh" base_url = "https://www.modelmesh.in/api/v1" env_key = "MODELMESH_API_KEY" wire_api = "responses" requires_openai_auth = false supports_websockets = false - 04
Open Codex
Run Codex from the same terminal. Requests use the Responses endpoint; built-in OpenAI features may differ with a custom provider.
Terminalcodex - 05
Check your first request
Start with a small prompt, then review Usage and Request logs in your dashboard. Coding tools need a model with tool-calling support. A successful response confirms this tool and model work together.