Skip to content
BF16-AIPublic

About

Official zero-dependency Ruby SDK (bf16 gem) for bf16.ai 1M-context uncensored LLM API

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bf16 (Official Ruby SDK)

Zero-dependency Ruby client for bf16.ai — uncensored 1M-context open-weight LLM inference API (DeepSeek V4.1 Flash, GLM-5.3, Kimi K3.1 Pro) with automatic prompt caching and strict Zero Data Retention (ZDR).

Installation

gem install bf16

Quickstart

require "bf16"

client = Bf16::Client.new(api_key: ENV.fetch("BF16_API_KEY"))

response = client.chat(
  model: Bf16::MODEL_DEEPSEEK_V41_FLASH,
  messages: [{ role: "user", content: "Summarize this SQL migration safely." }]
)
puts response.dig("choices", 0, "message", "content")

Documentation & Links

About

Official zero-dependency Ruby SDK (bf16 gem) for bf16.ai 1M-context uncensored LLM API

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages