CLIChat / LLM$4.38/M tokens

Use Gemini 2.5 Pro in Codex CLI

Connect the Gemini 2.5 Pro API to Codex CLI through SkillBoss — one API key, no provider lock-in. Starting at $4.38/M tokens.

Google Gemini 2.5 Pro via OpenRouter - Advanced reasoning with 1M token context window, ideal for complex analysis and code generation

Setup in Codex CLI

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

Model Specs

Model
Gemini 2.5 Pro
Type
Chat / LLM
Vendor
google
Category
chat-llm
Pricing
$4.38/M tokens
API ID
google/gemini-2.5-pro

Quick Start Code

Call Gemini 2.5 Pro from Codex 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": "google/gemini-2.5-pro",
    "messages": [{"role": "user", "content": "Hello from Codex CLI"}]
  }'

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

Similar Models for Codex CLI

Use Gemini 2.5 Pro in Other Agents

FAQ

How do I use Gemini 2.5 Pro in Codex CLI?

Sign up at skillboss.co, get an API key, and configure Codex CLI to use the SkillBoss API endpoint (https://api.skillboss.co/v1). Set the model to google/gemini-2.5-pro and you're ready to go.

How much does Gemini 2.5 Pro cost?

Gemini 2.5 Pro costs $4.38/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.