Skip to content

Instantly share code, notes, and snippets.

@womd
Created March 17, 2026 07:44
Show Gist options
  • Select an option

  • Save womd/868ad6cf0b18dc6c49d883e61f11e8a3 to your computer and use it in GitHub Desktop.

Select an option

Save womd/868ad6cf0b18dc6c49d883e61f11e8a3 to your computer and use it in GitHub Desktop.
use codex with meingpt.com
config.toml:
[openai]
# Base URL must point to meinGPT's OpenAI-compatible endpoint
base_url = "https://app.meingpt.com/api/openai/v1"
# Model to use (example). Replace with a model ID available in your meinGPT org
model = "gpt-4o-mini"
# Optionally override request defaults
temperature = 0.2
stream = true
timeout_seconds = 120
#
# Authentication: prefer environment variable for security
# Set in your shell: export OPENAI_API_KEY="your_meinGPT_api_key"
use_env_api_key = true
# If your CLI lacks env support, uncomment the next line and paste your key (not recommended)
api_key = "your_meinGPT_api_key"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment