Docs
Overview
Configure your AI model for Mikoshi
Mikoshi uses LiteLLM for model compatibility, supporting 100+ LLM providers.
Configuration
Set your model and API key:
| Model | Provider | Configuration |
|---|---|---|
| GLM-5.3 (recommended) | Vercel AI Gateway | vercel_ai_gateway/zai/glm-5.3 |
| GLM-5.3 (recommended) | OpenRouter | openrouter/z-ai/glm-5.3 |
| GPT-6.1 Sol | OpenAI | openai/gpt-6.1-sol |
| Claude Opus 5.5 | Anthropic | anthropic/claude-opus-5-5 |
| Claude Sonnet 5.5 | Anthropic | anthropic/claude-sonnet-5-5 |
| Gemini 4 Argon | Google Vertex | vertex_ai/gemini-4-argon |
| DeepSeek V4.1 Flash | DeepSeek | deepseek/deepseek-flash |
| DeepSeek V4 Pro | DeepSeek | deepseek/deepseek-v4-pro |
| Kimi K3.1 Pro | Moonshot | moonshot/kimi-k3.1-pro |
Vercel AI Gateway
export MIKOSHI_LLM="vercel_ai_gateway/zai/glm-5.3"
export LLM_API_KEY="your-api-key"OpenRouter
export MIKOSHI_LLM="openrouter/z-ai/glm-5.3"
export LLM_API_KEY="your-api-key"Local Models
Run models locally with Ollama, LM Studio, or any OpenAI-compatible server:
bash
export MIKOSHI_LLM="ollama/llama4"
export LLM_API_BASE="http://localhost:11434"See the Local Models guide for setup instructions and recommended models.
Provider Guides
OpenAI
GPT-5.4 models.
AnthropicClaude Opus, Sonnet, and Haiku.
OpenRouterAccess 100+ models through a single API.
Vercel AI GatewayAccess 100+ models through one OpenAI-compatible endpoint.
Google Vertex AIGemini 3 models via Google Cloud.
AWS BedrockClaude and Titan models via AWS.
Azure OpenAIGPT-5.4 via Azure.
Local ModelsLlama 4, Mistral, and self-hosted models.
Model Format
Use LiteLLM's provider/model-name format:
text
openrouter/z-ai/glm-5.3
openai/gpt-6.1-sol
anthropic/claude-sonnet-5-5
vertex_ai/gemini-4-argon
bedrock/us.anthropic.claude-sonnet-5-5
ollama/llama4