elph-ai 0.0.28

Unified LLM API with provider collections, auth resolution, and streaming
Documentation
{
    "deepseek-v4-flash": {
        "api": "openai-completions",
        "baseUrl": "https://opencode.ai/zen/go/v1",
        "compat": {
            "maxTokensField": "max_tokens",
            "requiresReasoningContentOnAssistantMessages": true,
            "supportsDeveloperRole": false,
            "supportsStore": false,
            "thinkingFormat": "deepseek"
        },
        "contextWindow": 1000000,
        "cost": {
            "cacheRead": 0.0028,
            "cacheWrite": 0,
            "input": 0.14,
            "output": 0.28
        },
        "id": "deepseek-v4-flash",
        "input": ["text"],
        "maxTokens": 384000,
        "name": "DeepSeek V4 Flash",
        "provider": "opencode-go",
        "reasoning": true,
        "thinkingLevelMap": {
            "high": "high",
            "low": null,
            "max": "max",
            "medium": null,
            "minimal": null
        }
    },
    "deepseek-v4-pro": {
        "api": "openai-completions",
        "baseUrl": "https://opencode.ai/zen/go/v1",
        "compat": {
            "maxTokensField": "max_tokens",
            "requiresReasoningContentOnAssistantMessages": true,
            "supportsDeveloperRole": false,
            "supportsStore": false,
            "thinkingFormat": "deepseek"
        },
        "contextWindow": 1000000,
        "cost": {
            "cacheRead": 0.003625,
            "cacheWrite": 0,
            "input": 0.435,
            "output": 0.87
        },
        "id": "deepseek-v4-pro",
        "input": ["text"],
        "maxTokens": 384000,
        "name": "DeepSeek V4 Pro",
        "provider": "opencode-go",
        "reasoning": true,
        "thinkingLevelMap": {
            "high": "high",
            "low": null,
            "max": "max",
            "medium": null,
            "minimal": null
        }
    },
    "glm-5.1": {
        "api": "openai-completions",
        "baseUrl": "https://opencode.ai/zen/go/v1",
        "compat": {
            "maxTokensField": "max_tokens",
            "supportsDeveloperRole": false,
            "supportsStore": false
        },
        "contextWindow": 202752,
        "cost": {
            "cacheRead": 0.26,
            "cacheWrite": 0,
            "input": 1.4,
            "output": 4.4
        },
        "id": "glm-5.1",
        "input": ["text"],
        "maxTokens": 32768,
        "name": "GLM-5.1",
        "provider": "opencode-go",
        "reasoning": true
    },
    "glm-5.2": {
        "api": "openai-completions",
        "baseUrl": "https://opencode.ai/zen/go/v1",
        "compat": {
            "maxTokensField": "max_tokens",
            "supportsDeveloperRole": false,
            "supportsStore": false
        },
        "contextWindow": 1000000,
        "cost": {
            "cacheRead": 0.26,
            "cacheWrite": 0,
            "input": 1.4,
            "output": 4.4
        },
        "id": "glm-5.2",
        "input": ["text"],
        "maxTokens": 131072,
        "name": "GLM-5.2",
        "provider": "opencode-go",
        "reasoning": true,
        "thinkingLevelMap": {
            "high": "high",
            "low": null,
            "max": "max",
            "medium": null,
            "minimal": null,
            "off": null
        }
    },
    "grok-4.5": {
        "api": "openai-responses",
        "baseUrl": "https://opencode.ai/zen/go/v1",
        "contextWindow": 500000,
        "cost": {
            "cacheRead": 0.5,
            "cacheWrite": 0,
            "input": 2,
            "output": 6
        },
        "id": "grok-4.5",
        "input": ["text", "image"],
        "maxTokens": 500000,
        "name": "Grok 4.5",
        "provider": "opencode-go",
        "reasoning": true
    },
    "hy3": {
        "api": "openai-completions",
        "baseUrl": "https://opencode.ai/zen/go/v1",
        "compat": {
            "maxTokensField": "max_tokens",
            "supportsDeveloperRole": false,
            "supportsStore": false
        },
        "contextWindow": 256000,
        "cost": {
            "cacheRead": 0.035,
            "cacheWrite": 0,
            "input": 0.14,
            "output": 0.58
        },
        "id": "hy3",
        "input": ["text"],
        "maxTokens": 64000,
        "name": "Hy3",
        "provider": "opencode-go",
        "reasoning": true
    },
    "kimi-k2.6": {
        "api": "openai-completions",
        "baseUrl": "https://opencode.ai/zen/go/v1",
        "compat": {
            "maxTokensField": "max_tokens",
            "supportsDeveloperRole": false,
            "supportsLongCacheRetention": false,
            "supportsReasoningEffort": false,
            "supportsStore": false,
            "thinkingFormat": "deepseek"
        },
        "contextWindow": 262144,
        "cost": {
            "cacheRead": 0.16,
            "cacheWrite": 0,
            "input": 0.95,
            "output": 4
        },
        "id": "kimi-k2.6",
        "input": ["text", "image"],
        "maxTokens": 65536,
        "name": "Kimi K2.6",
        "provider": "opencode-go",
        "reasoning": true,
        "thinkingLevelMap": {
            "low": null,
            "medium": null,
            "minimal": null
        }
    },
    "kimi-k2.7-code": {
        "api": "openai-completions",
        "baseUrl": "https://opencode.ai/zen/go/v1",
        "compat": {
            "maxTokensField": "max_tokens",
            "supportsDeveloperRole": false,
            "supportsStore": false
        },
        "contextWindow": 262144,
        "cost": {
            "cacheRead": 0.19,
            "cacheWrite": 0,
            "input": 0.95,
            "output": 4
        },
        "id": "kimi-k2.7-code",
        "input": ["text", "image"],
        "maxTokens": 262144,
        "name": "Kimi K2.7 Code",
        "provider": "opencode-go",
        "reasoning": true
    },
    "kimi-k3": {
        "api": "openai-completions",
        "baseUrl": "https://opencode.ai/zen/go/v1",
        "compat": {
            "maxTokensField": "max_tokens",
            "supportsDeveloperRole": false,
            "supportsStore": false
        },
        "contextWindow": 1048576,
        "cost": {
            "cacheRead": 0.3,
            "cacheWrite": 0,
            "input": 3,
            "output": 15
        },
        "id": "kimi-k3",
        "input": ["text", "image"],
        "maxTokens": 131072,
        "name": "Kimi K3 (2x usage)",
        "provider": "opencode-go",
        "reasoning": true
    },
    "mimo-v2.5": {
        "api": "openai-completions",
        "baseUrl": "https://opencode.ai/zen/go/v1",
        "compat": {
            "maxTokensField": "max_tokens",
            "supportsDeveloperRole": false,
            "supportsStore": false
        },
        "contextWindow": 1000000,
        "cost": {
            "cacheRead": 0.0028,
            "cacheWrite": 0,
            "input": 0.14,
            "output": 0.28
        },
        "id": "mimo-v2.5",
        "input": ["text", "image"],
        "maxTokens": 128000,
        "name": "MiMo V2.5",
        "provider": "opencode-go",
        "reasoning": true
    },
    "mimo-v2.5-pro": {
        "api": "openai-completions",
        "baseUrl": "https://opencode.ai/zen/go/v1",
        "compat": {
            "maxTokensField": "max_tokens",
            "supportsDeveloperRole": false,
            "supportsStore": false
        },
        "contextWindow": 1048576,
        "cost": {
            "cacheRead": 0.003625,
            "cacheWrite": 0,
            "input": 0.435,
            "output": 0.87
        },
        "id": "mimo-v2.5-pro",
        "input": ["text"],
        "maxTokens": 128000,
        "name": "MiMo V2.5 Pro",
        "provider": "opencode-go",
        "reasoning": true
    },
    "minimax-m2.7": {
        "api": "openai-completions",
        "baseUrl": "https://opencode.ai/zen/go/v1",
        "compat": {
            "maxTokensField": "max_tokens",
            "supportsDeveloperRole": false,
            "supportsStore": false
        },
        "contextWindow": 204800,
        "cost": {
            "cacheRead": 0.06,
            "cacheWrite": 0,
            "input": 0.3,
            "output": 1.2
        },
        "id": "minimax-m2.7",
        "input": ["text"],
        "maxTokens": 131072,
        "name": "MiniMax-M2.7",
        "provider": "opencode-go",
        "reasoning": true
    },
    "minimax-m3": {
        "api": "anthropic-messages",
        "baseUrl": "https://opencode.ai/zen/go",
        "contextWindow": 1000000,
        "cost": {
            "cacheRead": 0.06,
            "cacheWrite": 0,
            "input": 0.3,
            "output": 1.2
        },
        "id": "minimax-m3",
        "input": ["text", "image"],
        "maxTokens": 131072,
        "name": "MiniMax-M3",
        "provider": "opencode-go",
        "reasoning": true
    },
    "qwen3.6-plus": {
        "api": "openai-completions",
        "baseUrl": "https://opencode.ai/zen/go/v1",
        "compat": {
            "maxTokensField": "max_tokens",
            "supportsDeveloperRole": false,
            "supportsStore": false,
            "thinkingFormat": "qwen"
        },
        "contextWindow": 1000000,
        "cost": {
            "cacheRead": 0.05,
            "cacheWrite": 0.625,
            "input": 0.5,
            "output": 3
        },
        "id": "qwen3.6-plus",
        "input": ["text", "image"],
        "maxTokens": 65536,
        "name": "Qwen3.6 Plus",
        "provider": "opencode-go",
        "reasoning": true
    },
    "qwen3.7-max": {
        "api": "anthropic-messages",
        "baseUrl": "https://opencode.ai/zen/go",
        "contextWindow": 1000000,
        "cost": {
            "cacheRead": 0.5,
            "cacheWrite": 3.125,
            "input": 2.5,
            "output": 7.5
        },
        "id": "qwen3.7-max",
        "input": ["text"],
        "maxTokens": 65536,
        "name": "Qwen3.7 Max",
        "provider": "opencode-go",
        "reasoning": true
    },
    "qwen3.7-plus": {
        "api": "anthropic-messages",
        "baseUrl": "https://opencode.ai/zen/go",
        "contextWindow": 1000000,
        "cost": {
            "cacheRead": 0.04,
            "cacheWrite": 0.5,
            "input": 0.4,
            "output": 1.6
        },
        "id": "qwen3.7-plus",
        "input": ["text", "image"],
        "maxTokens": 65536,
        "name": "Qwen3.7 Plus",
        "provider": "opencode-go",
        "reasoning": true
    }
}