Skip to main content
Glama
test_model_selector.py335 B
from tools.cost.model_selector import choose_model_data_driven def test_choose_model_data_driven(): sel = choose_model_data_driven({ "zai:glm-4.5-flash": {"success_rate": 0.995, "p95_ms": 800}, "moonshot:kimi-k2-0711-preview": {"success_rate": 0.990, "p95_ms": 600}, }) assert sel == "zai:glm-4.5-flash"

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Zazzles2908/EX_AI-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server