This guide walks you through setting up AI providers and creating model aliases for easy access.
gpt2099 uses a two-step provider setup:
- Enable providers - Store API keys for authentication
- Create aliases - Set up friendly names pointing to specific models
Store your API key and verify connectivity:
gpt provider enableThis will:
- Prompt you to select from available providers
- Ask for your API key
- Test the connection by querying available models
- Store the key for future use
Set up friendly aliases pointing to specific models:
gpt provider ptr milli --setThis will:
- Show your enabled providers
- Let you select a provider and model
- Create an alias you can use with
-p milli
Aliases reflect relative model capabilities:
nano < milli < kilo < giga
Add .r for reasoning-optimized variants:
milli.r- reasoning-optimized lightweight modelkilo.r- reasoning-optimized full-capability model
| Feature | Anthropic | Cerebras | Cohere | Gemini | OpenAI |
|---|---|---|---|---|---|
| Text conversations | yes | yes | yes | yes | yes |
| PDF analysis | yes | no | no | yes | yes |
| Image analysis | yes | no | yes* | yes | yes |
| Web search | yes | no | no | yes | no |
| MCP tools | yes | yes | yes | yes | yes |
| Tools + search together | yes | no | no | no | no |
| Document caching | yes | no | no | yes (auto) | yes |
Key limitations:
- Cerebras: No vision/PDF support; JSON schema fields (
format,minimum,nullable,$schema) recursively stripped from tools - Cohere: Vision and tools mutually exclusive (vision models support images but not tools; other models support tools but not images); no PDF support; no built-in web search
- Gemini: Cannot use custom MCP tools and web search in the same conversation
- OpenAI: No built-in web search support
After setup, your aliases might look like:
{
"milli": {
"provider": "anthropic",
"model": "claude-3-5-haiku-20241022"
},
"kilo": {
"provider": "openai",
"model": "gpt-4.1"
},
"milli.r": {
"provider": "openai",
"model": "o4-mini"
}
}Once configured, use aliases in your prompts:
"Hello world" | gpt -p milli
"Complex analysis task" | gpt -p kilo
"Step-by-step reasoning" | gpt -p milli.rSee the commands reference for the complete list of provider management commands, including:
gpt provider models- List available modelsgpt provider ptr- View current aliasesgpt provider enable- Add more providers