elph-ai 0.0.27

Unified LLM API with provider collections, auth resolution, and streaming
Documentation
{
    "gemini-2.0-flash": {
        "api": "google-generative-ai",
        "baseUrl": "https://generativelanguage.googleapis.com/v1beta",
        "contextWindow": 1048576,
        "cost": {
            "cacheRead": 0.025,
            "cacheWrite": 0,
            "input": 0.1,
            "output": 0.4
        },
        "id": "gemini-2.0-flash",
        "input": ["text", "image"],
        "maxTokens": 8192,
        "name": "Gemini 2.0 Flash",
        "provider": "google",
        "reasoning": false
    },
    "gemini-2.0-flash-lite": {
        "api": "google-generative-ai",
        "baseUrl": "https://generativelanguage.googleapis.com/v1beta",
        "contextWindow": 1048576,
        "cost": {
            "cacheRead": 0,
            "cacheWrite": 0,
            "input": 0.075,
            "output": 0.3
        },
        "id": "gemini-2.0-flash-lite",
        "input": ["text", "image"],
        "maxTokens": 8192,
        "name": "Gemini 2.0 Flash-Lite",
        "provider": "google",
        "reasoning": false
    },
    "gemini-2.5-flash": {
        "api": "google-generative-ai",
        "baseUrl": "https://generativelanguage.googleapis.com/v1beta",
        "contextWindow": 1048576,
        "cost": {
            "cacheRead": 0.03,
            "cacheWrite": 0,
            "input": 0.3,
            "output": 2.5
        },
        "id": "gemini-2.5-flash",
        "input": ["text", "image"],
        "maxTokens": 65536,
        "name": "Gemini 2.5 Flash",
        "provider": "google",
        "reasoning": true
    },
    "gemini-2.5-flash-lite": {
        "api": "google-generative-ai",
        "baseUrl": "https://generativelanguage.googleapis.com/v1beta",
        "contextWindow": 1048576,
        "cost": {
            "cacheRead": 0.01,
            "cacheWrite": 0,
            "input": 0.1,
            "output": 0.4
        },
        "id": "gemini-2.5-flash-lite",
        "input": ["text", "image"],
        "maxTokens": 65536,
        "name": "Gemini 2.5 Flash-Lite",
        "provider": "google",
        "reasoning": true
    },
    "gemini-2.5-pro": {
        "api": "google-generative-ai",
        "baseUrl": "https://generativelanguage.googleapis.com/v1beta",
        "contextWindow": 1048576,
        "cost": {
            "cacheRead": 0.125,
            "cacheWrite": 0,
            "input": 1.25,
            "output": 10
        },
        "id": "gemini-2.5-pro",
        "input": ["text", "image"],
        "maxTokens": 65536,
        "name": "Gemini 2.5 Pro",
        "provider": "google",
        "reasoning": true
    },
    "gemini-3-flash-preview": {
        "api": "google-generative-ai",
        "baseUrl": "https://generativelanguage.googleapis.com/v1beta",
        "contextWindow": 1048576,
        "cost": {
            "cacheRead": 0.05,
            "cacheWrite": 0,
            "input": 0.5,
            "output": 3
        },
        "id": "gemini-3-flash-preview",
        "input": ["text", "image"],
        "maxTokens": 65536,
        "name": "Gemini 3 Flash Preview",
        "provider": "google",
        "reasoning": true,
        "thinkingLevelMap": {
            "off": null
        }
    },
    "gemini-3-pro-preview": {
        "api": "google-generative-ai",
        "baseUrl": "https://generativelanguage.googleapis.com/v1beta",
        "contextWindow": 1048576,
        "cost": {
            "cacheRead": 0.2,
            "cacheWrite": 0,
            "input": 2,
            "output": 12
        },
        "id": "gemini-3-pro-preview",
        "input": ["text", "image"],
        "maxTokens": 65536,
        "name": "Gemini 3 Pro Preview",
        "provider": "google",
        "reasoning": true,
        "thinkingLevelMap": {
            "high": "HIGH",
            "low": "LOW",
            "medium": null,
            "minimal": null,
            "off": null
        }
    },
    "gemini-3.1-flash-lite": {
        "api": "google-generative-ai",
        "baseUrl": "https://generativelanguage.googleapis.com/v1beta",
        "contextWindow": 1048576,
        "cost": {
            "cacheRead": 0.025,
            "cacheWrite": 0,
            "input": 0.25,
            "output": 1.5
        },
        "id": "gemini-3.1-flash-lite",
        "input": ["text", "image"],
        "maxTokens": 65536,
        "name": "Gemini 3.1 Flash Lite",
        "provider": "google",
        "reasoning": true,
        "thinkingLevelMap": {
            "off": null
        }
    },
    "gemini-3.1-flash-lite-preview": {
        "api": "google-generative-ai",
        "baseUrl": "https://generativelanguage.googleapis.com/v1beta",
        "contextWindow": 1048576,
        "cost": {
            "cacheRead": 0.025,
            "cacheWrite": 0,
            "input": 0.25,
            "output": 1.5
        },
        "id": "gemini-3.1-flash-lite-preview",
        "input": ["text", "image"],
        "maxTokens": 65536,
        "name": "Gemini 3.1 Flash Lite Preview",
        "provider": "google",
        "reasoning": true,
        "thinkingLevelMap": {
            "off": null
        }
    },
    "gemini-3.1-pro-preview": {
        "api": "google-generative-ai",
        "baseUrl": "https://generativelanguage.googleapis.com/v1beta",
        "contextWindow": 1048576,
        "cost": {
            "cacheRead": 0.2,
            "cacheWrite": 0,
            "input": 2,
            "output": 12
        },
        "id": "gemini-3.1-pro-preview",
        "input": ["text", "image"],
        "maxTokens": 65536,
        "name": "Gemini 3.1 Pro Preview",
        "provider": "google",
        "reasoning": true,
        "thinkingLevelMap": {
            "high": "HIGH",
            "low": "LOW",
            "medium": null,
            "minimal": null,
            "off": null
        }
    },
    "gemini-3.1-pro-preview-customtools": {
        "api": "google-generative-ai",
        "baseUrl": "https://generativelanguage.googleapis.com/v1beta",
        "contextWindow": 1048576,
        "cost": {
            "cacheRead": 0.2,
            "cacheWrite": 0,
            "input": 2,
            "output": 12
        },
        "id": "gemini-3.1-pro-preview-customtools",
        "input": ["text", "image"],
        "maxTokens": 65536,
        "name": "Gemini 3.1 Pro Preview Custom Tools",
        "provider": "google",
        "reasoning": true,
        "thinkingLevelMap": {
            "high": "HIGH",
            "low": "LOW",
            "medium": null,
            "minimal": null,
            "off": null
        }
    },
    "gemini-3.5-flash": {
        "api": "google-generative-ai",
        "baseUrl": "https://generativelanguage.googleapis.com/v1beta",
        "contextWindow": 1048576,
        "cost": {
            "cacheRead": 0.15,
            "cacheWrite": 0,
            "input": 1.5,
            "output": 9
        },
        "id": "gemini-3.5-flash",
        "input": ["text", "image"],
        "maxTokens": 65536,
        "name": "Gemini 3.5 Flash",
        "provider": "google",
        "reasoning": true,
        "thinkingLevelMap": {
            "off": null
        }
    },
    "gemini-flash-latest": {
        "api": "google-generative-ai",
        "baseUrl": "https://generativelanguage.googleapis.com/v1beta",
        "contextWindow": 1048576,
        "cost": {
            "cacheRead": 0.15,
            "cacheWrite": 0,
            "input": 1.5,
            "output": 9
        },
        "id": "gemini-flash-latest",
        "input": ["text", "image"],
        "maxTokens": 65536,
        "name": "Gemini Flash Latest",
        "provider": "google",
        "reasoning": true,
        "thinkingLevelMap": {
            "off": null
        }
    },
    "gemini-flash-lite-latest": {
        "api": "google-generative-ai",
        "baseUrl": "https://generativelanguage.googleapis.com/v1beta",
        "contextWindow": 1048576,
        "cost": {
            "cacheRead": 0.025,
            "cacheWrite": 0,
            "input": 0.25,
            "output": 1.5
        },
        "id": "gemini-flash-lite-latest",
        "input": ["text", "image"],
        "maxTokens": 65536,
        "name": "Gemini Flash-Lite Latest",
        "provider": "google",
        "reasoning": true,
        "thinkingLevelMap": {
            "off": null
        }
    },
    "gemma-4-26b-a4b-it": {
        "api": "google-generative-ai",
        "baseUrl": "https://generativelanguage.googleapis.com/v1beta",
        "contextWindow": 262144,
        "cost": {
            "cacheRead": 0,
            "cacheWrite": 0,
            "input": 0,
            "output": 0
        },
        "id": "gemma-4-26b-a4b-it",
        "input": ["text", "image"],
        "maxTokens": 32768,
        "name": "Gemma 4 26B A4B IT",
        "provider": "google",
        "reasoning": true,
        "thinkingLevelMap": {
            "high": "HIGH",
            "low": null,
            "medium": null,
            "minimal": "MINIMAL",
            "off": null
        }
    },
    "gemma-4-31b-it": {
        "api": "google-generative-ai",
        "baseUrl": "https://generativelanguage.googleapis.com/v1beta",
        "contextWindow": 262144,
        "cost": {
            "cacheRead": 0,
            "cacheWrite": 0,
            "input": 0,
            "output": 0
        },
        "id": "gemma-4-31b-it",
        "input": ["text", "image"],
        "maxTokens": 32768,
        "name": "Gemma 4 31B IT",
        "provider": "google",
        "reasoning": true,
        "thinkingLevelMap": {
            "high": "HIGH",
            "low": null,
            "medium": null,
            "minimal": "MINIMAL",
            "off": null
        }
    }
}