Skip to content
STIRUP

TECHNOLOGY INTELLIGENCE

Understand what's next.

Spinf-serve Installation, Performance, and Model Support

Spinf-serve can be installed via pip or Docker, supports multiple models including Gemma 4 12B and Qwen3.8 27B, and achieves high throughput for bulk scoring tasks on an RTX 4090.

Share
AI-generated conceptual illustration accompanying: Spinf-serve Installation, Performance, and Model Support
AI-generated editorial illustration of the article topic; not a photograph, product screenshot or measured result.

Installation and Deployment Options

Installation of Spinf-serve can be done via pip with the command pip install "spinf-serve[server]", followed by spinf-serve serve spinf/gemma-4-12b-fp8 to start the server, which downloads the model checkpoint on first launch and serves on port 8000. Alternatively, users can deploy using Docker with the NVIDIA Container Toolkit, running docker run --gpus all -p 8000:8000 -v spinf-cache:/root/.cache ghcr.io/spinfinc/spinf-serve, with arguments passed after the image name as with the local command. For cloud deployment, the same client body can be directed to api.spinf.com with an API key, and the OpenAI SDKs can be used through the /v1/chat/completions endpoint with the scoring block specified in extra_body (quickstart). A client can switch between the local server and the cloud API by modifying the base URL and API key.

Performance and Efficiency

The performance and efficiency of Spinf-serve were evaluated on an RTX 4090 using the Gemma 4 12B model in fp8 precision. According to the evidence, it processed 24 Wikinews articles (approximately 470 tokens each) and 56 two-option questions, totaling 1,344 questions, over HTTP. Spinf-serve demonstrated a distinct approach by organizing the 56 questions as branches of a single read and packing the 24 articles into two 16k-token passes, unlike other systems that process each question individually. In practice, Spinf-serve achieved a throughput of about 20,000 messages per hour for the spinf/moderation pack (106 questions per message, 22 categories) and handled a news article with 74 questions at nearly 700 questions per second. These results highlight Spinf-serve’s ability to optimize inference workloads for bulk scoring and decision-making tasks.

Model Support and Configuration

The Spinf-serve inference server supports multiple models, each optimized for specific tasks and hardware requirements. The default model, spinf/gemma-4-12b-fp8, is based on Google Gemma 4 12B with FP8 quantization and runs on a 24 GB GPU, handling text, images, audio, and video inputs. A larger variant, spinf/gemma-4-31b-fp8, requires a 48 GB GPU and supports similar input types. For specialized tasks, spinf/qwen3.8-27b-int4 and spinf/pplx-decider-v1-27b-int4 are available, with the latter being a decision model that outputs 255-code readouts and processes text only. All models are quantized and calibrated, with their configurations published on the Hugging Face Hub. The server preloads packs, such as spinf/moderation, which provide categories and decisions alongside user questions, all derived from the same input read.

Development and Testing

The development and testing of Spinf-serve involve a rigorous process to ensure consistency and reliability. The project uses uv sync --extra server for dependency management and uv run pytest for CPU-based testing, which relies on specific fixture files stored in the ../spinf-prompts directory or referenced via the SPINF_PROMPTS_DIR environment variable. Code quality is enforced with uv run ruff check .. For GPU testing, the spinf-serve parity command is used with specific fixture files, such as fixtures/wikinews_20261024.json.gz and fixtures/wikinews_20261024.spinf-gemma-4-12b-fp8.json.gz, to ensure bit-identical log-probabilities across published checkpoints. According to the project's documentation, any change affecting a kernel, compile boundary, or quantization scheme must pass these GPU parity runs. Dependencies are strictly pinned and only updated in conjunction with a successful parity run, ensuring stability and reproducibility.

Comparison with Other Systems

Spinf-serve distinguishes itself by focusing on bulk scoring and decision-making tasks, contrasting with systems like Jev (TypeSafe AI, 2026) and Microsoft-Decision-1 (Microsoft, 2026), which support multiple question types per input, including boolean, choice, and ordered scores, each with associated probabilities. The OpenAI Decisions API, noted for its speed and calibration, outperforms GPT-6 Luna but shows a lower success rate on long-horizon tasks, according to arxiv.org. System1-Arena highlights a key difference: while generative LLMs produce text, other models return decision probabilities directly, enabling clearer identification of decision capabilities. Spinf-serve’s design aligns with this latter approach, emphasizing efficiency and accuracy for bulk processing scenarios.

Sources and reporting notes

Based on published source material. No independent hands-on testing is claimed.

Read more