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
-- 194_proxy_logs_attempt_timing.sql
-- Per-attempt upstream timing on proxy_logs: send start -> response headers
-- received (headers_ms) and send start -> first useful body byte of the raw
-- upstream body (first_chunk_ms). Additive: NULL for legacy rows, for sends
-- that never reached the network, and until the first byte arrives on slow
-- streams (updated later via the owned db module). No index: not a query
-- dimension.
ALTER TABLE proxy_logs ADD COLUMN headers_ms INTEGER DEFAULT NULL;
ALTER TABLE proxy_logs ADD COLUMN first_chunk_ms INTEGER DEFAULT NULL;