Skip to content

Add Kilo Gateway free models support for --tool agent#1283

Merged
konard merged 4 commits intomainfrom
issue-1282-390d6296c74a
Feb 13, 2026
Merged

Add Kilo Gateway free models support for --tool agent#1283
konard merged 4 commits intomainfrom
issue-1282-390d6296c74a

Conversation

@konard
Copy link
Contributor

@konard konard commented Feb 13, 2026

Summary

This PR adds support for Kilo Gateway free models in hive-mind, enabling users to access 6 additional free AI models through the --tool agent option.

What's Changed

  • Added 6 Kilo Gateway free models to model validation and mapping
  • Updated documentation with comprehensive Kilo models guide
  • Created case study for research and analysis
  • Updated tests to cover all 11 free models (5 OpenCode + 6 Kilo)

New Kilo Free Models

All Kilo models use the kilo/ prefix for consistency:

Model Model ID Provider Description
GLM-5 kilo/glm-5-free Z.AI Flagship model (free limited time)
GLM 4.7 kilo/glm-4.7-free Z.AI Agent-centric model
Kimi K2.5 kilo/kimi-k2.5-free MoonshotAI Agentic capabilities
MiniMax M2.1 kilo/minimax-m2.1-free MiniMax General-purpose
Giga Potato kilo/giga-potato-free - Evaluation model
Trinity Large kilo/trinity-large-preview Arcee AI Preview model

Usage

Command Line

solve https://github.com/owner/repo/issues/123 --tool agent --model kilo/glm-5-free
hive https://github.com/owner/repo --tool agent --model kilo/glm-4.7-free

Telegram Bot

/solve https://github.com/owner/repo/issues/123 --tool agent --model kilo/glm-5-free
/hive https://github.com/owner/repo --tool agent --model kilo/glm-4.7-free

Test Plan

  • All existing tests pass
  • New Kilo model tests added and passing
  • Model validation works for full IDs
  • Case-insensitive model names work correctly
  • Linting passes

Related

Sources


Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

Adding CLAUDE.md with task information for AI processing.
This file will be removed when the task is complete.

Issue: #1282
@konard konard self-assigned this Feb 13, 2026
Add support for 6 free models from Kilo Gateway:
- kilo/glm-5-free (Z.AI flagship, free limited time)
- kilo/glm-4.7-free (Z.AI agent-centric)
- kilo/kimi-k2.5-free (MoonshotAI agentic)
- kilo/minimax-m2.1-free (MiniMax general-purpose)
- kilo/giga-potato-free (evaluation model)
- kilo/trinity-large-preview (Arcee AI preview)

Changes:
- Add Kilo models to AGENT_MODELS in model-validation.lib.mjs
- Add Kilo models to agentModels in model-mapping.lib.mjs
- Update FREE_MODELS.md with comprehensive Kilo documentation
- Add Kilo usage examples to README.md
- Create case study for issue #1282
- Update test-free-models.mjs with Kilo model tests

Fixes #1282

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@konard konard changed the title [WIP] Ensure we have support for new kilo models of Agent CLI (our --tool agent) Add Kilo Gateway free models support for --tool agent Feb 13, 2026
@konard konard marked this pull request as ready for review February 13, 2026 22:01
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@konard
Copy link
Contributor Author

konard commented Feb 13, 2026

🤖 Solution Draft Log

This log file contains the complete execution trace of the AI solution draft process.

💰 Cost estimation:

  • Public pricing estimate: $5.334864
  • Calculated by Anthropic: $3.476066 USD
  • Difference: $-1.858798 (-34.84%)
    📎 Log file uploaded as Gist (779KB)
    🔗 View complete solution draft log

Now working session is ended, feel free to review and add any feedback on the solution draft.

@konard
Copy link
Contributor Author

konard commented Feb 13, 2026

  'glm-5-free': 'kilo/glm-5-free', // Z.AI flagship model (free limited time)
  'kilo-glm-5-free': 'kilo/glm-5-free',
  'kilo-glm-4.7-free': 'kilo/glm-4.7-free', // Z.AI agent-centric model
  'kilo-kimi-k2.5-free': 'kilo/kimi-k2.5-free', // MoonshotAI agentic model
  'kilo-minimax-m2.1-free': 'kilo/minimax-m2.1-free', // MiniMax general-purpose
  'kilo-giga-potato-free': 'kilo/giga-potato-free', // Evaluation model
  'kilo-trinity-large-preview': 'kilo/trinity-large-preview', // Arcee AI preview

No need to add these kilo/glm-5-free and so on with a / is enough. No need to create so many more names for the models.

  'kilo/glm-5-free': 'kilo/glm-5-free',
  'kilo/glm-4.7-free': 'kilo/glm-4.7-free',
  'kilo/kimi-k2.5-free': 'kilo/kimi-k2.5-free',
  'kilo/minimax-m2.1-free': 'kilo/minimax-m2.1-free',
  'kilo/giga-potato-free': 'kilo/giga-potato-free',
  'kilo/trinity-large-preview': 'kilo/trinity-large-preview',

These are enough for now.

@konard konard marked this pull request as draft February 13, 2026 22:05
@konard
Copy link
Contributor Author

konard commented Feb 13, 2026

🤖 AI Work Session Started

Starting automated work session at 2026-02-13T22:05:15.957Z

The PR has been converted to draft mode while work is in progress.

This comment marks the beginning of an AI work session. Please wait for the session to finish, and provide your feedback.

Remove extra short aliases (glm-5-free, kilo-glm-5-free, etc.) for Kilo models.
Now only the full kilo/ prefixed versions are supported for consistency.

Changes:
- Removed duplicate and short aliases for Kilo models
- Updated tests to use only kilo/ prefixed model IDs
- Updated documentation to reflect simplified naming
- All tests and linting pass

Related: PR #1283 review feedback

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@konard konard marked this pull request as ready for review February 13, 2026 22:17
@konard
Copy link
Contributor Author

konard commented Feb 13, 2026

Feedback addressed

Changes made based on PR review feedback:

  1. Removed extra short aliases - Simplified model naming by removing aliases like glm-5-free, kilo-glm-5-free, etc.
  2. Kept only kilo/ prefixed versions - All 6 Kilo models now use consistent kilo/ prefix (e.g., kilo/glm-5-free)
  3. Updated tests - All tests pass with simplified aliases
  4. Updated documentation - FREE_MODELS.md reflects the new naming convention
  5. Linting passes - All ESLint checks pass

Summary of supported Kilo models:

  • kilo/glm-5-free
  • kilo/glm-4.7-free
  • kilo/kimi-k2.5-free
  • kilo/minimax-m2.1-free
  • kilo/giga-potato-free
  • kilo/trinity-large-preview

All local tests and linting pass ✅
CI is running: https://github.com/link-assistant/hive-mind/actions/runs/22004548577

Ready for review! 🚀

@konard
Copy link
Contributor Author

konard commented Feb 13, 2026

🤖 Solution Draft Log

This log file contains the complete execution trace of the AI solution draft process.

💰 Cost estimation:

  • Public pricing estimate: $1.982085
  • Calculated by Anthropic: $2.198380 USD
  • Difference: $0.216295 (+10.91%)
    📎 Log file uploaded as Gist (515KB)
    🔗 View complete solution draft log

Now working session is ended, feel free to review and add any feedback on the solution draft.

@konard konard merged commit 49e095d into main Feb 13, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ensure we have support for new kilo models of Agent CLI (our --tool agent)

1 participant