Skip to main content
Glama
test_cost_optimizer.py271 B
from tools.cost.cost_optimizer import choose_model def test_cost_optimizer_rules(): assert choose_model({"has_images": True}).startswith("zai:") assert choose_model({"long_context": True}).startswith("moonshot:") assert choose_model({}).startswith("zai:")

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