Google GeminiUse Google Gemini models with Nexus — vision, embeddings, and tool calling.Copy MarkdownOpenThe Gemini provider connects to the Google Generative Language API. It uses a custom API format (contents[], generateContent endpoint) with API key authentication. Installation import "github.com/xraph/nexus/providers/gemini" Quick Start provider := gemini.New(os.Getenv("GEMINI_API_KEY")) gw := nexus.New( nexus.WithProvider(provider), ) Options OptionDescriptiongemini.WithBaseURL(url)Override the API base URL (default: https://generativelanguage.googleapis.com) Capabilities CapabilitySupportedChatYesStreamingYesEmbeddingsYesVisionYesToolsYesThinkingNo Models ModelContextMax OutputInput PriceOutput Pricegemini-2.0-flash1M8,192$0.10/M$0.40/Mgemini-2.0-flash-lite1M8,192$0.075/M$0.30/Mgemini-1.5-pro2M8,192$1.25/M$5.00/Mgemini-1.5-flash1M8,192$0.075/M$0.30/Mtext-embedding-0042,048—$0.025/M—AnthropicUse Anthropic Claude models with Nexus — vision, tools, and extended thinking.CohereUse Cohere Command and Embed models with Nexus — native embeddings with input types.