Coding agent

Pi.
With Gemini inside.

Pi is a minimal open source coding agent for the terminal. Add Utopixel as a provider in models.json and run it on any model with one key.

base_urlhttps://utopixel.online/api/v1Get a key
Setup

4 steps. About a minute.

You need a Utopixel API key. Create one, add credit, and keep it handy.

  1. 01

    Add the utopixel provider below to ~/.pi/agent/models.json. If the file already has other providers, add only the utopixel entry inside providers.

  2. 02

    Export your key as UTOPIXEL_API_KEY. The $UTOPIXEL_API_KEY value in apiKey tells Pi to read the key from that variable.

  3. 03

    Check the setup with pi --list-models utopixel. Pi only lists the models once the key variable is set.

  4. 04

    Start Pi with pi --provider utopixel --model google/gemini-4-carbon, or run one prompt with pi --provider utopixel --model google/gemini-4-carbon -p "your prompt".

json~/.pi/agent/models.json
{
"$schema": "https://pi.dev/schemas/models.schema.json",
"providers": {
"utopixel": {
"name": "Utopixel",
"baseUrl": "https://utopixel.online/api/v1",
"api": "openai-completions",
"apiKey": "$UTOPIXEL_API_KEY",
"models": [
{ "id": "google/gemini-4-carbon", "contextWindow": 1048576 }
]
}
}
}
  • Good to know

    Add one object to models per Utopixel model you want, and take contextWindow from the model page. Pi assumes 16384 output tokens unless you set maxTokens.

  • Good to know

    Inside Pi, /model reloads models.json and lets you switch between the Utopixel models. Press Ctrl+S there to make one the default.

  • Good to know

    Pi works through tool calls, so pick models whose page lists tools among the supported parameters.

Every setting above comes from Pi's official docs

Models

What to run. All with tool calls.

Paste any of these ids into Pi. Prices are per 1M tokens, pay as you go.

Model idInputOutputContext
Gemini 4 Carbongoogle/gemini-4-carbon$4.00$20.001.05M
Gemini 4 Argongoogle/gemini-4-argon$4.00$20.001.05M
GPT-6.1 Solopenai/gpt-6.1-sol$2.00$10.001.05M
Grok 4.7x-ai/grok-4.7$2.00$6.00500K
More tools

Same key. Everywhere.

Stuck on setup? Email [email protected] with the error you see and we will help you get Pi running.

Start building in minutes.

One API key for the models of OpenAI, Google, DeepSeek, Moonshot AI, Qwen, xAI, Z.ai, Meta, Amazon, AionLabs, Anthropic, Baidu, ByteDance Seed, Cohere, Elorian, Fireworks AI, IBM, inclusionAI, Inference.net, KT, Liquid AI, Meituan, Meta, MiniMax, Mistral AI, Moondream, Motif Technologies, Nex AGI, NVIDIA, Particle AI, Perceptron, Prism ML, Reflection AI, Reka, Relace, Ricursive AI, Sakana AI, StepFun, Tencent, Thinking Machines, Unbiased, Upstage, Writer and Xiaomi. Start free, no card needed.