Framework

LangChain.
Wired to Utopixel.

Use Utopixel models in LangChain with ChatOpenAI. Set the base URL and every chain, agent and tool works as before.

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

3 steps. About a minute.

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

pythonmain.py
from langchain_openai import ChatOpenAI
llm = ChatOpenAI(
model="google/gemini-4-carbon",
base_url="https://utopixel.online/api/v1",
api_key="sk-vb-...",
)
print(llm.invoke("Hello, how are you?").content)
  1. 01

    Install langchain-openai.

  2. 02

    Create ChatOpenAI with the Utopixel base URL, your key and a model id.

  3. 03

    Use it anywhere LangChain takes a chat model.

  • Good to know

    In LangChain JS, pass the URL as configuration: { baseURL: "https://utopixel.online/api/v1" } to ChatOpenAI and set OPENAI_API_KEY to your Utopixel key.

  • Good to know

    ChatOpenAI follows the official OpenAI format, so it drops provider specific reasoning fields from responses.

Every setting above comes from LangChain's official docs

Models

What to run. All with tool calls.

Paste any of these ids into LangChain. 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 LangChain 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.