Created
September 18, 2025 05:35
-
-
Save laiso/75f220d7fbdc16e1eceb2c0bbefe1fc3 to your computer and use it in GitHub Desktop.
multi providers for codex-cli: codex -c "model_provider=groq" --model openai/gpt-oss-120b
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[model_providers.openrouter] | |
name = "OpenRouter" | |
base_url = "https://openrouter.ai/api/v1" | |
env_key = "OPENROUTER_API_KEY" | |
[model_providers.anthropic] | |
name = "Anthropic" | |
base_url = "https://api.anthropic.com/v1" | |
env_key = "ANTHROPIC_API_KEY" | |
[model_providers.groq] | |
name = "Groq" | |
base_url = "https://api.groq.com/openai/v1" | |
env_key = "GROQ_API_KEY" | |
[model_providers.cerebras] | |
name = "Cerebras" | |
base_url = "https://api.cerebras.ai/v1" | |
env_key = "CEREBRAS_API_KEY" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment