Back to directory

Deepseek-Go

A Go client library for the DeepSeek platform, providing streaming chat completions, thinking-mode reasoning, tool calling, fill-in-the-middle completion, structured JSON output, and an Anthropic-compatible endpoint.

Deepseek-Go

Deepseek-Go is a type-safe Go API client for DeepSeek's V4 models. Its chat-completion support includes streaming and token usage tracking, an Anthropic-compatible client for content blocks, tool use and streaming, configurable chain-of-thought thinking mode with a selectable reasoning effort, function calling in standard and strict modes, fill-in-the-middle completions for code generation, and JSON output with schema extraction through a ResponseFormat type.

It also reaches external OpenAI-compatible providers such as OpenRouter, Azure and Ollama, offers account balance and model-listing calls, and includes client-side token estimation for both Chinese and English text. The current model, deepseek-v4-flash, supports a 1M-token context and up to 384K output tokens; the older deepseek-chat alias is deprecated.

More in Libraries

See all 292
  • OpenDecision

    deepanwadhwa.github.io

    An open-source Python package that answers typed questions about application state or documents using a local natural-language-inference model, returning structured choice, score, yes/no or evidence-relation values instead of free text.

  • TradeCanvas

    bonguynvan.github.io

    A zero-dependency canvas charting engine for building TradingView-style trading charts in JavaScript, with 66 technical indicators, 24 drawing tools, 17 chart types, and real-time streaming.

  • 3d retro graphics

    3d-retro.com

    A free, CC0-licensed library of copy-paste retro 3D and demoscene graphics effects, such as plasma, raytracing, and voxel terrain, runnable as WebGL 1 or plain 2D canvas.