Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors
TypeScript a2aai-agentsai-gatewayanthropicclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminikimillm-gatewaymcpopenaiopenai-proxyqwentoken-saver
-- 135_migrate_model_capability_max_token.sql
-- `max_token` historically meant the maximum output token count. Promote legacy
-- rows to the explicit `max_output_tokens` key without replacing an operator's
-- existing modern value, then remove the retired key.
INSERT INTO model_capability_overrides (
provider,
model_id,
override_key,
override_value,
refreshed_at
)
SELECT
provider,
model_id,
'max_output_tokens',
override_value,
refreshed_at
FROM model_capability_overrides
WHERE override_key = 'max_token'
ON CONFLICT (provider, model_id, override_key) DO NOTHING;
DELETE FROM model_capability_overrides
WHERE override_key = 'max_token';