How to connect
Ready settings for every tool. Copy, paste, carry on: the rest of your code stays yours.
The essentials in three lines
- Address
- https://api.solbon-api.com/v1
- Header
- Authorization: Bearer mk-live-ВАШ_КЛЮЧ
- Sample model
- claude-fable-5-1
You create the key in your cabinet. Claude Code wants the root address without /v1: it appends the path itself.
Claude Code
Follows the Anthropic standard: it needs the root address, without /v1.
terminalexport ANTHROPIC_BASE_URL="https://api.solbon-api.com"
export ANTHROPIC_AUTH_TOKEN="mk-live-ВАШ_КЛЮЧ"
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC="1"
claudeCursor
Settings → Models → OpenAI API Key → Override base URL.
settingsBase URL: https://api.solbon-api.com/v1
API Key: mk-live-ВАШ_КЛЮЧ
Model: claude-fable-5-1Cline и Roo Code
Pick the OpenAI Compatible provider in settings.
settingsAPI Provider: OpenAI Compatible
Base URL: https://api.solbon-api.com/v1
API Key: mk-live-ВАШ_КЛЮЧ
Model ID: claude-fable-5-1Codex CLI
Add the provider to ~/.codex/config.toml.
~/.codex/config.tomlmodel = "claude-fable-5-1"
model_provider = "sol"
[model_providers.sol]
name = "Sol API"
base_url = "https://api.solbon-api.com/v1"
env_key = "SOL_API_KEY"
wire_api = "responses"Python, OpenAI SDK
Only the address and the key change, the rest of the code stays.
pythonfrom openai import OpenAI
client = OpenAI(
api_key="mk-live-ВАШ_КЛЮЧ",
base_url="https://api.solbon-api.com/v1",
)
r = client.chat.completions.create(
model="claude-fable-5-1",
messages=[{"role": "user", "content": "Привет"}],
)
print(r.choices[0].message.content)Node.js, OpenAI SDK
The same for JavaScript and TypeScript.
javascriptimport OpenAI from "openai";
const client = new OpenAI({
apiKey: "mk-live-ВАШ_КЛЮЧ",
baseURL: "https://api.solbon-api.com/v1",
});
const r = await client.chat.completions.create({
model: "claude-fable-5-1",
messages: [{ role: "user", content: "Привет" }],
});
console.log(r.choices[0].message.content);curl
Check the key without installing anything.
terminalcurl https://api.solbon-api.com/v1/chat/completions \
-H "Authorization: Bearer mk-live-ВАШ_КЛЮЧ" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-fable-5-1",
"messages": [{"role": "user", "content": "Привет"}]
}'The key takes a minute
Create an account, top up from $5, and the settings above start working.
Get API key