flatkey.ai

flatkey.ai Blog

Insights, product notes, and implementation guides for teams building on AI APIs.

KV Cache Offload and Tiering for Long-Context LLM Serving
Cost, Billing, and Ops

KV Cache Offload and Tiering for Long-Context LLM Serving

KV cache offload and tiering guide for long-context LLM serving with vLLM and TensorRT-LLM.

Oct 16, 2026Flatkey Team
Self-Hosted LLM Cost per Million Tokens: A Reproducible GPU Cost Model
Cost, Billing, and Ops

Self-Hosted LLM Cost per Million Tokens: A Reproducible GPU Cost Model

A reproducible model for calculating self-hosted LLM serving cost from fully loaded GPU capacity, accepted throughput, utilization, and quality.

Oct 16, 2026Flatkey
Build a Kubernetes GPU Cluster for AI Training and Inference
Cost, Billing, and Ops

Build a Kubernetes GPU Cluster for AI Training and Inference

A practical Kubernetes GPU cluster guide for AI training and inference, covering GPU node pools, device plugins, GPU Operator, queueing, storage, observability, security, cost controls, and provider due diligence.

Oct 16, 2026Flatkey Team
ComfyUI on a Cloud GPU: Setup, Storage, and Cost Guide
Cost, Billing, and Ops

ComfyUI on a Cloud GPU: Setup, Storage, and Cost Guide

A practical guide to deploying ComfyUI on a cloud GPU with persistent storage, private access, workload-based GPU selection, and cost controls.

Oct 16, 2026Cxj
Speculative Decoding for LLM Inference: Throughput Gains and Tradeoffs
Model and Modality Playbooks

Speculative Decoding for LLM Inference: Throughput Gains and Tradeoffs

A practical guide to speculative decoding for LLM inference: how it works, when it helps, how EAGLE and Medusa differ, and what to benchmark before rollout.

Oct 16, 2026Flatkey Team
vLLM Expert Parallel Deployment for DeepSeek and Other MoE Models
Cost, Billing, and Ops

vLLM Expert Parallel Deployment for DeepSeek and Other MoE Models

Deploy vLLM expert parallel for DeepSeek and other MoE models with the right flags, topology, backend checks, and rollout tests.

Oct 16, 2026Cxj
Ollama Cloud GPU: Run a Secure Remote API Server
Cost, Billing, and Ops

Ollama Cloud GPU: Run a Secure Remote API Server

A secure Docker and HTTPS-proxy workflow for running Ollama on a cloud GPU and serving a remote /api or OpenAI-compatible /v1 endpoint.

Oct 16, 2026Flatkey Team
Self-Hosted LLM Guide (2026): When It Pays Off, What Hardware You Need, and How to Serve It
Cost, Billing, and Ops

Self-Hosted LLM Guide (2026): When It Pays Off, What Hardware You Need, and How to Serve It

A self-hosted LLM runs open-weight models on GPUs you control. Learn when it beats per-token API pricing (with October 2026 GPU rates), how to size GPU memory, which serving tool to pick, and how to deploy an OpenAI-compatible vLLM server with a fallback.

Oct 14, 2026Flatkey Team
32B and 70B Model VRAM Guide: Single-GPU and Multi-GPU Options
Cost, Billing, and Ops

32B and 70B Model VRAM Guide: Single-GPU and Multi-GPU Options

Learn practical 32B and 70B model VRAM requirements for 4-bit, 8-bit, FP16/BF16 inference, Ollama, QLoRA fine-tuning, and multi-GPU options.

Oct 14, 2026Flatkey Team
Error "API Key Not Found in Cookies": 6 Ways to Fix It
Enterprise Controls and Trust

Error "API Key Not Found in Cookies": 6 Ways to Fix It

Fix API Key Not Found in Cookies and common API key not working failures with cookie checks, Bearer-token setup, proxy debugging, and key rotation.

Oct 13, 2026Flatkey Team
Best GPU for LLM Training: Scale, Memory, Networking, and Budget
Cost, Billing, and Ops

Best GPU for LLM Training: Scale, Memory, Networking, and Budget

A practical 2026 guide to choosing the best GPU for LLM training by scale, memory, networking, provider fit, and cost per finished checkpoint.

Oct 13, 2026Flatkey
Which Free LLM Is Best for Coding? Tested on Claude Code, Cline, and Roo Code
Tool Integrations

Which Free LLM Is Best for Coding? Tested on Claude Code, Cline, and Roo Code

A practical compatibility guide to free LLM APIs for coding agents, covering Claude Code, Cline, Roo Code, tool calling, base URLs, and quota caveats.

Oct 13, 2026Flatkey Team
TensorRT-LLM vs vLLM: Performance, Portability, and Maintenance
Cost, Billing, and Ops

TensorRT-LLM vs vLLM: Performance, Portability, and Maintenance

A practical TensorRT-LLM vs vLLM comparison for AI infrastructure teams choosing an LLM serving engine across performance, portability, maintenance, and benchmark design.

Oct 13, 2026Flatkey Team
vLLM Multi-GPU Inference: Tensor and Pipeline Parallel Setup
Cost, Billing, and Ops

vLLM Multi-GPU Inference: Tensor and Pipeline Parallel Setup

Set up vLLM multi GPU inference with tensor parallelism, pipeline parallelism, Ray, topology checks, examples, and production tests.

Oct 13, 2026Flatkey Team
NVLink vs NVSwitch: GPU Interconnects Explained for AI Clusters
Cost, Billing, and Ops

NVLink vs NVSwitch: GPU Interconnects Explained for AI Clusters

NVLink is the GPU-to-GPU link, NVSwitch is the fabric, and InfiniBand or Ethernet is the scale-out network. Here is how to choose for AI clusters.

Oct 13, 2026Flatkey Team
LLM GPU Memory Requirements: Weights, KV Cache, Activations, and Overhead
Cost, Billing, and Ops

LLM GPU Memory Requirements: Weights, KV Cache, Activations, and Overhead

A practical worksheet for estimating LLM GPU memory requirements across weights, KV cache, activations, serving overhead, vLLM 70B planning, fine-tuning, and training.

Oct 13, 2026Flatkey Team
RTX PRO 6000 vs L40S: 96GB Blackwell or Ada Inference GPU?
Cost, Billing, and Ops

RTX PRO 6000 vs L40S: 96GB Blackwell or Ada Inference GPU?

Compare NVIDIA L40S vs RTX PRO 6000 Blackwell Server Edition for LLM inference, multimodal workloads, memory fit, power, and accepted-output cost.

Oct 13, 2026Flatkey Team
H100 SXM vs PCIe: NVLink, Power, Performance, and Rental Cost
Cost, Billing, and Ops

H100 SXM vs PCIe: NVLink, Power, Performance, and Rental Cost

Compare H100 PCIe vs SXM for NVLink, power consumption, workload performance, and rental cost before renting cloud GPUs.

Oct 13, 2026Flatkey Team

Build faster with one AI gateway.

Use flatkey.ai to manage models, keys, billing, and observability from one API platform.

Get started