{"repo":"cohesion-org/deepseek-go","free":true,"listed":false,"github":"https://github.com/cohesion-org/deepseek-go","clone":"git clone https://github.com/cohesion-org/deepseek-go.git","description":"Go SDK for DeepSeek V4 API — chat, reasoning, Anthropic-compatible endpoint, tool calling, FIM, and streaming. Also supports OpenRouter, Azure, Ollama, and OpenAI-compatible providers.","language":"Go","stars":342,"topics":["api","deepseek","go","golang","ollama","openrouter","ai","deepseek-api","deepseek-v4","golang-library"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Deepseek-Go Deepseek-Go is a Go-based API client for the Deepseek platform. It provides a clean and type-safe interface to interact with Deepseek's AI features, including chat completions with streaming, token usage tracking, and more. Installation deepseek-go currently uses go 1.26.0 Features - Chat Completion : Send chat messages and receive responses from DeepSeek's V4 models with streaming support. - Anthropic API : Full Anthropic-compatible endpoint support via NewAnthropicClient with content blocks, tool use, and streaming. - Thinking Mode : Chain-of-thought reasoning with configurable reasoning effort ( \"high\" / \"max\" ). - Tool Calling : Function calling with standard and strict mode (beta, with automatic /beta routing). - FIM Completion : Fill-in-the-Middle completions for code generation, with streaming. - JSON Output : Structured JSON output with schema extraction via ResponseFormat . - External Providers : OpenRouter, Azure, Ollama, and any OpenAI-compatible endpoint. - Balance & Models : Check account balance and list available models. - Token Estimation : Client-side token counting for Chinese and English text. - Modular Design : Reusable components for building, sending, and handling requests and responses. - MIT License : Open-source and free for both personal and commercial use. For API status and uptime, refer to the DeepSeek Status page. Contents - Installation - Features - Getting Started - Supported Models - External Providers - Examples - Getting a DeepSe","default_branch":null,"files":null,"tree":[],"storefront":"/r/cohesion-org","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cohesion-org/deepseek-go/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."}