CLIChat / LLM$7.50/M tokens

Use Claude 4 Sonnet in Gemini CLI

Connect the Claude 4 Sonnet API to Gemini CLI through SkillBoss — one API key, no provider lock-in. Starting at $7.50/M tokens.

Claude 4 series balanced model. Ideal for general programming, content generation, and everyday conversations requiring balance of speed and accuracy.

Setup in Gemini CLI

  1. Sign up at skillboss.co and create an API key.
  2. Configure Gemini CLI to use the SkillBoss API endpoint: https://api.skillboss.co/v1
  3. Set the model to claude-4-sonnet
  4. Run your first request — Claude 4 Sonnet is now available in Gemini CLI.

Model Specs

Model
Claude 4 Sonnet
Type
Chat / LLM
Vendor
anthropic
Category
chat-llm
Pricing
$7.50/M tokens
API ID
claude-4-sonnet

Quick Start Code

Call Claude 4 Sonnet from Gemini CLI using the SkillBoss unified API:

curl -X POST 'https://api.skillboss.co/v1/chat/completions' \
  -H 'Authorization: Bearer $SKILLBOSS_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "claude-4-sonnet",
    "messages": [{"role": "user", "content": "Hello from Gemini CLI"}]
  }'

The same API key works with all 600+ models. Change the model parameter to switch instantly.

Similar Models for Gemini CLI

Use Claude 4 Sonnet in Other Agents

FAQ

How do I use Claude 4 Sonnet in Gemini CLI?

Sign up at skillboss.co, get an API key, and configure Gemini CLI to use the SkillBoss API endpoint (https://api.skillboss.co/v1). Set the model to claude-4-sonnet and you're ready to go.

How much does Claude 4 Sonnet cost?

Claude 4 Sonnet costs $7.50/M tokens via SkillBoss with pay-as-you-go billing. No subscription required.

Can I switch to another model without changing my code?

Yes — SkillBoss provides a unified API compatible with OpenAI format. Change the model parameter to switch between 600+ models instantly without modifying your integration.