{"repo":"reVrost/go-openrouter","free":true,"listed":false,"github":"https://github.com/reVrost/go-openrouter","clone":"git clone https://github.com/reVrost/go-openrouter.git","description":"Unofficial API SDK for openrouter.ai in go","language":"Go","stars":127,"topics":["ai","api","api-client","golang","llm","openai","openrouter","openrouter-api","openrouter-go","sdk"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"Go Openrouter This library provides unofficial Go client for Openrouter API Installation Getting an Openrouter API Key: 1. Visit the openrouter website at https://openrouter.ai/docs/quick-start. 2. If you don't have an account, click on \"Sign Up\" to create one. If you do, click \"Log In\". 3. Once logged in, navigate to your API key management page. 4. Click on \"Create new secret key\". 5. Enter a name for your new key, then click \"Create secret key\". 6. Your new API key will be displayed. Use this key to interact with the openrouter API. Note: Your API key is sensitive information. Do not share it with anyone. For deepseek models, sometimes its better to use openrouter integration feature and pass in your own API key into the control panel for better performance, as openrouter will use your API key to make requests to the underlying model which potentially avoids shared rate limits. ⚡BYOK (Bring your own keys) gets 1 million free requests per month! https://openrouter.ai/announcements/1-million-free-byok-requests-per-month Features https://openrouter.ai/docs/api-reference/overview - [x] Chat Completion - [x] Completion - [x] Streaming - [x] Embeddings - [x] Reasoning - [x] Tool calling - [x] Structured outputs - [x] Prompt caching - [x] Response caching - [x] Web search - [x] Multimodal [Images, PDFs, Audio] - [x] Text-to-speech - [x] Speech-to-text transcription - [x] Usage fields Usage Chat completion Streaming chat completion Chat completion with model fallback Use CreateCha","default_branch":null,"files":null,"tree":[],"storefront":"/r/reVrost","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/reVrost/go-openrouter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}