Guides to Claude Code, Cursor, Codex and the Claude and GPT APIs: setup, token savings and troubleshooting.
6 min · · development
A working script for a batch of thousands of requests: capped concurrency, retries only where they help, and token and cost accounting.
5 min · · development
How to build a cascade: the cheap model answers first, hard cases go to the strong one. Python code, threshold calibration and a cost formula.
5 min · · models
How to call GPT-6.1 Sol with a Zukko key, what it costs, how to check caching via cached_tokens, and which models to compare it with.
5 min · · экономия
Claude answers in both formats, but only the Anthropic format gives the cache discount. The cost difference and how to switch your code and tools.
7 min · · экономия
What the bill is made of when prompt caching works: fresh input, cache reads, cache writes and output. The formula and two examples at current prices.
7 min · · development
LobeChat, now LobeHub, works with any OpenAI-compatible API. We cover setup in the UI and via env, a cost estimate and the usual errors.
5 min · · development
Cherry Studio connects third-party APIs as providers. Here is what to put in API Host, how to add models, and why you must switch the provider on.
5 min · · development
Chatbox lets you add your own provider with your own key. We cover the API Host and API Path fields, adding models and typical errors.
5 min · · development
LibreChat connects third-party providers through librechat.yaml. Here is a ready config for Zukko, the Docker mount and the usual errors.
6 min · · development
Open WebUI works with any OpenAI-compatible API. Here is the launch command, the Connections setup, a cost estimate and a list of common errors.
4 min · · development
Twenty lines of code and one API key, and Claude or GPT is answering in a Discord channel. A working example plus the errors that show up under load.
4 min · · development
A key baked into a mobile binary ends up in someone else's hands sooner or later. A backend-proxy architecture with working Kotlin, Swift, and Node examples.
4 min · · development
stream: true is not for every case. Here is how to read the event stream, where it actually matters, and what usually breaks in it.
3 min · · development
Most system prompts fail not because of the model but because of the wording. Here is what actually changes behavior and what models just ignore.
5 min · · API
When you need to know exactly what each client or project cost, clicking through a dashboard does not scale. Here is how to pull the full history through the API.
4 min · · API
The dashboard shows a balance, but it will not aggregate spend by model and day the way you actually need. Here is how to build one from three API data sources.
4 min · · агенты
An agent is not a library, it is a three-step loop. Building a minimal working example on the raw API, no framework required.
4 min · · development
Manually parsing invoices, receipts, and forms doesn't scale. How to hand that work to a vision model and get valid JSON back.
5 min · · development
RAG doesn't have to start with a vector database. Here's a minimal scheme: when a long context window is enough, and when you actually need retrieval.
4 min · · development
Setting up Claude in GitHub Actions to comment on pull requests, without double-charging on job retries or blowing the budget on one huge diff.
4 min · · models
Instead of a ranking of "the best model for Python," a working method — run the same task through several models and compare honestly, on your own tests.
4 min · · development
The tool-calling format depends on the endpoint you hit, not the model behind it. Comparing /v1/messages, /v1/chat/completions and /v1/responses.
3 min · · development
Building a minimal Telegram bot with aiogram that calls Claude or GPT through the gateway. Full code, plus what to do about balance and rate-limit errors right in the chat.
4 min · · development
In LangChain it comes down to one parameter — base_url. Exact code for ChatOpenAI and ChatAnthropic to reach Claude, GPT and GLM through the gateway.