Inference providers
Moonshot AI models are served only through third-party inference providers, not a Moonshot AI API.
Write the canonical model name, such as
kimi-k2.5, everywhere in Guild. Guild maps it to each provider’s own model ID.
Models
Guild prices and recognizes these Moonshot AI model IDs. A policy or preference can also name any other model your credential can reach.Set up Moonshot AI
Guild has no managed key for Moonshot AI. To use Moonshot AI models, add a credential for a provider that serves them. Adding your first credential switches the whole account to bring your own key (BYOK).1
Open Models & providers
Click Access & setup in the left nav, then Models & providers. In an organization, only admins can open it.
2
Add a credential
Click Add API key and choose an inference provider from the table above.
3
Enter the provider's secret
Give the credential a Name and paste your provider’s API key. AWS Bedrock asks for an IAM role and region instead.
4
Choose Moonshot AI
Under Models, check Moonshot AI. Keep
kimi-k2.5 as its default model or enter another from the list above. Then click Add Key.--models "kimi-*" limits a policy to matching models:
Use it from an agent
Agent code never names a credential. Guild resolves the call against the workspace owner’s settings. To ask for Moonshot AI explicitly, put it inllmPreferences:
kimi-k2-thinking. The second falls back to the default model of the matching policy. Preferences are strict: if no credential or policy allows any of them, the call fails rather than using another publisher. See LLM preferences.
The
"moonshot" provider value needs @guildai/agents-sdk 0.7.6 or later.Related pages
- Models & providers for credentials, model policies, and the daily token limit
- LLMs for
task.llmand the unified LLM proxy - Usage for spend by model