Framework

Vercel AI SDK.
Any model you like.

Use Utopixel models in the Vercel AI SDK with the OpenAI compatible provider. generateText, streamText and tools work unchanged.

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.

typescriptindex.ts
import { createOpenAICompatible } from "@ai-sdk/openai-compatible";
import { generateText } from "ai";
const utopixel = createOpenAICompatible({
name: "utopixel",
apiKey: process.env.UTOPIXEL_API_KEY,
baseURL: "https://utopixel.online/api/v1",
includeUsage: true,
});
const { text } = await generateText({
model: utopixel("google/gemini-4-carbon"),
prompt: "Write a haiku about APIs.",
});
  1. 01

    Install @ai-sdk/openai-compatible.

  2. 02

    Create a provider with the Utopixel base URL and your key.

  3. 03

    Pass utopixel("model id") wherever the SDK takes a model.

  • Good to know

    includeUsage: true returns token usage on streamed responses too.

Every setting above comes from Vercel AI SDK's official docs

Models

What to run. All with tool calls.

Paste any of these ids into Vercel AI SDK. 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 Vercel AI SDK 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.