Qoder2Api v1.1.0 - Enhanced Reliability and Transparency
QODER2API v1.1.0 - Enhanced Reliability and Transparency
Significant improvements to stream reliability, response accuracy, and observability.
π What's New
- Reliable stream termination β proper detection of stream end vs connection drop; no more masked aborts
- Honest finish reasons β
lengthno longer misreported asstop; Anthropicmax_tokenscorrectly set - Real usage metrics β actual token counts (prompt/completion/reasoning/cached) and credits instead of zeros
- Reasoning transparency β model's thinking now visible:
reasoning_contentin OpenAI format,thinkingblocks in Anthropic format - Single-binary release β templates and
.env.exampleembedded viago:embed, auto-extracted on first run; GitHub release works out of the box - 5-minute idle timeout β long generations no longer killed, only truly stalled connections
π₯ Downloads
Main API Server
| Platform | Download | Size |
|---|---|---|
| Windows x64 | qoder2api-windows-amd64.exe |
~7.2 MB |
| Linux x64 | qoder2api-linux-amd64 |
~7.0 MB |
| macOS Intel | qoder2api-macos-amd64 |
~7.1 MB |
| macOS Apple Silicon | qoder2api-macos-arm64 |
~6.6 MB |
π Quick Start
# Download and run
./qoder2api-*
# Dashboard: http://localhost:8963
# API: http://localhost:8963/v1π§ IDE Configuration
Base URL: http://localhost:8963/v1
API Key: any non-empty string (configured in .env)
Model: qwen3.8-max (or any real Qoder model name)
Model names are passed through to Qoder β clients configure real Qoder model names directly.
π Changelog
Full Changelog: v1.0.0...v1.1.0
Key Changes
Stream Reliability:
- Proper terminator detection (
[DONE]envelope,event:finish,event:error) - EOF without terminator now returns error instead of success
- Idle timeout increased to 5 minutes for long generations
Response Accuracy:
- Real
finish_reasonfrom upstream (no morelengthβstopconversion) - Anthropic:
stop_reason: max_tokenswhen appropriate - Actual token usage: prompt/completion/reasoning/cached tokens + credits
- Include usage in streaming responses (OpenAI convention)
Reasoning Visibility:
- OpenAI:
delta.reasoning_contentin stream,message.reasoning_contentin non-stream - Anthropic:
thinkingcontent blocks (extended thinking spec)
Distribution:
- Templates embedded via
go:embed, auto-extracted on first run - Single binary works out of the box from GitHub releases
π Documentation
- README: English | Π ΡΡΡΠΊΠΈΠΉ
- Repository: https://github.com/D3-vin/Qoder2Api
π± Contact
- Telegram: @D3_vin
- Author: @D3vin_dev